LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: PostgreSQL 13devel Lines: 308468 413118 74.7 %
Date: 2019-09-19 16:06:56 Functions: 19059 22449 84.9 %
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/auth_delay
0.0%
0.0 % 0 / 12 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 / 77 0.0 % 0 / 4
contrib/pg_buffercache
0.0%
0.0 % 0 / 83 0.0 % 0 / 3
contrib/auto_explain
0.0%
0.0 % 0 / 106 0.0 % 0 / 7
contrib/pgrowlocks
0.0%
0.0 % 0 / 118 0.0 % 0 / 3
contrib/sslinfo
0.0%
0.0 % 0 / 160 0.0 % 0 / 24
src/bin/pg_test_fsync
0.0%
0.0 % 0 / 213 0.0 % 0 / 12
contrib/pg_standby
0.0%
0.0 % 0 / 309 0.0 % 0 / 11
contrib/pg_prewarm
0.0%
0.0 % 0 / 373 0.0 % 0 / 19
src/bin/pg_waldump
2.6%2.6%
2.6 % 53 / 2005 2.1 % 2 / 95
src/backend/snowball/libstemmer
3.7%3.7%
3.7 % 511 / 13864 5.9 % 35 / 592
src/backend/access/rmgrdesc
14.5%14.5%
14.5 % 153 / 1052 18.6 % 11 / 59
contrib/vacuumlo
15.1%15.1%
15.1 % 41 / 272 66.7 % 2 / 3
contrib/oid2name
15.2%15.2%
15.2 % 37 / 244 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
contrib/fuzzystrmatch
26.0%26.0%
26.0 % 228 / 878 82.9 % 29 / 35
src/backend/utils/mb/conversion_procs/euc2004_sjis2004
26.7%26.7%
26.7 % 39 / 146 87.5 % 7 / 8
src/test/modules/test_ddl_deparse
29.7%29.7%
29.7 % 49 / 165 100.0 % 7 / 7
src/interfaces/ecpg/preproc
35.5%35.5%
35.5 % 3176 / 8959 88.3 % 83 / 94
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
36.5%36.5%
36.5 % 545 / 1492 51.1 % 72 / 141
src/bin/psql
40.5%40.5%
40.5 % 3826 / 9456 42.9 % 208 / 485
src/backend/utils/mb/conversion_procs/euc_tw_and_big5
40.8%40.8%
40.8 % 98 / 240 85.0 % 17 / 20
src/backend/main
41.8%41.8%
41.8 % 41 / 98 80.0 % 4 / 5
src/interfaces/libpq
43.8%43.8%
43.8 % 3711 / 8474 63.9 % 283 / 443
contrib/adminpack
44.4%44.4%
44.4 % 75 / 169 68.2 % 15 / 22
contrib/xml2
49.3%49.3%
49.3 % 150 / 304 64.0 % 16 / 25
contrib/pgstattuple
52.0%52.0%
52.0 % 271 / 521 73.5 % 36 / 49
src/backend/libpq
55.3%55.3%
55.3 % 2205 / 3987 82.6 % 190 / 230
src/bin/initdb
56.7%56.7%
56.7 % 1192 / 2104 81.1 % 86 / 106
src/bin/pg_upgrade
56.9%56.9%
56.9 % 1315 / 2312 81.9 % 86 / 105
src/bin/pg_basebackup
58.1%58.1%
58.1 % 1546 / 2663 84.8 % 78 / 92
src/interfaces/ecpg/pgtypeslib
59.2%59.2%
59.2 % 1877 / 3170 87.1 % 88 / 101
contrib/pg_stat_statements
60.3%60.3%
60.3 % 681 / 1130 79.1 % 34 / 43
contrib/spi
60.5%60.5%
60.5 % 201 / 332 60.0 % 9 / 15
src/backend/utils/error
61.1%61.1%
61.1 % 690 / 1130 85.5 % 53 / 62
src/backend/access/gist
63.8%63.8%
63.8 % 1926 / 3021 66.4 % 101 / 152
src/backend/access/hash
65.8%65.8%
65.8 % 1531 / 2326 80.4 % 90 / 112
src/timezone
66.1%66.1%
66.1 % 1937 / 2931 88.0 % 103 / 117
src/backend/utils/mmgr
66.2%66.2%
66.2 % 1558 / 2355 78.3 % 119 / 152
src/bin/pg_ctl
66.2%66.2%
66.2 % 447 / 675 92.9 % 26 / 28
src/backend/utils/mb/conversion_procs/euc_kr_and_mic
66.7%66.7%
66.7 % 38 / 57 100.0 % 7 / 7
src/interfaces/ecpg/compatlib
66.7%66.7%
66.7 % 316 / 474 59.6 % 28 / 47
src/interfaces/ecpg/ecpglib
67.1%67.1%
67.1 % 2352 / 3503 94.3 % 133 / 141
src/backend/access/gin
68.2%68.2%
68.2 % 2624 / 3845 76.3 % 129 / 169
src/backend/utils/mb/conversion_procs/euc_cn_and_mic
68.5%68.5%
68.5 % 37 / 54 100.0 % 7 / 7
src/bin/pg_rewind
68.5%68.5%
68.5 % 1109 / 1618 87.7 % 71 / 81
contrib/pg_visibility
68.9%68.9%
68.9 % 195 / 283 82.6 % 19 / 23
src/port
70.1%70.1%
70.1 % 1107 / 1579 87.8 % 101 / 115
src/bin/pg_resetwal
70.5%70.5%
70.5 % 358 / 508 100.0 % 12 / 12
src/backend/regex
70.8%70.8%
70.8 % 2988 / 4220 90.1 % 172 / 191
src/backend/snowball
71.2%71.2%
71.2 % 47 / 66 100.0 % 6 / 6
src/backend/postmaster
71.3%71.3%
71.3 % 4228 / 5934 87.0 % 254 / 292
src/backend/utils/misc
71.4%71.4%
71.4 % 2611 / 3657 90.4 % 198 / 219
src/backend/port
71.9%71.9%
71.9 % 161 / 224 95.0 % 19 / 20
contrib/amcheck
72.5%72.5%
72.5 % 348 / 480 100.0 % 26 / 26
src/backend/utils/fmgr
72.7%72.7%
72.7 % 1106 / 1522 85.1 % 86 / 101
src/bin/pg_checksums
72.8%72.8%
72.8 % 174 / 239 83.3 % 5 / 6
src/test/regress
73.0%73.0%
73.0 % 1004 / 1376 93.9 % 77 / 82
contrib/dict_int
73.3%73.3%
73.3 % 22 / 30 100.0 % 5 / 5
src/backend/tcop
73.3%73.3%
73.3 % 2530 / 3450 85.3 % 87 / 102
src/bin/scripts
73.7%73.7%
73.7 % 1231 / 1671 95.8 % 46 / 48
src/backend/access/brin
74.1%74.1%
74.1 % 1272 / 1717 80.8 % 63 / 78
src/backend/bootstrap
75.3%75.3%
75.3 % 507 / 673 95.5 % 21 / 22
contrib/seg
75.4%75.4%
75.4 % 460 / 610 88.9 % 64 / 72
contrib/file_fdw
76.1%76.1%
76.1 % 239 / 314 90.9 % 20 / 22
src/backend/storage/ipc
76.2%76.2%
76.2 % 2511 / 3296 85.1 % 206 / 242
src/backend/access/spgist
76.8%76.8%
76.8 % 2367 / 3082 86.2 % 100 / 116
contrib/isn
76.9%76.9%
76.9 % 370 / 481 88.9 % 40 / 45
src/backend/storage/file
77.1%77.1%
77.1 % 1026 / 1331 94.2 % 113 / 120
src/backend/utils/sort
77.4%77.4%
77.4 % 1807 / 2334 91.5 % 129 / 141
src/test/isolation
77.8%77.8%
77.8 % 474 / 609 95.5 % 21 / 22
src/backend/storage/smgr
78.0%78.0%
78.0 % 352 / 451 96.0 % 48 / 50
src/backend/jit
78.2%78.2%
78.2 % 43 / 55 85.7 % 6 / 7
src/backend/access/transam
78.1%78.1%
78.1 % 7790 / 9969 88.2 % 500 / 567
src/backend/utils/time
78.6%78.6%
78.6 % 601 / 765 98.4 % 62 / 63
src/backend/jit/llvm
78.8%78.8%
78.8 % 1288 / 1635 94.1 % 48 / 51
src/backend/replication
78.9%78.9%
78.9 % 3047 / 3862 88.9 % 152 / 171
src/backend/utils/adt
78.9%78.9%
78.9 % 43558 / 55220 82.5 % 3181 / 3858
src/backend/optimizer/geqo
79.6%79.6%
79.6 % 266 / 334 96.6 % 28 / 29
src/backend/utils/init
80.7%80.7%
80.7 % 562 / 696 92.9 % 52 / 56
src/backend/access/nbtree
80.7%80.7%
80.7 % 3425 / 4243 88.4 % 153 / 173
src/backend/nodes
80.8%80.8%
80.8 % 10319 / 12775 84.8 % 914 / 1078
src/bin/pg_dump
80.9%80.9%
80.9 % 10381 / 12834 93.3 % 484 / 519
src/pl/plpgsql/src
81.0%81.0%
81.0 % 5026 / 6207 84.6 % 225 / 266
src/backend/storage/lmgr
81.3%81.3%
81.3 % 3534 / 4345 90.8 % 228 / 251
contrib/jsonb_plpython
82.0%82.0%
82.0 % 150 / 183 100.0 % 14 / 14
src/backend/replication/libpqwalreceiver
82.4%82.4%
82.4 % 272 / 330 100.0 % 20 / 20
contrib/hstore
82.7%82.7%
82.7 % 1371 / 1658 75.5 % 120 / 159
src/backend/storage/buffer
82.8%82.8%
82.8 % 1217 / 1470 92.9 % 92 / 99
src/test/modules/test_shm_mq
82.8%82.8%
82.8 % 183 / 221 87.5 % 14 / 16
src/backend/storage/sync
82.9%82.9%
82.9 % 102 / 123 100.0 % 7 / 7
src/include/replication
83.3%83.3%
83.3 % 10 / 12 100.0 % 2 / 2
src/common
83.3%83.3%
83.3 % 1851 / 2222 96.6 % 144 / 149
src/backend/access/heap
83.5%83.5%
83.5 % 4862 / 5822 96.3 % 182 / 189
src/backend/utils/hash
83.8%83.8%
83.8 % 532 / 635 93.2 % 41 / 44
src/backend/access/common
83.8%83.8%
83.8 % 2000 / 2387 87.3 % 110 / 126
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
contrib/pageinspect
84.6%84.6%
84.6 % 860 / 1016 100.0 % 59 / 59
src/backend/replication/logical
84.8%84.8%
84.8 % 3864 / 4556 94.5 % 258 / 273
src/backend/commands
85.0%85.0%
85.0 % 22313 / 26261 95.5 % 897 / 939
src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1
85.1%85.1%
85.1 % 40 / 47 100.0 % 5 / 5
contrib/pgcrypto
85.6%85.6%
85.6 % 3795 / 4435 95.9 % 305 / 318
src/test/modules/test_rbtree
85.6%85.6%
85.6 % 131 / 153 100.0 % 15 / 15
contrib/unaccent
85.8%85.8%
85.8 % 127 / 148 100.0 % 10 / 10
src/backend/utils/resowner
85.9%85.9%
85.9 % 318 / 370 87.3 % 48 / 55
contrib/passwordcheck
86.2%86.2%
86.2 % 25 / 29 75.0 % 3 / 4
src/include/lib
86.3%86.3%
86.3 % 284 / 329 90.6 % 58 / 64
src/backend/parser
86.4%86.4%
86.4 % 16120 / 18664 97.9 % 413 / 422
src/backend/optimizer/prep
86.5%86.5%
86.5 % 1383 / 1599 96.7 % 59 / 61
contrib/dblink
86.8%86.8%
86.8 % 939 / 1082 97.4 % 74 / 76
src/backend/lib
86.8%86.8%
86.8 % 1028 / 1185 87.2 % 95 / 109
src/test/modules/test_predtest
87.2%87.2%
87.2 % 75 / 86 100.0 % 3 / 3
src/bin/pgbench
87.4%87.4%
87.4 % 2289 / 2620 97.6 % 120 / 123
contrib/cube
87.6%87.6%
87.6 % 880 / 1004 96.0 % 95 / 99
src/fe_utils
87.7%87.7%
87.7 % 2050 / 2338 94.5 % 103 / 109
src/backend/catalog
87.9%87.9%
87.9 % 10599 / 12064 95.7 % 495 / 517
src/backend/statistics
88.0%88.0%
88.0 % 1218 / 1384 85.9 % 67 / 78
contrib/pg_trgm
88.5%88.5%
88.5 % 1373 / 1551 92.2 % 106 / 115
src/test/modules/dummy_seclabel
88.9%88.9%
88.9 % 16 / 18 80.0 % 4 / 5
contrib/lo
88.9%88.9%
88.9 % 32 / 36 100.0 % 3 / 3
contrib/ltree
88.9%88.9%
88.9 % 1703 / 1915 92.3 % 155 / 168
src/backend/foreign
89.3%89.3%
89.3 % 216 / 242 100.0 % 22 / 22
src/pl/plperl
89.3%89.3%
89.3 % 1586 / 1777 91.0 % 101 / 111
src/backend/tsearch
89.3%89.3%
89.3 % 3181 / 3562 90.0 % 198 / 220
src/pl/plpython
89.4%89.4%
89.4 % 2176 / 2434 99.4 % 154 / 155
src/backend/utils/cache
89.7%89.7%
89.7 % 5392 / 6014 98.0 % 391 / 399
src/backend/rewrite
89.7%89.7%
89.7 % 1846 / 2057 98.8 % 79 / 80
src/backend/replication/pgoutput
90.0%90.0%
90.0 % 197 / 219 100.0 % 17 / 17
contrib/intarray
90.0%90.0%
90.0 % 1268 / 1409 92.4 % 133 / 144
src/include/nodes
90.0%90.0%
90.0 % 63 / 70 95.5 % 21 / 22
src/backend/storage/page
90.5%90.5%
90.5 % 342 / 378 100.0 % 22 / 22
src/pl/tcl
90.4%90.4%
90.4 % 955 / 1056 87.2 % 41 / 47
contrib/test_decoding
90.7%90.7%
90.7 % 194 / 214 100.0 % 14 / 14
src/bin/pg_controldata
90.8%90.8%
90.8 % 118 / 130 100.0 % 4 / 4
contrib/bloom
90.8%90.8%
90.8 % 462 / 509 96.7 % 29 / 30
src/interfaces/ecpg/test/compat_informix
90.7%90.7%
90.7 % 636 / 701 95.2 % 20 / 21
contrib/postgres_fdw
90.7%90.7%
90.7 % 3118 / 3436 98.7 % 155 / 157
contrib/earthdistance
90.9%90.9%
90.9 % 20 / 22 100.0 % 5 / 5
contrib/tablefunc
91.0%91.0%
91.0 % 382 / 420 100.0 % 19 / 19
src/interfaces/ecpg/test/thread
91.0%91.0%
91.0 % 122 / 134 100.0 % 10 / 10
src/backend/executor
91.0%91.0%
91.0 % 16765 / 18413 93.1 % 846 / 909
src/interfaces/ecpg/test
91.3%91.3%
91.3 % 63 / 69 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_iso8859
92.0%92.0%
92.0 % 23 / 25 100.0 % 5 / 5
contrib/hstore_plpython
92.4%92.4%
92.4 % 61 / 66 100.0 % 6 / 6
src/backend/optimizer/util
92.4%92.4%
92.4 % 6015 / 6509 99.7 % 306 / 307
src/test/modules/worker_spi
92.6%92.6%
92.6 % 112 / 121 100.0 % 8 / 8
src/backend/access/table
92.5%92.5%
92.5 % 296 / 320 100.0 % 31 / 31
src/backend/storage/freespace
92.5%92.5%
92.5 % 309 / 334 100.0 % 32 / 32
src/test/modules/test_bloomfilter
92.7%92.7%
92.7 % 38 / 41 100.0 % 6 / 6
src/test/modules/test_rls_hooks
93.2%93.2%
93.2 % 55 / 59 80.0 % 4 / 5
contrib/ltree_plpython
93.3%93.3%
93.3 % 14 / 15 100.0 % 4 / 4
src/backend/access/index
93.5%93.5%
93.5 % 448 / 479 100.0 % 42 / 42
contrib/btree_gin
94.5%94.5%
94.5 % 172 / 182 100.0 % 202 / 202
src/backend/partitioning
94.6%94.6%
94.6 % 1870 / 1976 100.0 % 60 / 60
src/backend/storage/large_object
95.0%95.0%
95.0 % 283 / 298 100.0 % 14 / 14
src/backend/optimizer/path
95.2%95.2%
95.2 % 5737 / 6025 99.6 % 260 / 261
contrib/jsonb_plperl
95.5%95.5%
95.5 % 105 / 110 100.0 % 10 / 10
src/backend/optimizer/plan
95.7%95.7%
95.7 % 6760 / 7065 99.3 % 272 / 274
contrib/tsm_system_time
95.8%95.8%
95.8 % 91 / 95 100.0 % 10 / 10
src/include/utils
95.9%95.9%
95.9 % 187 / 195 100.0 % 46 / 46
src/bin/pg_archivecleanup
95.9%95.9%
95.9 % 117 / 122 100.0 % 6 / 6
contrib/dict_xsyn
96.2%96.2%
96.2 % 100 / 104 100.0 % 8 / 8
contrib/btree_gist
96.1%96.1%
96.1 % 1996 / 2076 98.4 % 499 / 507
src/interfaces/ecpg/test/sql
96.5%96.5%
96.5 % 1325 / 1373 97.0 % 32 / 33
src/include/access
96.6%96.6%
96.6 % 143 / 148 98.0 % 48 / 49
contrib/tsm_system_rows
96.7%96.7%
96.7 % 89 / 92 100.0 % 10 / 10
src/include/jit
96.8%96.8%
96.8 % 61 / 63 94.7 % 18 / 19
src/bin/pg_config
97.0%97.0%
97.0 % 64 / 66 100.0 % 4 / 4
src/interfaces/ecpg/test/pgtypeslib
97.5%97.5%
97.5 % 576 / 591 100.0 % 6 / 6
src/interfaces/ecpg/test/preproc
98.5%98.5%
98.5 % 592 / 601 100.0 % 27 / 27
src/backend/access/tablesample
99.2%99.2%
99.2 % 127 / 128 100.0 % 12 / 12
src/include/catalog
100.0%
100.0 % 10 / 10 100.0 % 2 / 2
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_big5
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_euc2004
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_euc_kr
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_johab
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_sjis2004
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/include
100.0%
100.0 % 22 / 22 100.0 % 6 / 6
src/backend/utils/mb/conversion_procs/utf8_and_cyrillic
100.0%
100.0 % 33 / 33 100.0 % 9 / 9
src/include/common
100.0%
100.0 % 33 / 33 100.0 % 14 / 14
src/interfaces/ecpg/test/compat_oracle
100.0%
100.0 % 35 / 35 100.0 % 2 / 2
src/test/modules/test_parser
100.0%
100.0 % 45 / 45 100.0 % 9 / 9
src/include/libpq
100.0%
100.0 % 49 / 49 100.0 % 10 / 10
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
contrib/hstore_plperl
100.0%
100.0 % 58 / 58 100.0 % 6 / 6
src/include/port
100.0%
100.0 % 65 / 65 100.0 % 29 / 29
src/include/executor
100.0%
100.0 % 68 / 68 100.0 % 17 / 17
src/include/port/atomics
100.0%
100.0 % 74 / 74 100.0 % 27 / 27
src/include/storage
100.0%
100.0 % 95 / 95 100.0 % 15 / 15
src/interfaces/ecpg/test/connect
100.0%
100.0 % 102 / 102 100.0 % 5 / 5
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

Generated by: LCOV version 1.13