LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: PostgreSQL 13devel Lines: 326053 437562 74.5 %
Date: 2020-03-28 11:06:06 Functions: 19377 22667 85.5 %
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.3%46.3%
46.3 % 81 / 175 70.8 % 17 / 24
contrib/amcheck
68.6%68.6%
68.6 % 405 / 590 90.0 % 27 / 30
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/bool_plperl
100.0%
100.0 % 11 / 11 100.0 % 5 / 5
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
97.4%97.4%
97.4 % 38 / 39 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
89.2%89.2%
89.2 % 33 / 37 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
83.6%83.6%
83.6 % 887 / 1061 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 / 320 0.0 % 0 / 11
contrib/pg_stat_statements
58.8%58.8%
58.8 % 706 / 1200 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 / 120 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
15.2%15.2%
15.2 % 43 / 283 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 % 2024 / 2376 90.2 % 120 / 133
src/backend/access/gin
72.0%72.0%
72.0 % 2815 / 3909 80.6 % 137 / 170
src/backend/access/gist
63.1%63.1%
63.1 % 1920 / 3043 66.0 % 99 / 150
src/backend/access/hash
63.7%63.7%
63.7 % 1499 / 2353 79.5 % 89 / 112
src/backend/access/heap
83.8%83.8%
83.8 % 5267 / 6283 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 % 4045 / 4957 90.7 % 175 / 193
src/backend/access/rmgrdesc
12.6%12.6%
12.6 % 161 / 1274 20.6 % 13 / 63
src/backend/access/spgist
79.2%79.2%
79.2 % 2503 / 3160 88.8 % 103 / 116
src/backend/access/table
90.4%90.4%
90.4 % 300 / 332 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.7%77.7%
77.7 % 7915 / 10185 88.3 % 507 / 574
src/backend/bootstrap
74.4%74.4%
74.4 % 561 / 754 95.5 % 21 / 22
src/backend/catalog
87.6%87.6%
87.6 % 11240 / 12835 96.4 % 503 / 522
src/backend/commands
85.8%85.8%
85.8 % 23246 / 27093 96.2 % 914 / 950
src/backend/executor
91.2%91.2%
91.2 % 17729 / 19431 93.7 % 886 / 946
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
77.9%77.9%
77.9 % 1281 / 1644 84.3 % 43 / 51
src/backend/lib
85.8%85.8%
85.8 % 956 / 1114 85.7 % 84 / 98
src/backend/libpq
55.1%55.1%
55.1 % 2289 / 4151 82.8 % 192 / 232
src/backend/main
41.4%41.4%
41.4 % 41 / 99 80.0 % 4 / 5
src/backend/nodes
80.7%80.7%
80.7 % 11425 / 14152 84.9 % 922 / 1086
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 % 5821 / 6119 99.6 % 261 / 262
src/backend/optimizer/plan
95.7%95.7%
95.7 % 6897 / 7206 99.3 % 273 / 275
src/backend/optimizer/prep
86.1%86.1%
86.1 % 1448 / 1682 96.8 % 60 / 62
src/backend/optimizer/util
92.2%92.2%
92.2 % 6128 / 6645 100.0 % 307 / 307
src/backend/parser
86.2%86.2%
86.2 % 18642 / 21635 97.9 % 418 / 427
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.7%69.7%
69.7 % 4277 / 6137 88.8 % 247 / 278
src/backend/regex
69.3%69.3%
69.3 % 3124 / 4510 90.1 % 172 / 191
src/backend/replication
80.6%80.6%
80.6 % 3255 / 4038 91.8 % 156 / 170
src/backend/replication/libpqwalreceiver
81.4%81.4%
81.4 % 281 / 345 95.2 % 20 / 21
src/backend/replication/logical
86.3%86.3%
86.3 % 4066 / 4710 94.9 % 262 / 276
src/backend/replication/pgoutput
90.4%90.4%
90.4 % 207 / 229 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
91.0%91.0%
91.0 % 1353 / 1487 87.2 % 68 / 78
src/backend/storage/buffer
81.9%81.9%
81.9 % 1204 / 1470 91.8 % 90 / 98
src/backend/storage/file
77.6%77.6%
77.6 % 1054 / 1358 95.1 % 117 / 123
src/backend/storage/freespace
92.5%92.5%
92.5 % 307 / 332 100.0 % 32 / 32
src/backend/storage/ipc
74.6%74.6%
74.6 % 2576 / 3452 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.2%81.2%
81.2 % 3485 / 4292 91.7 % 232 / 253
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 % 3010 / 4146 85.2 % 92 / 108
src/backend/tsearch
89.4%89.4%
89.4 % 3207 / 3589 90.0 % 198 / 220
src/backend/utils/adt
79.2%79.2%
79.2 % 45714 / 57693 82.5 % 3216 / 3900
src/backend/utils/cache
89.7%89.7%
89.7 % 5536 / 6172 98.0 % 401 / 409
src/backend/utils/error
57.9%57.9%
57.9 % 703 / 1214 82.5 % 52 / 63
src/backend/utils/fmgr
75.2%75.2%
75.2 % 1277 / 1698 84.6 % 88 / 104
src/backend/utils/hash
79.4%79.4%
79.4 % 405 / 510 91.4 % 32 / 35
src/backend/utils/init
80.9%80.9%
80.9 % 602 / 744 93.0 % 53 / 57
src/backend/utils/mb
51.7%51.7%
51.7 % 435 / 841 73.9 % 51 / 69
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.6%71.6%
71.6 % 2738 / 3822 90.6 % 202 / 223
src/backend/utils/mmgr
67.4%67.4%
67.4 % 1601 / 2377 79.1 % 121 / 153
src/backend/utils/resowner
86.2%86.2%
86.2 % 325 / 377 87.5 % 49 / 56
src/backend/utils/sort
90.1%90.1%
90.1 % 2184 / 2423 98.0 % 144 / 147
src/backend/utils/time
78.6%78.6%
78.6 % 601 / 765 98.4 % 62 / 63
src/bin/initdb
55.8%55.8%
55.8 % 1166 / 2088 81.0 % 81 / 100
src/bin/pg_archivecleanup
96.1%96.1%
96.1 % 122 / 127 100.0 % 6 / 6
src/bin/pg_basebackup
57.2%57.2%
57.2 % 1533 / 2682 84.8 % 78 / 92
src/bin/pg_checksums
73.6%73.6%
73.6 % 192 / 261 83.3 % 5 / 6
src/bin/pg_config
97.0%97.0%
97.0 % 65 / 67 100.0 % 4 / 4
src/bin/pg_controldata
87.3%87.3%
87.3 % 124 / 142 100.0 % 4 / 4
src/bin/pg_ctl
66.2%66.2%
66.2 % 467 / 705 92.9 % 26 / 28
src/bin/pg_dump
80.5%80.5%
80.5 % 10639 / 13222 93.3 % 486 / 521
src/bin/pg_resetwal
70.6%70.6%
70.6 % 365 / 517 100.0 % 12 / 12
src/bin/pg_rewind
70.4%70.4%
70.4 % 1238 / 1759 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.7%56.7%
56.7 % 1326 / 2337 80.4 % 86 / 107
src/bin/pg_waldump
2.5%2.5%
2.5 % 57 / 2243 2.0 % 2 / 99
src/bin/pgbench
88.1%88.1%
88.1 % 2540 / 2884 97.7 % 125 / 128
src/bin/psql
51.9%51.9%
51.9 % 5143 / 9903 49.3 % 241 / 489
src/bin/scripts
71.6%71.6%
71.6 % 1323 / 1849 97.7 % 43 / 44
src/common
73.5%73.5%
73.5 % 2781 / 3785 80.8 % 210 / 260
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
100.0%
100.0 % 8 / 8 100.0 % 4 / 4
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/tcop
100.0%
100.0 % 10 / 10 100.0 % 3 / 3
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 / 12257 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.8%46.8%
46.8 % 3841 / 8199 71.9 % 274 / 381
src/pl/plperl
89.2%89.2%
89.2 % 1576 / 1767 91.0 % 101 / 111
src/pl/plpgsql/src
80.5%80.5%
80.5 % 5415 / 6723 84.6 % 225 / 266
src/pl/plpython
89.9%89.9%
89.9 % 2179 / 2425 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 % 1124 / 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/ssl_passphrase_callback
90.9%90.9%
90.9 % 20 / 22 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
85.5%85.5%
85.5 % 189 / 221 93.8 % 15 / 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 / 1346 93.9 % 77 / 82
src/timezone
65.1%65.1%
65.1 % 1982 / 3046 88.0 % 103 / 117

Generated by: LCOV version 1.13