LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: PostgreSQL 13devel Lines: 324300 436012 74.4 %
Date: 2020-02-27 19:06:28 Functions: 19281 22575 85.4 %
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 %

Directory Sort by name Line Coverage Sort by line coverage Functions Sort by function coverage
contrib/adminpack
46.6%46.6%
46.6 % 81 / 174 70.8 % 17 / 24
contrib/amcheck
68.9%68.9%
68.9 % 357 / 518 92.9 % 26 / 28
contrib/auth_delay
0.0%
0.0 % 0 / 12 0.0 % 0 / 3
contrib/auto_explain
0.0%
0.0 % 0 / 102 0.0 % 0 / 7
contrib/bloom
90.6%90.6%
90.6 % 464 / 512 96.7 % 29 / 30
contrib/btree_gin
93.2%93.2%
93.2 % 179 / 192 100.0 % 202 / 202
contrib/btree_gist
96.1%96.1%
96.1 % 2029 / 2112 98.4 % 499 / 507
contrib/citext
100.0%
100.0 % 156 / 156 100.0 % 35 / 35
contrib/cube
87.3%87.3%
87.3 % 904 / 1036 96.0 % 95 / 99
contrib/dblink
86.3%86.3%
86.3 % 941 / 1090 97.4 % 74 / 76
contrib/dict_int
84.4%84.4%
84.4 % 27 / 32 100.0 % 5 / 5
contrib/dict_xsyn
96.2%96.2%
96.2 % 100 / 104 100.0 % 8 / 8
contrib/earthdistance
90.9%90.9%
90.9 % 20 / 22 100.0 % 5 / 5
contrib/file_fdw
76.1%76.1%
76.1 % 239 / 314 90.9 % 20 / 22
contrib/fuzzystrmatch
25.5%25.5%
25.5 % 235 / 921 82.9 % 29 / 35
contrib/hstore
82.7%82.7%
82.7 % 1376 / 1663 75.5 % 120 / 159
contrib/hstore_plperl
100.0%
100.0 % 58 / 58 100.0 % 6 / 6
contrib/hstore_plpython
95.3%95.3%
95.3 % 61 / 64 100.0 % 6 / 6
contrib/intarray
89.8%89.8%
89.8 % 1290 / 1437 92.4 % 133 / 144
contrib/isn
75.8%75.8%
75.8 % 382 / 504 88.9 % 40 / 45
contrib/jsonb_plperl
94.3%94.3%
94.3 % 116 / 123 100.0 % 10 / 10
contrib/jsonb_plpython
82.5%82.5%
82.5 % 156 / 189 100.0 % 14 / 14
contrib/lo
88.9%88.9%
88.9 % 32 / 36 100.0 % 3 / 3
contrib/ltree
88.7%88.7%
88.7 % 1713 / 1931 92.3 % 155 / 168
contrib/ltree_plpython
93.3%93.3%
93.3 % 14 / 15 100.0 % 4 / 4
contrib/oid2name
14.8%14.8%
14.8 % 38 / 257 27.3 % 3 / 11
contrib/pageinspect
84.5%84.5%
84.5 % 866 / 1025 100.0 % 59 / 59
contrib/passwordcheck
86.2%86.2%
86.2 % 25 / 29 75.0 % 3 / 4
contrib/pg_buffercache
0.0%
0.0 % 0 / 83 0.0 % 0 / 3
contrib/pg_freespacemap
0.0%
0.0 % 0 / 11 0.0 % 0 / 3
contrib/pg_prewarm
0.0%
0.0 % 0 / 372 0.0 % 0 / 19
contrib/pg_standby
0.0%
0.0 % 0 / 319 0.0 % 0 / 11
contrib/pg_stat_statements
58.9%58.9%
58.9 % 708 / 1203 79.1 % 34 / 43
contrib/pg_trgm
89.0%89.0%
89.0 % 1392 / 1564 93.0 % 106 / 114
contrib/pg_visibility
69.2%69.2%
69.2 % 198 / 286 82.6 % 19 / 23
contrib/pgcrypto
85.1%85.1%
85.1 % 3862 / 4538 95.9 % 305 / 318
contrib/pgrowlocks
0.0%
0.0 % 0 / 124 0.0 % 0 / 3
contrib/pgstattuple
50.9%50.9%
50.9 % 276 / 542 73.5 % 36 / 49
contrib/postgres_fdw
91.2%91.2%
91.2 % 3223 / 3534 98.7 % 156 / 158
contrib/seg
74.1%74.1%
74.1 % 478 / 645 88.9 % 64 / 72
contrib/spi
60.9%60.9%
60.9 % 204 / 335 60.0 % 9 / 15
contrib/sslinfo
0.0%
0.0 % 0 / 160 0.0 % 0 / 24
contrib/tablefunc
90.3%90.3%
90.3 % 383 / 424 100.0 % 19 / 19
contrib/tcn
0.0%
0.0 % 0 / 67 0.0 % 0 / 4
contrib/test_decoding
90.0%90.0%
90.0 % 199 / 221 100.0 % 14 / 14
contrib/tsm_system_rows
96.7%96.7%
96.7 % 89 / 92 100.0 % 10 / 10
contrib/tsm_system_time
95.8%95.8%
95.8 % 91 / 95 100.0 % 10 / 10
contrib/unaccent
85.0%85.0%
85.0 % 130 / 153 100.0 % 10 / 10
contrib/vacuumlo
14.9%14.9%
14.9 % 42 / 282 66.7 % 2 / 3
contrib/xml2
48.5%48.5%
48.5 % 150 / 309 64.0 % 16 / 25
src/backend/access/brin
74.3%74.3%
74.3 % 1300 / 1750 80.8 % 63 / 78
src/backend/access/common
85.2%85.2%
85.2 % 2023 / 2375 90.2 % 120 / 133
src/backend/access/gin
70.9%70.9%
70.9 % 2772 / 3909 79.4 % 135 / 170
src/backend/access/gist
63.3%63.3%
63.3 % 1926 / 3043 66.0 % 99 / 150
src/backend/access/hash
63.5%63.5%
63.5 % 1494 / 2353 79.5 % 89 / 112
src/backend/access/heap
83.8%83.8%
83.8 % 5264 / 6284 96.6 % 200 / 207
src/backend/access/index
90.8%90.8%
90.8 % 433 / 477 97.6 % 41 / 42
src/backend/access/nbtree
81.6%81.6%
81.6 % 4052 / 4965 90.6 % 174 / 192
src/backend/access/rmgrdesc
12.6%12.6%
12.6 % 161 / 1274 20.6 % 13 / 63
src/backend/access/spgist
77.5%77.5%
77.5 % 2448 / 3160 86.2 % 100 / 116
src/backend/access/table
90.3%90.3%
90.3 % 299 / 331 100.0 % 31 / 31
src/backend/access/tablesample
99.2%99.2%
99.2 % 127 / 128 100.0 % 12 / 12
src/backend/access/transam
77.9%77.9%
77.9 % 7923 / 10171 88.6 % 506 / 571
src/backend/bootstrap
74.0%74.0%
74.0 % 559 / 755 95.5 % 21 / 22
src/backend/catalog
87.5%87.5%
87.5 % 11151 / 12751 96.0 % 498 / 519
src/backend/commands
85.3%85.3%
85.3 % 23245 / 27245 95.9 % 912 / 951
src/backend/executor
91.1%91.1%
91.1 % 17382 / 19081 93.4 % 866 / 927
src/backend/foreign
89.2%89.2%
89.2 % 222 / 249 100.0 % 22 / 22
src/backend/jit
78.2%78.2%
78.2 % 43 / 55 85.7 % 6 / 7
src/backend/jit/llvm
76.6%76.6%
76.6 % 1252 / 1634 84.3 % 43 / 51
src/backend/lib
85.8%85.8%
85.8 % 956 / 1114 85.7 % 84 / 98
src/backend/libpq
55.0%55.0%
55.0 % 2279 / 4141 82.7 % 191 / 231
src/backend/main
41.8%41.8%
41.8 % 41 / 98 80.0 % 4 / 5
src/backend/nodes
80.7%80.7%
80.7 % 11406 / 14132 84.9 % 920 / 1084
src/backend/optimizer/geqo
79.6%79.6%
79.6 % 266 / 334 96.6 % 28 / 29
src/backend/optimizer/path
95.1%95.1%
95.1 % 5807 / 6106 99.6 % 261 / 262
src/backend/optimizer/plan
95.7%95.7%
95.7 % 6893 / 7201 99.3 % 273 / 275
src/backend/optimizer/prep
86.1%86.1%
86.1 % 1447 / 1681 96.8 % 60 / 62
src/backend/optimizer/util
92.2%92.2%
92.2 % 6121 / 6638 100.0 % 307 / 307
src/backend/parser
85.9%85.9%
85.9 % 18440 / 21457 97.9 % 413 / 422
src/backend/partitioning
94.3%94.3%
94.3 % 1908 / 2024 100.0 % 60 / 60
src/backend/port
71.7%71.7%
71.7 % 165 / 230 95.0 % 19 / 20
src/backend/postmaster
69.5%69.5%
69.5 % 4272 / 6147 88.5 % 246 / 278
src/backend/regex
69.3%69.3%
69.3 % 3124 / 4510 90.1 % 172 / 191
src/backend/replication
80.3%80.3%
80.3 % 3208 / 3993 91.1 % 154 / 169
src/backend/replication/libpqwalreceiver
81.7%81.7%
81.7 % 282 / 345 100.0 % 21 / 21
src/backend/replication/logical
86.3%86.3%
86.3 % 4049 / 4690 94.9 % 260 / 274
src/backend/replication/pgoutput
90.7%90.7%
90.7 % 206 / 227 100.0 % 17 / 17
src/backend/rewrite
89.4%89.4%
89.4 % 1885 / 2108 98.8 % 79 / 80
src/backend/snowball
71.2%71.2%
71.2 % 47 / 66 100.0 % 6 / 6
src/backend/snowball/libstemmer
3.5%3.5%
3.5 % 550 / 15810 5.9 % 35 / 592
src/backend/statistics
88.1%88.1%
88.1 % 1252 / 1421 85.9 % 67 / 78
src/backend/storage/buffer
84.8%84.8%
84.8 % 1252 / 1477 92.9 % 92 / 99
src/backend/storage/file
77.6%77.6%
77.6 % 1054 / 1358 95.1 % 117 / 123
src/backend/storage/freespace
89.5%89.5%
89.5 % 297 / 332 93.8 % 30 / 32
src/backend/storage/ipc
74.2%74.2%
74.2 % 2559 / 3450 83.6 % 209 / 250
src/backend/storage/large_object
94.7%94.7%
94.7 % 286 / 302 100.0 % 14 / 14
src/backend/storage/lmgr
81.3%81.3%
81.3 % 3483 / 4282 91.7 % 231 / 252
src/backend/storage/page
90.5%90.5%
90.5 % 343 / 379 100.0 % 22 / 22
src/backend/storage/smgr
79.2%79.2%
79.2 % 365 / 461 96.0 % 48 / 50
src/backend/storage/sync
83.7%83.7%
83.7 % 103 / 123 100.0 % 7 / 7
src/backend/tcop
72.6%72.6%
72.6 % 2994 / 4125 85.3 % 87 / 102
src/backend/tsearch
89.2%89.2%
89.2 % 3208 / 3595 90.0 % 198 / 220
src/backend/utils/adt
79.2%79.2%
79.2 % 45619 / 57598 82.6 % 3210 / 3886
src/backend/utils/cache
89.8%89.8%
89.8 % 5463 / 6082 98.0 % 394 / 402
src/backend/utils/error
58.7%58.7%
58.7 % 724 / 1234 83.1 % 54 / 65
src/backend/utils/fmgr
73.0%73.0%
73.0 % 1146 / 1570 85.1 % 86 / 101
src/backend/utils/hash
80.4%80.4%
80.4 % 410 / 510 91.4 % 32 / 35
src/backend/utils/init
80.5%80.5%
80.5 % 561 / 697 92.9 % 52 / 56
src/backend/utils/mb
51.1%51.1%
51.1 % 417 / 816 73.5 % 50 / 68
src/backend/utils/mb/conversion_procs/cyrillic_and_mic
100.0%
100.0 % 161 / 161 100.0 % 41 / 41
src/backend/utils/mb/conversion_procs/euc2004_sjis2004
25.8%25.8%
25.8 % 39 / 151 87.5 % 7 / 8
src/backend/utils/mb/conversion_procs/euc_cn_and_mic
68.5%68.5%
68.5 % 37 / 54 100.0 % 7 / 7
src/backend/utils/mb/conversion_procs/euc_jp_and_sjis
36.1%36.1%
36.1 % 115 / 319 100.0 % 19 / 19
src/backend/utils/mb/conversion_procs/euc_kr_and_mic
66.7%66.7%
66.7 % 38 / 57 100.0 % 7 / 7
src/backend/utils/mb/conversion_procs/euc_tw_and_big5
40.2%40.2%
40.2 % 98 / 244 85.0 % 17 / 20
src/backend/utils/mb/conversion_procs/latin2_and_win1250
100.0%
100.0 % 49 / 49 100.0 % 13 / 13
src/backend/utils/mb/conversion_procs/latin_and_mic
100.0%
100.0 % 49 / 49 100.0 % 13 / 13
src/backend/utils/mb/conversion_procs/utf8_and_big5
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_cyrillic
100.0%
100.0 % 33 / 33 100.0 % 9 / 9
src/backend/utils/mb/conversion_procs/utf8_and_euc2004
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_euc_cn
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_euc_jp
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_euc_kr
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_euc_tw
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_gb18030
18.9%18.9%
18.9 % 17 / 90 45.5 % 5 / 11
src/backend/utils/mb/conversion_procs/utf8_and_gbk
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_iso8859
92.0%92.0%
92.0 % 23 / 25 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1
85.1%85.1%
85.1 % 40 / 47 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_johab
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_sjis
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_sjis2004
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_uhc
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_win
92.0%92.0%
92.0 % 23 / 25 100.0 % 5 / 5
src/backend/utils/misc
71.7%71.7%
71.7 % 2742 / 3823 90.6 % 202 / 223
src/backend/utils/mmgr
67.0%67.0%
67.0 % 1591 / 2375 78.4 % 120 / 153
src/backend/utils/resowner
85.9%85.9%
85.9 % 317 / 369 87.3 % 48 / 55
src/backend/utils/sort
89.9%89.9%
89.9 % 2169 / 2413 97.9 % 142 / 145
src/backend/utils/time
80.0%80.0%
80.0 % 612 / 765 98.4 % 62 / 63
src/bin/initdb
55.8%55.8%
55.8 % 1165 / 2087 81.0 % 81 / 100
src/bin/pg_archivecleanup
96.0%96.0%
96.0 % 121 / 126 100.0 % 6 / 6
src/bin/pg_basebackup
57.3%57.3%
57.3 % 1531 / 2671 84.8 % 78 / 92
src/bin/pg_checksums
73.5%73.5%
73.5 % 191 / 260 83.3 % 5 / 6
src/bin/pg_config
97.0%97.0%
97.0 % 64 / 66 100.0 % 4 / 4
src/bin/pg_controldata
87.2%87.2%
87.2 % 123 / 141 100.0 % 4 / 4
src/bin/pg_ctl
66.2%66.2%
66.2 % 466 / 704 92.9 % 26 / 28
src/bin/pg_dump
80.3%80.3%
80.3 % 10579 / 13170 93.3 % 484 / 519
src/bin/pg_resetwal
70.5%70.5%
70.5 % 364 / 516 100.0 % 12 / 12
src/bin/pg_rewind
70.4%70.4%
70.4 % 1237 / 1758 88.4 % 76 / 86
src/bin/pg_test_fsync
0.0%
0.0 % 0 / 216 0.0 % 0 / 12
src/bin/pg_test_timing
0.0%
0.0 % 0 / 79 0.0 % 0 / 4
src/bin/pg_upgrade
56.8%56.8%
56.8 % 1326 / 2336 80.4 % 86 / 107
src/bin/pg_waldump
2.5%2.5%
2.5 % 56 / 2242 2.0 % 2 / 99
src/bin/pgbench
88.1%88.1%
88.1 % 2540 / 2884 97.7 % 125 / 128
src/bin/psql
51.2%51.2%
51.2 % 4998 / 9758 48.7 % 236 / 485
src/bin/scripts
71.4%71.4%
71.4 % 1315 / 1841 97.7 % 43 / 44
src/common
73.8%73.8%
73.8 % 2757 / 3738 80.7 % 209 / 259
src/fe_utils
86.9%86.9%
86.9 % 2172 / 2498 94.0 % 110 / 117
src/include
100.0%
100.0 % 22 / 22 100.0 % 6 / 6
src/include/access
97.7%97.7%
97.7 % 210 / 215 98.5 % 66 / 67
src/include/catalog
100.0%
100.0 % 10 / 10 100.0 % 2 / 2
src/include/common
100.0%
100.0 % 55 / 55 100.0 % 21 / 21
src/include/executor
100.0%
100.0 % 68 / 68 100.0 % 17 / 17
src/include/jit
96.8%96.8%
96.8 % 61 / 63 94.7 % 18 / 19
src/include/lib
87.9%87.9%
87.9 % 304 / 346 92.4 % 61 / 66
src/include/libpq
100.0%
100.0 % 49 / 49 100.0 % 10 / 10
src/include/mb
66.7%66.7%
66.7 % 4 / 6 66.7 % 2 / 3
src/include/nodes
90.0%90.0%
90.0 % 63 / 70 95.5 % 21 / 22
src/include/port
100.0%
100.0 % 69 / 69 100.0 % 31 / 31
src/include/port/atomics
100.0%
100.0 % 74 / 74 100.0 % 27 / 27
src/include/replication
83.3%83.3%
83.3 % 10 / 12 100.0 % 2 / 2
src/include/storage
100.0%
100.0 % 95 / 95 100.0 % 15 / 15
src/include/utils
90.7%90.7%
90.7 % 166 / 183 100.0 % 41 / 41
src/interfaces/ecpg/compatlib
66.0%66.0%
66.0 % 324 / 491 58.7 % 27 / 46
src/interfaces/ecpg/ecpglib
64.2%64.2%
64.2 % 2316 / 3606 93.8 % 121 / 129
src/interfaces/ecpg/pgtypeslib
58.9%58.9%
58.9 % 1994 / 3387 87.1 % 88 / 101
src/interfaces/ecpg/preproc
31.2%31.2%
31.2 % 3827 / 12250 87.8 % 79 / 90
src/interfaces/ecpg/test
91.3%91.3%
91.3 % 63 / 69 100.0 % 5 / 5
src/interfaces/ecpg/test/compat_informix
89.6%89.6%
89.6 % 649 / 724 95.2 % 20 / 21
src/interfaces/ecpg/test/compat_oracle
100.0%
100.0 % 35 / 35 100.0 % 2 / 2
src/interfaces/ecpg/test/connect
100.0%
100.0 % 102 / 102 100.0 % 5 / 5
src/interfaces/ecpg/test/pgtypeslib
97.1%97.1%
97.1 % 593 / 611 100.0 % 6 / 6
src/interfaces/ecpg/test/preproc
98.5%98.5%
98.5 % 593 / 602 100.0 % 27 / 27
src/interfaces/ecpg/test/sql
95.3%95.3%
95.3 % 1241 / 1302 96.4 % 27 / 28
src/interfaces/ecpg/test/thread
91.2%91.2%
91.2 % 125 / 137 100.0 % 10 / 10
src/interfaces/libpq
46.9%46.9%
46.9 % 3840 / 8185 71.9 % 274 / 381
src/pl/plperl
89.2%89.2%
89.2 % 1577 / 1768 91.0 % 101 / 111
src/pl/plpgsql/src
80.4%80.4%
80.4 % 5369 / 6682 84.6 % 225 / 266
src/pl/plpython
89.8%89.8%
89.8 % 2180 / 2427 99.4 % 154 / 155
src/pl/tcl
90.3%90.3%
90.3 % 963 / 1066 87.2 % 41 / 47
src/port
67.1%67.1%
67.1 % 1123 / 1674 86.6 % 97 / 112
src/test/isolation
78.3%78.3%
78.3 % 511 / 653 95.5 % 21 / 22
src/test/modules/dummy_index_am
77.8%77.8%
77.8 % 84 / 108 47.1 % 8 / 17
src/test/modules/dummy_seclabel
88.9%88.9%
88.9 % 16 / 18 80.0 % 4 / 5
src/test/modules/test_bloomfilter
92.7%92.7%
92.7 % 38 / 41 100.0 % 6 / 6
src/test/modules/test_ddl_deparse
26.1%26.1%
26.1 % 60 / 230 100.0 % 7 / 7
src/test/modules/test_ginpostinglist
84.0%84.0%
84.0 % 21 / 25 100.0 % 4 / 4
src/test/modules/test_integerset
84.0%84.0%
84.0 % 200 / 238 100.0 % 9 / 9
src/test/modules/test_parser
100.0%
100.0 % 45 / 45 100.0 % 9 / 9
src/test/modules/test_predtest
87.2%87.2%
87.2 % 75 / 86 100.0 % 3 / 3
src/test/modules/test_rbtree
85.6%85.6%
85.6 % 131 / 153 100.0 % 15 / 15
src/test/modules/test_rls_hooks
93.2%93.2%
93.2 % 55 / 59 80.0 % 4 / 5
src/test/modules/test_shm_mq
82.8%82.8%
82.8 % 183 / 221 87.5 % 14 / 16
src/test/modules/worker_spi
92.6%92.6%
92.6 % 112 / 121 100.0 % 8 / 8
src/test/regress
75.8%75.8%
75.8 % 1020 / 1345 93.9 % 77 / 82
src/timezone
65.1%65.1%
65.1 % 1982 / 3046 88.0 % 103 / 117

Generated by: LCOV version 1.13