LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: PostgreSQL 13devel Lines: 323018 434781 74.3 %
Date: 2020-01-25 23:06:15 Functions: 19196 22492 85.3 %
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 %

Directory Sort by name Line Coverage Sort by line coverage Functions Sort by function coverage
contrib/pg_freespacemap
0.0%
0.0 % 0 / 11 0.0 % 0 / 3
contrib/pgrowlocks
0.0%
0.0 % 0 / 124 0.0 % 0 / 3
contrib/auth_delay
0.0%
0.0 % 0 / 12 0.0 % 0 / 3
contrib/pg_buffercache
0.0%
0.0 % 0 / 83 0.0 % 0 / 3
contrib/tcn
0.0%
0.0 % 0 / 67 0.0 % 0 / 4
src/bin/pg_test_timing
0.0%
0.0 % 0 / 79 0.0 % 0 / 4
contrib/auto_explain
0.0%
0.0 % 0 / 102 0.0 % 0 / 7
contrib/pg_standby
0.0%
0.0 % 0 / 319 0.0 % 0 / 11
src/bin/pg_test_fsync
0.0%
0.0 % 0 / 216 0.0 % 0 / 12
contrib/pg_prewarm
0.0%
0.0 % 0 / 372 0.0 % 0 / 19
contrib/sslinfo
0.0%
0.0 % 0 / 160 0.0 % 0 / 24
src/bin/pg_waldump
2.5%2.5%
2.5 % 56 / 2231 2.0 % 2 / 98
src/backend/snowball/libstemmer
3.5%3.5%
3.5 % 550 / 15810 5.9 % 35 / 592
src/backend/access/rmgrdesc
12.8%12.8%
12.8 % 161 / 1262 20.6 % 13 / 63
contrib/oid2name
14.8%14.8%
14.8 % 38 / 257 27.3 % 3 / 11
src/backend/utils/mb/conversion_procs/utf8_and_gb18030
18.9%18.9%
18.9 % 17 / 90 45.5 % 5 / 11
src/test/modules/dummy_index_am
77.8%77.8%
77.8 % 84 / 108 47.1 % 8 / 17
src/bin/psql
51.1%51.1%
51.1 % 4990 / 9756 48.7 % 236 / 485
src/interfaces/ecpg/compatlib
66.0%66.0%
66.0 % 324 / 491 58.7 % 27 / 46
contrib/spi
60.9%60.9%
60.9 % 204 / 335 60.0 % 9 / 15
contrib/xml2
48.5%48.5%
48.5 % 150 / 309 64.0 % 16 / 25
src/backend/access/gist
63.1%63.1%
63.1 % 1920 / 3043 66.0 % 99 / 150
contrib/vacuumlo
14.9%14.9%
14.9 % 42 / 282 66.7 % 2 / 3
src/include/mb
66.7%66.7%
66.7 % 4 / 6 66.7 % 2 / 3
contrib/adminpack
46.6%46.6%
46.6 % 82 / 176 70.8 % 17 / 24
src/interfaces/libpq
46.8%46.8%
46.8 % 3788 / 8096 71.7 % 271 / 378
contrib/pgstattuple
50.9%50.9%
50.9 % 276 / 542 73.5 % 36 / 49
src/backend/utils/mb
51.1%51.1%
51.1 % 417 / 816 73.5 % 50 / 68
contrib/passwordcheck
86.2%86.2%
86.2 % 25 / 29 75.0 % 3 / 4
contrib/hstore
82.7%82.7%
82.7 % 1375 / 1662 75.5 % 120 / 159
src/backend/utils/mmgr
67.0%67.0%
67.0 % 1591 / 2375 78.4 % 120 / 153
src/common
69.6%69.6%
69.6 % 2145 / 3081 78.7 % 185 / 235
contrib/pg_stat_statements
58.8%58.8%
58.8 % 709 / 1205 79.1 % 34 / 43
src/backend/main
41.8%41.8%
41.8 % 41 / 98 80.0 % 4 / 5
src/test/modules/test_rls_hooks
93.2%93.2%
93.2 % 55 / 59 80.0 % 4 / 5
src/test/modules/dummy_seclabel
88.9%88.9%
88.9 % 16 / 18 80.0 % 4 / 5
src/bin/pg_upgrade
56.7%56.7%
56.7 % 1326 / 2337 80.4 % 86 / 107
src/backend/access/hash
65.4%65.4%
65.4 % 1540 / 2353 80.4 % 90 / 112
src/backend/access/brin
74.3%74.3%
74.3 % 1300 / 1750 80.8 % 63 / 78
src/bin/initdb
55.8%55.8%
55.8 % 1165 / 2087 81.0 % 81 / 100
src/backend/access/gin
72.9%72.9%
72.9 % 2851 / 3909 81.2 % 138 / 170
src/backend/utils/adt
79.2%79.2%
79.2 % 45888 / 57927 82.6 % 3214 / 3892
contrib/pg_visibility
69.2%69.2%
69.2 % 198 / 286 82.6 % 19 / 23
src/backend/libpq
55.0%55.0%
55.0 % 2277 / 4141 82.7 % 191 / 231
contrib/fuzzystrmatch
25.5%25.5%
25.5 % 236 / 924 82.9 % 29 / 35
src/backend/utils/error
58.7%58.7%
58.7 % 724 / 1234 83.1 % 54 / 65
src/bin/pg_checksums
73.0%73.0%
73.0 % 181 / 248 83.3 % 5 / 6
src/backend/storage/ipc
74.2%74.2%
74.2 % 2548 / 3434 83.6 % 209 / 250
src/backend/jit/llvm
77.3%77.3%
77.3 % 1297 / 1677 84.3 % 43 / 51
src/pl/plpgsql/src
80.3%80.3%
80.3 % 5366 / 6681 84.6 % 225 / 266
src/bin/pg_basebackup
57.4%57.4%
57.4 % 1528 / 2664 84.8 % 78 / 92
src/backend/nodes
80.7%80.7%
80.7 % 11402 / 14128 84.8 % 918 / 1082
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/fmgr
73.0%73.0%
73.0 % 1146 / 1570 85.1 % 86 / 101
src/backend/tcop
72.5%72.5%
72.5 % 2993 / 4126 85.3 % 87 / 102
src/backend/jit
78.2%78.2%
78.2 % 43 / 55 85.7 % 6 / 7
src/backend/lib
85.8%85.8%
85.8 % 956 / 1114 85.7 % 84 / 98
src/backend/statistics
88.1%88.1%
88.1 % 1252 / 1421 85.9 % 67 / 78
src/port
67.1%67.1%
67.1 % 1124 / 1674 86.6 % 97 / 112
src/interfaces/ecpg/pgtypeslib
58.9%58.9%
58.9 % 1994 / 3387 87.1 % 88 / 101
src/pl/tcl
90.3%90.3%
90.3 % 963 / 1066 87.2 % 41 / 47
src/backend/utils/resowner
85.9%85.9%
85.9 % 317 / 369 87.3 % 48 / 55
src/backend/utils/mb/conversion_procs/euc2004_sjis2004
25.8%25.8%
25.8 % 39 / 151 87.5 % 7 / 8
src/interfaces/ecpg/preproc
31.2%31.2%
31.2 % 3827 / 12249 87.8 % 79 / 90
src/timezone
65.1%65.1%
65.1 % 1982 / 3046 88.0 % 103 / 117
src/bin/pg_rewind
70.2%70.2%
70.2 % 1231 / 1753 88.2 % 75 / 85
src/backend/postmaster
69.4%69.4%
69.4 % 4260 / 6142 88.5 % 246 / 278
src/backend/access/transam
77.6%77.6%
77.6 % 7879 / 10152 88.4 % 503 / 569
src/backend/access/spgist
79.7%79.7%
79.7 % 2517 / 3160 88.8 % 103 / 116
contrib/isn
75.8%75.8%
75.8 % 382 / 504 88.9 % 40 / 45
contrib/seg
74.1%74.1%
74.1 % 478 / 645 88.9 % 64 / 72
src/backend/access/nbtree
81.4%81.4%
81.4 % 3484 / 4282 89.6 % 155 / 173
src/backend/replication
79.6%79.6%
79.6 % 3189 / 4004 89.9 % 152 / 169
src/backend/regex
69.2%69.2%
69.2 % 3120 / 4510 90.1 % 172 / 191
src/backend/tsearch
89.2%89.2%
89.2 % 3209 / 3596 90.0 % 198 / 220
src/backend/access/common
85.1%85.1%
85.1 % 2020 / 2373 90.2 % 120 / 133
src/backend/utils/misc
71.1%71.1%
71.1 % 2740 / 3853 90.2 % 203 / 225
src/backend/storage/lmgr
81.2%81.2%
81.2 % 3494 / 4305 90.8 % 228 / 251
contrib/file_fdw
76.1%76.1%
76.1 % 239 / 314 90.9 % 20 / 22
src/include/lib
86.7%86.7%
86.7 % 300 / 346 90.9 % 60 / 66
src/pl/plperl
89.2%89.2%
89.2 % 1577 / 1768 91.0 % 101 / 111
contrib/ltree
88.8%88.8%
88.8 % 1722 / 1940 92.3 % 155 / 168
contrib/intarray
89.8%89.8%
89.8 % 1290 / 1437 92.4 % 133 / 144
src/bin/pg_ctl
66.2%66.2%
66.2 % 466 / 704 92.9 % 26 / 28
src/backend/utils/init
80.5%80.5%
80.5 % 562 / 698 92.9 % 52 / 56
src/backend/storage/buffer
82.3%82.3%
82.3 % 1216 / 1477 92.9 % 92 / 99
contrib/pg_trgm
89.1%89.1%
89.1 % 1392 / 1562 93.0 % 106 / 114
src/backend/utils/hash
84.4%84.4%
84.4 % 577 / 684 93.2 % 41 / 44
src/bin/pg_dump
80.3%80.3%
80.3 % 10573 / 13163 93.3 % 484 / 519
src/backend/executor
90.9%90.9%
90.9 % 17309 / 19041 93.3 % 858 / 920
src/test/modules/test_shm_mq
85.5%85.5%
85.5 % 189 / 221 93.8 % 15 / 16
src/backend/storage/freespace
89.5%89.5%
89.5 % 297 / 332 93.8 % 30 / 32
src/interfaces/ecpg/ecpglib
64.2%64.2%
64.2 % 2316 / 3606 93.8 % 121 / 129
src/test/regress
75.5%75.5%
75.5 % 1021 / 1353 93.9 % 77 / 82
src/fe_utils
86.9%86.9%
86.9 % 2172 / 2498 94.0 % 110 / 117
src/include/jit
96.8%96.8%
96.8 % 61 / 63 94.7 % 18 / 19
src/backend/replication/logical
85.3%85.3%
85.3 % 4005 / 4694 94.9 % 260 / 274
src/backend/port
71.7%71.7%
71.7 % 165 / 230 95.0 % 19 / 20
src/backend/storage/file
77.5%77.5%
77.5 % 1043 / 1345 95.0 % 114 / 120
src/interfaces/ecpg/test/compat_informix
89.6%89.6%
89.6 % 649 / 724 95.2 % 20 / 21
src/test/isolation
78.3%78.3%
78.3 % 511 / 653 95.5 % 21 / 22
src/include/nodes
90.0%90.0%
90.0 % 63 / 70 95.5 % 21 / 22
src/backend/bootstrap
74.0%74.0%
74.0 % 559 / 755 95.5 % 21 / 22
src/backend/commands
84.6%84.6%
84.6 % 23015 / 27192 95.4 % 900 / 943
contrib/cube
87.3%87.3%
87.3 % 904 / 1036 96.0 % 95 / 99
contrib/pgcrypto
85.1%85.1%
85.1 % 3862 / 4538 95.9 % 305 / 318
src/backend/catalog
87.3%87.3%
87.3 % 11116 / 12730 96.0 % 498 / 519
src/backend/storage/smgr
79.0%79.0%
79.0 % 365 / 462 96.0 % 48 / 50
src/interfaces/ecpg/test/sql
95.3%95.3%
95.3 % 1241 / 1302 96.4 % 27 / 28
src/backend/optimizer/geqo
79.6%79.6%
79.6 % 266 / 334 96.6 % 28 / 29
contrib/bloom
90.6%90.6%
90.6 % 464 / 512 96.7 % 29 / 30
src/backend/access/heap
83.8%83.8%
83.8 % 5236 / 6250 96.6 % 199 / 206
src/backend/optimizer/prep
86.1%86.1%
86.1 % 1447 / 1681 96.8 % 60 / 62
contrib/dblink
86.6%86.6%
86.6 % 935 / 1080 97.4 % 74 / 76
src/bin/pgbench
88.1%88.1%
88.1 % 2540 / 2884 97.7 % 125 / 128
src/bin/scripts
71.3%71.3%
71.3 % 1292 / 1813 97.7 % 43 / 44
src/backend/utils/sort
89.6%89.6%
89.6 % 2128 / 2375 97.9 % 138 / 141
src/backend/parser
85.9%85.9%
85.9 % 18433 / 21458 97.9 % 412 / 421
src/include/access
96.7%96.7%
96.7 % 148 / 153 98.0 % 50 / 51
src/backend/utils/cache
89.7%89.7%
89.7 % 5443 / 6071 98.0 % 393 / 401
src/backend/utils/time
78.6%78.6%
78.6 % 601 / 765 98.4 % 62 / 63
contrib/btree_gist
96.1%96.1%
96.1 % 2029 / 2112 98.4 % 499 / 507
src/backend/rewrite
89.4%89.4%
89.4 % 1885 / 2108 98.8 % 79 / 80
contrib/postgres_fdw
91.2%91.2%
91.2 % 3216 / 3526 98.7 % 156 / 158
src/backend/optimizer/plan
95.7%95.7%
95.7 % 6893 / 7203 99.3 % 273 / 275
src/pl/plpython
89.8%89.8%
89.8 % 2180 / 2427 99.4 % 154 / 155
src/backend/optimizer/path
95.1%95.1%
95.1 % 5807 / 6106 99.6 % 261 / 262
src/interfaces/ecpg/test/compat_oracle
100.0%
100.0 % 35 / 35 100.0 % 2 / 2
src/include/catalog
100.0%
100.0 % 10 / 10 100.0 % 2 / 2
src/include/replication
83.3%83.3%
83.3 % 10 / 12 100.0 % 2 / 2
src/test/modules/test_predtest
87.2%87.2%
87.2 % 75 / 86 100.0 % 3 / 3
contrib/lo
88.9%88.9%
88.9 % 32 / 36 100.0 % 3 / 3
src/bin/pg_config
97.0%97.0%
97.0 % 64 / 66 100.0 % 4 / 4
src/test/modules/test_ginpostinglist
84.0%84.0%
84.0 % 21 / 25 100.0 % 4 / 4
contrib/ltree_plpython
93.3%93.3%
93.3 % 14 / 15 100.0 % 4 / 4
src/bin/pg_controldata
87.2%87.2%
87.2 % 123 / 141 100.0 % 4 / 4
src/backend/utils/mb/conversion_procs/utf8_and_sjis2004
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/interfaces/ecpg/test/connect
100.0%
100.0 % 102 / 102 100.0 % 5 / 5
src/interfaces/ecpg/test
91.3%91.3%
91.3 % 63 / 69 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_euc2004
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
contrib/dict_int
84.4%84.4%
84.4 % 27 / 32 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_johab
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
contrib/earthdistance
90.9%90.9%
90.9 % 20 / 22 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_euc_tw
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/mb/conversion_procs/utf8_and_big5
100.0%
100.0 % 17 / 17 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_iso8859
92.0%92.0%
92.0 % 23 / 25 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_gbk
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/include
100.0%
100.0 % 22 / 22 100.0 % 6 / 6
src/backend/snowball
71.2%71.2%
71.2 % 47 / 66 100.0 % 6 / 6
src/interfaces/ecpg/test/pgtypeslib
97.1%97.1%
97.1 % 593 / 611 100.0 % 6 / 6
contrib/hstore_plperl
100.0%
100.0 % 58 / 58 100.0 % 6 / 6
src/bin/pg_archivecleanup
96.0%96.0%
96.0 % 121 / 126 100.0 % 6 / 6
src/test/modules/test_bloomfilter
92.7%92.7%
92.7 % 38 / 41 100.0 % 6 / 6
contrib/hstore_plpython
95.3%95.3%
95.3 % 61 / 64 100.0 % 6 / 6
src/backend/utils/mb/conversion_procs/euc_cn_and_mic
68.5%68.5%
68.5 % 37 / 54 100.0 % 7 / 7
src/backend/storage/sync
83.7%83.7%
83.7 % 103 / 123 100.0 % 7 / 7
src/backend/utils/mb/conversion_procs/euc_kr_and_mic
66.7%66.7%
66.7 % 38 / 57 100.0 % 7 / 7
src/test/modules/test_ddl_deparse
26.1%26.1%
26.1 % 60 / 230 100.0 % 7 / 7
src/test/modules/worker_spi
92.6%92.6%
92.6 % 112 / 121 100.0 % 8 / 8
contrib/dict_xsyn
96.2%96.2%
96.2 % 100 / 104 100.0 % 8 / 8
src/backend/utils/mb/conversion_procs/utf8_and_cyrillic
100.0%
100.0 % 33 / 33 100.0 % 9 / 9
src/test/modules/test_parser
100.0%
100.0 % 45 / 45 100.0 % 9 / 9
src/test/modules/test_integerset
84.0%84.0%
84.0 % 200 / 238 100.0 % 9 / 9
src/interfaces/ecpg/test/thread
91.2%91.2%
91.2 % 125 / 137 100.0 % 10 / 10
contrib/tsm_system_rows
96.7%96.7%
96.7 % 89 / 92 100.0 % 10 / 10
contrib/unaccent
85.0%85.0%
85.0 % 130 / 153 100.0 % 10 / 10
contrib/tsm_system_time
95.8%95.8%
95.8 % 91 / 95 100.0 % 10 / 10
contrib/jsonb_plperl
94.3%94.3%
94.3 % 116 / 123 100.0 % 10 / 10
src/include/libpq
100.0%
100.0 % 49 / 49 100.0 % 10 / 10
src/bin/pg_resetwal
70.5%70.5%
70.5 % 364 / 516 100.0 % 12 / 12
src/backend/access/tablesample
99.2%99.2%
99.2 % 127 / 128 100.0 % 12 / 12
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/latin2_and_win1250
100.0%
100.0 % 49 / 49 100.0 % 13 / 13
src/backend/storage/large_object
94.7%94.7%
94.7 % 286 / 302 100.0 % 14 / 14
contrib/test_decoding
90.1%90.1%
90.1 % 200 / 222 100.0 % 14 / 14
src/include/common
100.0%
100.0 % 33 / 33 100.0 % 14 / 14
contrib/jsonb_plpython
82.7%82.7%
82.7 % 158 / 191 100.0 % 14 / 14
src/test/modules/test_rbtree
85.6%85.6%
85.6 % 131 / 153 100.0 % 15 / 15
src/include/storage
100.0%
100.0 % 95 / 95 100.0 % 15 / 15
src/include/executor
100.0%
100.0 % 68 / 68 100.0 % 17 / 17
src/backend/replication/pgoutput
90.7%90.7%
90.7 % 206 / 227 100.0 % 17 / 17
contrib/tablefunc
90.3%90.3%
90.3 % 383 / 424 100.0 % 19 / 19
src/backend/utils/mb/conversion_procs/euc_jp_and_sjis
36.1%36.1%
36.1 % 115 / 319 100.0 % 19 / 19
src/backend/replication/libpqwalreceiver
81.7%81.7%
81.7 % 282 / 345 100.0 % 21 / 21
src/backend/foreign
89.2%89.2%
89.2 % 222 / 249 100.0 % 22 / 22
src/backend/storage/page
90.5%90.5%
90.5 % 342 / 378 100.0 % 22 / 22
contrib/amcheck
72.6%72.6%
72.6 % 349 / 481 100.0 % 26 / 26
src/interfaces/ecpg/test/preproc
98.5%98.5%
98.5 % 593 / 602 100.0 % 27 / 27
src/include/port/atomics
100.0%
100.0 % 74 / 74 100.0 % 27 / 27
src/include/port
100.0%
100.0 % 67 / 67 100.0 % 30 / 30
src/backend/access/table
90.3%90.3%
90.3 % 299 / 331 100.0 % 31 / 31
contrib/citext
100.0%
100.0 % 156 / 156 100.0 % 35 / 35
src/backend/utils/mb/conversion_procs/cyrillic_and_mic
100.0%
100.0 % 161 / 161 100.0 % 41 / 41
src/backend/access/index
93.1%93.1%
93.1 % 444 / 477 100.0 % 42 / 42
src/include/utils
96.4%96.4%
96.4 % 188 / 195 100.0 % 46 / 46
contrib/pageinspect
84.5%84.5%
84.5 % 866 / 1025 100.0 % 59 / 59
src/backend/partitioning
94.3%94.3%
94.3 % 1908 / 2024 100.0 % 60 / 60
contrib/btree_gin
93.2%93.2%
93.2 % 179 / 192 100.0 % 202 / 202
src/backend/optimizer/util
92.2%92.2%
92.2 % 6143 / 6662 100.0 % 306 / 306

Generated by: LCOV version 1.13