LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: PostgreSQL 12devel Lines: 295251 401048 73.6 %
Date: 2019-02-21 15:20:26 Functions: 18162 21811 83.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/adminpack
44.4%44.4%
44.4 % 75 / 169 68.2 % 15 / 22
contrib/amcheck
74.0%74.0%
74.0 % 279 / 377 100.0 % 20 / 20
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.7%90.7%
90.7 % 460 / 507 96.7 % 29 / 30
contrib/btree_gin
94.5%94.5%
94.5 % 172 / 182 100.0 % 202 / 202
contrib/btree_gist
96.1%96.1%
96.1 % 1996 / 2076 98.4 % 499 / 507
contrib/citext
100.0%
100.0 % 156 / 156 100.0 % 35 / 35
contrib/cube
87.6%87.6%
87.6 % 880 / 1004 96.0 % 95 / 99
contrib/dblink
86.8%86.8%
86.8 % 939 / 1082 97.4 % 74 / 76
contrib/dict_int
73.3%73.3%
73.3 % 22 / 30 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
26.0%26.0%
26.0 % 228 / 878 82.9 % 29 / 35
contrib/hstore
82.7%82.7%
82.7 % 1371 / 1658 75.5 % 120 / 159
contrib/hstore_plperl
100.0%
100.0 % 58 / 58 100.0 % 6 / 6
contrib/hstore_plpython
92.6%92.6%
92.6 % 63 / 68 100.0 % 6 / 6
contrib/intarray
85.1%85.1%
85.1 % 1199 / 1409 91.0 % 131 / 144
contrib/isn
76.9%76.9%
76.9 % 370 / 481 88.9 % 40 / 45
contrib/jsonb_plperl
95.5%95.5%
95.5 % 105 / 110 100.0 % 10 / 10
contrib/jsonb_plpython
90.1%90.1%
90.1 % 136 / 151 100.0 % 14 / 14
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
contrib/ltree_plpython
93.3%93.3%
93.3 % 14 / 15 100.0 % 4 / 4
contrib/oid2name
15.1%15.1%
15.1 % 36 / 238 27.3 % 3 / 11
contrib/pageinspect
83.7%83.7%
83.7 % 787 / 940 100.0 % 57 / 57
contrib/passwordcheck
100.0%
100.0 % 23 / 23 100.0 % 3 / 3
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 / 309 0.0 % 0 / 11
contrib/pg_stat_statements
59.6%59.6%
59.6 % 667 / 1120 78.6 % 33 / 42
contrib/pg_trgm
88.6%88.6%
88.6 % 1379 / 1557 92.2 % 106 / 115
contrib/pg_visibility
68.9%68.9%
68.9 % 195 / 283 82.6 % 19 / 23
contrib/pgcrypto
85.5%85.5%
85.5 % 3795 / 4440 95.9 % 305 / 318
contrib/pgrowlocks
0.0%
0.0 % 0 / 114 0.0 % 0 / 3
contrib/pgstattuple
51.9%51.9%
51.9 % 268 / 516 73.5 % 36 / 49
contrib/postgres_fdw
90.5%90.5%
90.5 % 2893 / 3198 98.7 % 149 / 151
contrib/seg
75.4%75.4%
75.4 % 460 / 610 88.9 % 64 / 72
contrib/spi
61.1%61.1%
61.1 % 201 / 329 60.0 % 9 / 15
contrib/sslinfo
0.0%
0.0 % 0 / 160 0.0 % 0 / 24
contrib/tablefunc
91.0%91.0%
91.0 % 383 / 421 100.0 % 19 / 19
contrib/tcn
0.0%
0.0 % 0 / 67 0.0 % 0 / 4
contrib/test_decoding
90.7%90.7%
90.7 % 194 / 214 100.0 % 14 / 14
contrib/tsm_system_rows
96.4%96.4%
96.4 % 107 / 111 100.0 % 11 / 11
contrib/tsm_system_time
95.8%95.8%
95.8 % 92 / 96 100.0 % 10 / 10
contrib/unaccent
85.8%85.8%
85.8 % 127 / 148 100.0 % 10 / 10
contrib/vacuumlo
14.2%14.2%
14.2 % 40 / 281 66.7 % 2 / 3
contrib/xml2
49.3%49.3%
49.3 % 150 / 304 64.0 % 16 / 25
src/backend/access/brin
73.8%73.8%
73.8 % 1267 / 1716 79.5 % 62 / 78
src/backend/access/common
82.9%82.9%
82.9 % 1614 / 1948 85.2 % 92 / 108
src/backend/access/gin
67.7%67.7%
67.7 % 2618 / 3866 75.9 % 129 / 170
src/backend/access/gist
62.4%62.4%
62.4 % 1774 / 2841 65.3 % 94 / 144
src/backend/access/hash
66.3%66.3%
66.3 % 1630 / 2458 80.3 % 94 / 117
src/backend/access/heap
80.9%80.9%
80.9 % 4504 / 5568 95.1 % 174 / 183
src/backend/access/index
92.6%92.6%
92.6 % 435 / 470 100.0 % 41 / 41
src/backend/access/nbtree
79.9%79.9%
79.9 % 3135 / 3924 88.8 % 142 / 160
src/backend/access/rmgrdesc
14.7%14.7%
14.7 % 153 / 1042 19.3 % 11 / 57
src/backend/access/spgist
77.6%77.6%
77.6 % 2414 / 3111 88.0 % 103 / 117
src/backend/access/table
78.6%78.6%
78.6 % 22 / 28 100.0 % 4 / 4
src/backend/access/tablesample
99.2%99.2%
99.2 % 128 / 129 100.0 % 12 / 12
src/backend/access/transam
77.6%77.6%
77.6 % 7702 / 9921 88.6 % 495 / 559
src/backend/bootstrap
75.3%75.3%
75.3 % 505 / 671 95.5 % 21 / 22
src/backend/catalog
87.8%87.8%
87.8 % 10465 / 11925 96.1 % 490 / 510
src/backend/commands
84.5%84.5%
84.5 % 21573 / 25543 95.3 % 866 / 909
src/backend/executor
90.9%90.9%
90.9 % 16785 / 18465 92.9 % 838 / 902
src/backend/foreign
89.3%89.3%
89.3 % 216 / 242 100.0 % 22 / 22
src/backend/jit
60.0%60.0%
60.0 % 33 / 55 71.4 % 5 / 7
src/backend/lib
83.8%83.8%
83.8 % 780 / 931 84.9 % 79 / 93
src/backend/libpq
54.9%54.9%
54.9 % 2131 / 3883 82.0 % 187 / 228
src/backend/main
41.8%41.8%
41.8 % 41 / 98 80.0 % 4 / 5
src/backend/nodes
60.2%60.2%
60.2 % 7612 / 12653 57.4 % 612 / 1066
src/backend/optimizer/geqo
79.4%79.4%
79.4 % 269 / 339 96.6 % 28 / 29
src/backend/optimizer/path
95.2%95.2%
95.2 % 5622 / 5905 99.6 % 254 / 255
src/backend/optimizer/plan
94.6%94.6%
94.6 % 6567 / 6943 98.1 % 265 / 270
src/backend/optimizer/prep
86.7%86.7%
86.7 % 1365 / 1574 96.6 % 57 / 59
src/backend/optimizer/util
92.3%92.3%
92.3 % 5884 / 6377 99.7 % 301 / 302
src/backend/parser
85.9%85.9%
85.9 % 15892 / 18495 97.6 % 409 / 419
src/backend/partitioning
95.3%95.3%
95.3 % 1775 / 1863 100.0 % 53 / 53
src/backend/port
58.4%58.4%
58.4 % 129 / 221 85.0 % 17 / 20
src/backend/postmaster
71.0%71.0%
71.0 % 4177 / 5881 86.5 % 250 / 289
src/backend/regex
70.5%70.5%
70.5 % 2971 / 4215 90.1 % 172 / 191
src/backend/replication
78.2%78.2%
78.2 % 2965 / 3790 89.1 % 147 / 165
src/backend/replication/libpqwalreceiver
82.6%82.6%
82.6 % 271 / 328 100.0 % 18 / 18
src/backend/replication/logical
84.8%84.8%
84.8 % 3863 / 4554 94.5 % 258 / 273
src/backend/replication/pgoutput
90.0%90.0%
90.0 % 197 / 219 100.0 % 17 / 17
src/backend/rewrite
89.5%89.5%
89.5 % 1829 / 2044 98.8 % 79 / 80
src/backend/snowball
71.2%71.2%
71.2 % 47 / 66 100.0 % 6 / 6
src/backend/snowball/libstemmer
4.0%4.0%
4.0 % 506 / 12509 6.3 % 35 / 555
src/backend/statistics
88.2%88.2%
88.2 % 596 / 676 85.4 % 41 / 48
src/backend/storage/buffer
82.5%82.5%
82.5 % 1209 / 1465 92.9 % 92 / 99
src/backend/storage/file
77.6%77.6%
77.6 % 1023 / 1319 94.2 % 113 / 120
src/backend/storage/freespace
90.0%90.0%
90.0 % 368 / 409 94.4 % 34 / 36
src/backend/storage/ipc
75.9%75.9%
75.9 % 2504 / 3301 84.7 % 205 / 242
src/backend/storage/large_object
95.0%95.0%
95.0 % 283 / 298 100.0 % 14 / 14
src/backend/storage/lmgr
80.1%80.1%
80.1 % 3407 / 4256 90.2 % 222 / 246
src/backend/storage/page
89.1%89.1%
89.1 % 336 / 377 100.0 % 22 / 22
src/backend/storage/smgr
74.6%74.6%
74.6 % 484 / 649 90.2 % 55 / 61
src/backend/tcop
73.0%73.0%
73.0 % 2491 / 3414 85.3 % 87 / 102
src/backend/tsearch
89.3%89.3%
89.3 % 3180 / 3562 90.0 % 198 / 220
src/backend/utils/adt
78.5%78.5%
78.5 % 40920 / 52136 82.1 % 3001 / 3654
src/backend/utils/cache
89.5%89.5%
89.5 % 5402 / 6034 97.5 % 390 / 400
src/backend/utils/error
61.0%61.0%
61.0 % 689 / 1130 85.5 % 53 / 62
src/backend/utils/fmgr
71.3%71.3%
71.3 % 1085 / 1522 84.2 % 85 / 101
src/backend/utils/hash
79.8%79.8%
79.8 % 414 / 519 92.5 % 37 / 40
src/backend/utils/init
78.8%78.8%
78.8 % 548 / 695 92.9 % 52 / 56
src/backend/utils/mb
36.0%36.0%
36.0 % 546 / 1516 50.3 % 72 / 143
src/backend/utils/mb/conversion_procs/ascii_and_mic
0.0%
0.0 % 0 / 17 0.0 % 0 / 5
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
26.7%26.7%
26.7 % 39 / 146 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.8%40.8%
40.8 % 98 / 240 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_ascii
52.9%52.9%
52.9 % 9 / 17 60.0 % 3 / 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_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
70.5%70.5%
70.5 % 2526 / 3581 90.2 % 193 / 214
src/backend/utils/mmgr
65.9%65.9%
65.9 % 1552 / 2354 77.6 % 118 / 152
src/backend/utils/resowner
82.2%82.2%
82.2 % 304 / 370 81.8 % 45 / 55
src/backend/utils/sort
77.4%77.4%
77.4 % 1806 / 2334 91.5 % 129 / 141
src/backend/utils/time
80.7%80.7%
80.7 % 611 / 757 100.0 % 62 / 62
src/bin/initdb
56.2%56.2%
56.2 % 1199 / 2135 81.9 % 86 / 105
src/bin/pg_archivecleanup
92.3%92.3%
92.3 % 120 / 130 100.0 % 6 / 6
src/bin/pg_basebackup
54.8%54.8%
54.8 % 1554 / 2834 84.8 % 78 / 92
src/bin/pg_config
97.0%97.0%
97.0 % 64 / 66 100.0 % 4 / 4
src/bin/pg_controldata
89.3%89.3%
89.3 % 117 / 131 100.0 % 4 / 4
src/bin/pg_ctl
66.1%66.1%
66.1 % 446 / 675 92.9 % 26 / 28
src/bin/pg_dump
80.4%80.4%
80.4 % 10356 / 12874 93.5 % 487 / 521
src/bin/pg_resetwal
67.1%67.1%
67.1 % 373 / 556 100.0 % 12 / 12
src/bin/pg_rewind
67.1%67.1%
67.1 % 1128 / 1680 86.9 % 73 / 84
src/bin/pg_test_fsync
0.0%
0.0 % 0 / 217 0.0 % 0 / 13
src/bin/pg_test_timing
0.0%
0.0 % 0 / 78 0.0 % 0 / 4
src/bin/pg_upgrade
56.8%56.8%
56.8 % 1308 / 2303 81.9 % 86 / 105
src/bin/pg_verify_checksums
78.4%78.4%
78.4 % 116 / 148 100.0 % 5 / 5
src/bin/pg_waldump
0.0%
0.0 % 0 / 2018 0.0 % 0 / 94
src/bin/pgbench
87.2%87.2%
87.2 % 2345 / 2688 97.7 % 127 / 130
src/bin/psql
39.4%39.4%
39.4 % 3630 / 9217 41.5 % 199 / 480
src/bin/scripts
71.0%71.0%
71.0 % 1106 / 1558 95.5 % 42 / 44
src/common
83.8%83.8%
83.8 % 1733 / 2069 95.7 % 134 / 140
src/fe_utils
86.8%86.8%
86.8 % 2013 / 2319 93.5 % 101 / 108
src/include
100.0%
100.0 % 22 / 22 100.0 % 6 / 6
src/include/access
100.0%
100.0 % 8 / 8 100.0 % 1 / 1
src/include/common
100.0%
100.0 % 33 / 33 100.0 % 14 / 14
src/include/executor
100.0%
100.0 % 62 / 62 100.0 % 17 / 17
src/include/lib
87.2%87.2%
87.2 % 280 / 321 93.1 % 54 / 58
src/include/libpq
100.0%
100.0 % 49 / 49 100.0 % 10 / 10
src/include/nodes
94.1%94.1%
94.1 % 32 / 34 100.0 % 11 / 11
src/include/port
100.0%
100.0 % 65 / 65 100.0 % 29 / 29
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
94.9%94.9%
94.9 % 185 / 195 100.0 % 46 / 46
src/interfaces/ecpg/compatlib
66.7%66.7%
66.7 % 316 / 474 59.6 % 28 / 47
src/interfaces/ecpg/ecpglib
66.7%66.7%
66.7 % 2284 / 3422 95.0 % 132 / 139
src/interfaces/ecpg/pgtypeslib
59.2%59.2%
59.2 % 1877 / 3172 87.1 % 88 / 101
src/interfaces/ecpg/preproc
35.2%35.2%
35.2 % 3140 / 8910 88.3 % 83 / 94
src/interfaces/ecpg/test
90.6%90.6%
90.6 % 58 / 64 100.0 % 5 / 5
src/interfaces/ecpg/test/compat_informix
90.7%90.7%
90.7 % 636 / 701 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
74.5%74.5%
74.5 % 76 / 102 80.0 % 4 / 5
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/interfaces/ecpg/test/sql
96.0%96.0%
96.0 % 1166 / 1214 96.8 % 30 / 31
src/interfaces/ecpg/test/thread
91.0%91.0%
91.0 % 122 / 134 100.0 % 10 / 10
src/interfaces/libpq
43.0%43.0%
43.0 % 3610 / 8405 64.1 % 282 / 440
src/pl/plperl
89.2%89.2%
89.2 % 1580 / 1772 91.0 % 101 / 111
src/pl/plpgsql/src
80.9%80.9%
80.9 % 4972 / 6144 84.5 % 224 / 265
src/pl/plpython
89.4%89.4%
89.4 % 2171 / 2429 99.4 % 154 / 155
src/pl/tcl
90.6%90.6%
90.6 % 952 / 1051 87.2 % 41 / 47
src/port
69.1%69.1%
69.1 % 1085 / 1571 85.0 % 96 / 113
src/test/isolation
75.8%75.8%
75.8 % 457 / 603 90.9 % 20 / 22
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
30.1%30.1%
30.1 % 49 / 163 100.0 % 7 / 7
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
0.0%
0.0 % 0 / 120 0.0 % 0 / 8
src/test/regress
72.0%72.0%
72.0 % 991 / 1376 92.8 % 77 / 83
src/timezone
68.9%68.9%
68.9 % 1958 / 2843 89.6 % 103 / 115

Generated by: LCOV version 1.13