LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: PostgreSQL 14devel Lines: 351355 464863 75.6 %
Date: 2021-04-23 17:07:27 Functions: 20808 24088 86.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/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/old_snapshot
0.0%
0.0 % 0 / 44 0.0 % 0 / 6
contrib/tcn
0.0%
0.0 % 0 / 67 0.0 % 0 / 4
contrib/pg_buffercache
0.0%
0.0 % 0 / 83 0.0 % 0 / 3
contrib/pgrowlocks
0.0%
0.0 % 0 / 120 0.0 % 0 / 3
contrib/sslinfo
0.0%
0.0 % 0 / 138 0.0 % 0 / 23
contrib/pg_prewarm
0.0%
0.0 % 0 / 359 0.0 % 0 / 17
src/backend/snowball/libstemmer
3.0%3.0%
3.0 % 533 / 18028 5.4 % 36 / 666
src/bin/pg_test_fsync
14.0%14.0%
14.0 % 31 / 222 16.7 % 2 / 12
src/backend/access/rmgrdesc
14.9%14.9%
14.9 % 196 / 1317 22.2 % 14 / 63
contrib/oid2name
14.9%14.9%
14.9 % 38 / 255 27.3 % 3 / 11
contrib/vacuumlo
15.3%15.3%
15.3 % 43 / 281 66.7 % 2 / 3
src/bin/pg_waldump
19.7%19.7%
19.7 % 495 / 2517 26.6 % 29 / 109
contrib/fuzzystrmatch
25.5%25.5%
25.5 % 235 / 921 82.9 % 29 / 35
src/test/modules/test_ddl_deparse
27.0%27.0%
27.0 % 63 / 233 100.0 % 7 / 7
src/interfaces/ecpg/preproc
28.9%28.9%
28.9 % 3919 / 13579 86.8 % 79 / 91
src/bin/pg_test_timing
35.7%35.7%
35.7 % 30 / 84 50.0 % 2 / 4
src/backend/utils/mb/conversion_procs/euc2004_sjis2004
40.4%40.4%
40.4 % 74 / 183 100.0 % 8 / 8
src/backend/main
41.8%41.8%
41.8 % 41 / 98 80.0 % 4 / 5
src/backend/utils/activity
45.0%45.0%
45.0 % 396 / 880 87.5 % 28 / 32
contrib/adminpack
46.3%46.3%
46.3 % 81 / 175 70.8 % 17 / 24
src/backend/utils/mb/conversion_procs/euc_jp_and_sjis
46.5%46.5%
46.5 % 167 / 359 100.0 % 19 / 19
contrib/xml2
48.5%48.5%
48.5 % 150 / 309 64.0 % 16 / 25
contrib/pgstattuple
51.1%51.1%
51.1 % 278 / 544 73.5 % 36 / 49
src/bin/psql
52.7%52.7%
52.7 % 5439 / 10314 50.2 % 249 / 496
src/interfaces/libpq
53.1%53.1%
53.1 % 4322 / 8136 75.5 % 308 / 408
src/bin/pg_upgrade
54.4%54.4%
54.4 % 1303 / 2394 78.7 % 85 / 108
src/bin/initdb
55.5%55.5%
55.5 % 1149 / 2070 80.0 % 80 / 100
src/backend/libpq
57.2%57.2%
57.2 % 2440 / 4268 84.3 % 194 / 230
src/bin/pg_basebackup
57.7%57.7%
57.7 % 1602 / 2777 83.3 % 80 / 96
src/backend/utils/error
57.9%57.9%
57.9 % 727 / 1256 85.1 % 57 / 67
src/backend/utils/mb/conversion_procs/euc_tw_and_big5
58.6%58.6%
58.6 % 204 / 348 100.0 % 22 / 22
src/interfaces/ecpg/pgtypeslib
58.9%58.9%
58.9 % 1996 / 3390 87.1 % 88 / 101
src/backend/utils/mb/conversion_procs/euc_kr_and_mic
59.2%59.2%
59.2 % 42 / 71 100.0 % 7 / 7
src/backend/utils/mb/conversion_procs/euc_cn_and_mic
60.3%60.3%
60.3 % 41 / 68 100.0 % 7 / 7
contrib/spi
60.9%60.9%
60.9 % 204 / 335 60.0 % 9 / 15
src/timezone
63.5%63.5%
63.5 % 1933 / 3042 86.4 % 102 / 118
src/backend/access/hash
63.8%63.8%
63.8 % 1517 / 2379 79.5 % 89 / 112
contrib/pg_stat_statements
64.6%64.6%
64.6 % 565 / 874 74.4 % 32 / 43
src/interfaces/ecpg/ecpglib
64.7%64.7%
64.7 % 2323 / 3591 93.8 % 121 / 129
src/backend/access/gist
64.7%64.7%
64.7 % 2104 / 3251 68.9 % 115 / 167
contrib/amcheck
64.9%64.9%
64.9 % 789 / 1215 92.2 % 47 / 51
src/interfaces/ecpg/compatlib
66.0%66.0%
66.0 % 324 / 491 58.7 % 27 / 46
src/bin/pg_ctl
66.2%66.2%
66.2 % 466 / 704 92.9 % 26 / 28
src/port
66.2%66.2%
66.2 % 1003 / 1516 86.9 % 93 / 107
src/backend/utils/mmgr
69.8%69.8%
69.8 % 1670 / 2391 81.9 % 127 / 155
src/backend/utils/misc
70.2%70.2%
70.2 % 3069 / 4370 91.2 % 217 / 238
src/backend/utils/mb
70.4%70.4%
70.4 % 625 / 888 80.0 % 56 / 70
src/bin/pg_resetwal
70.6%70.6%
70.6 % 365 / 517 100.0 % 12 / 12
src/test/modules/libpq_pipeline
70.8%70.8%
70.8 % 489 / 691 76.9 % 10 / 13
src/backend/port
71.0%71.0%
71.0 % 169 / 238 95.0 % 19 / 20
src/backend/snowball
71.2%71.2%
71.2 % 47 / 66 100.0 % 6 / 6
src/bin/pg_rewind
71.2%71.2%
71.2 % 1450 / 2036 88.1 % 89 / 101
src/bin/scripts
71.5%71.5%
71.5 % 1252 / 1750 96.6 % 28 / 29
src/backend/storage/ipc
72.7%72.7%
72.7 % 2860 / 3932 82.4 % 234 / 284
src/bin/pg_checksums
73.8%73.8%
73.8 % 192 / 260 83.3 % 5 / 6
src/backend/tcop
74.1%74.1%
74.1 % 3078 / 4155 88.0 % 95 / 108
contrib/seg
74.1%74.1%
74.1 % 478 / 645 88.9 % 64 / 72
src/backend/postmaster
74.6%74.6%
74.6 % 4268 / 5720 90.1 % 263 / 292
src/common
74.7%74.7%
74.7 % 3195 / 4277 86.7 % 248 / 286
src/backend/utils/fmgr
75.3%75.3%
75.3 % 1362 / 1808 87.0 % 94 / 108
contrib/isn
75.8%75.8%
75.8 % 382 / 504 88.9 % 40 / 45
contrib/file_fdw
75.9%75.9%
75.9 % 239 / 315 90.9 % 20 / 22
src/backend/access/brin
75.9%75.9%
75.9 % 2061 / 2715 81.4 % 118 / 145
src/backend/storage/file
76.3%76.3%
76.3 % 1110 / 1454 94.6 % 122 / 129
src/test/regress
76.7%76.7%
76.7 % 1118 / 1458 93.1 % 81 / 87
contrib/pg_visibility
76.9%76.9%
76.9 % 220 / 286 82.6 % 19 / 23
src/backend/access/transam
77.2%77.2%
77.2 % 8427 / 10916 86.3 % 536 / 621
src/backend/bootstrap
77.4%77.4%
77.4 % 585 / 756 95.7 % 22 / 23
src/backend/access/gin
77.4%77.4%
77.4 % 3048 / 3938 84.9 % 146 / 172
src/test/modules/delay_execution
77.8%77.8%
77.8 % 14 / 18 75.0 % 3 / 4
src/test/modules/dummy_index_am
77.8%77.8%
77.8 % 84 / 108 47.1 % 8 / 17
src/bin/pg_amcheck
78.0%78.0%
78.0 % 604 / 774 100.0 % 22 / 22
src/test/isolation
78.3%78.3%
78.3 % 511 / 653 95.5 % 21 / 22
src/backend/jit
78.6%78.6%
78.6 % 44 / 56 85.7 % 6 / 7
src/backend/optimizer/geqo
79.6%79.6%
79.6 % 266 / 334 96.6 % 28 / 29
src/backend/access/spgist
79.9%79.9%
79.9 % 2656 / 3325 89.3 % 108 / 121
src/backend/utils/hash
79.9%79.9%
79.9 % 402 / 503 91.4 % 32 / 35
src/backend/utils/time
80.0%80.0%
80.0 % 616 / 770 98.4 % 63 / 64
src/pl/plpgsql/src
80.6%80.6%
80.6 % 5412 / 6711 85.0 % 227 / 267
src/backend/nodes
80.7%80.7%
80.7 % 11847 / 14687 84.7 % 950 / 1122
src/backend/replication/libpqwalreceiver
80.8%80.8%
80.8 % 294 / 364 95.2 % 20 / 21
src/backend/utils/init
80.8%80.8%
80.8 % 623 / 771 89.8 % 53 / 59
src/backend/jit/llvm
80.9%80.9%
80.9 % 1332 / 1647 85.2 % 46 / 54
src/bin/pg_dump
80.9%80.9%
80.9 % 10800 / 13356 93.2 % 492 / 528
src/backend/storage/lmgr
81.3%81.3%
81.3 % 3506 / 4313 91.3 % 232 / 254
src/backend/utils/mb/conversion_procs/utf8_and_gb18030
81.5%81.5%
81.5 % 75 / 92 100.0 % 11 / 11
src/backend/replication
81.5%81.5%
81.5 % 3516 / 4312 92.8 % 167 / 180
contrib/jsonb_plpython
82.3%82.3%
82.3 % 158 / 192 100.0 % 14 / 14
src/backend/utils/adt
82.3%82.3%
82.3 % 50249 / 61056 85.1 % 3487 / 4099
src/backend/storage/buffer
83.1%83.1%
83.1 % 1333 / 1605 93.1 % 95 / 102
src/include/replication
83.3%83.3%
83.3 % 10 / 12 100.0 % 2 / 2
contrib/pageinspect
83.4%83.4%
83.4 % 1033 / 1239 100.0 % 78 / 78
contrib/hstore
83.8%83.8%
83.8 % 1470 / 1754 76.8 % 129 / 168
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/test_decoding
84.0%84.0%
84.0 % 336 / 400 96.4 % 27 / 28
contrib/auto_explain
84.1%84.1%
84.1 % 90 / 107 85.7 % 6 / 7
src/test/modules/spgist_name_ops
84.1%84.1%
84.1 % 196 / 233 100.0 % 14 / 14
src/backend/storage/smgr
84.2%84.2%
84.2 % 405 / 481 100.0 % 52 / 52
src/backend/regex
84.2%84.2%
84.2 % 4062 / 4823 96.0 % 194 / 202
src/backend/utils/resowner
84.3%84.3%
84.3 % 350 / 415 85.9 % 55 / 64
src/backend/access/nbtree
84.8%84.8%
84.8 % 4490 / 5292 93.3 % 196 / 210
contrib/unaccent
85.0%85.0%
85.0 % 130 / 153 100.0 % 10 / 10
src/backend/storage/sync
85.1%85.1%
85.1 % 103 / 121 100.0 % 7 / 7
contrib/pgcrypto
85.3%85.3%
85.3 % 3873 / 4541 95.9 % 304 / 317
contrib/cube
85.3%85.3%
85.3 % 906 / 1062 94.2 % 97 / 103
src/backend/access/heap
85.5%85.5%
85.5 % 5801 / 6787 97.7 % 208 / 213
src/test/modules/test_rbtree
85.6%85.6%
85.6 % 131 / 153 100.0 % 15 / 15
src/test/modules/test_shm_mq
85.9%85.9%
85.9 % 183 / 213 93.3 % 14 / 15
src/backend/commands
86.0%86.0%
86.0 % 24394 / 28374 96.0 % 933 / 972
src/test/modules/test_regex
86.2%86.2%
86.2 % 268 / 311 100.0 % 9 / 9
contrib/passwordcheck
86.2%86.2%
86.2 % 25 / 29 75.0 % 3 / 4
src/backend/lib
86.2%86.2%
86.2 % 962 / 1116 86.7 % 85 / 98
contrib/dblink
86.4%86.4%
86.4 % 944 / 1093 97.4 % 74 / 76
src/fe_utils
87.0%87.0%
87.0 % 2437 / 2800 95.0 % 132 / 139
src/test/modules/test_predtest
87.2%87.2%
87.2 % 75 / 86 100.0 % 3 / 3
src/interfaces/ecpg/test
87.2%87.2%
87.2 % 82 / 94 100.0 % 7 / 7
src/bin/pg_controldata
87.3%87.3%
87.3 % 124 / 142 100.0 % 4 / 4
src/include/libpq
87.7%87.7%
87.7 % 57 / 65 100.0 % 12 / 12
contrib/ltree
87.7%87.7%
87.7 % 1680 / 1915 89.5 % 170 / 190
src/backend/parser
87.9%87.9%
87.9 % 19160 / 21805 98.4 % 421 / 428
src/backend/access/common
88.0%88.0%
88.0 % 2250 / 2558 91.3 % 147 / 161
src/backend/replication/pgoutput
88.1%88.1%
88.1 % 362 / 411 100.0 % 26 / 26
src/backend/optimizer/prep
88.2%88.2%
88.2 % 1667 / 1890 97.1 % 68 / 70
src/bin/pgbench
88.3%88.3%
88.3 % 2643 / 2992 97.7 % 127 / 130
src/backend/catalog
88.4%88.4%
88.4 % 11856 / 13410 96.3 % 525 / 545
src/test/modules/dummy_seclabel
88.9%88.9%
88.9 % 16 / 18 80.0 % 4 / 5
contrib/intarray
88.8%88.8%
88.8 % 1286 / 1448 92.6 % 138 / 149
contrib/lo
89.2%89.2%
89.2 % 33 / 37 100.0 % 3 / 3
src/pl/plperl
89.2%89.2%
89.2 % 1572 / 1763 91.0 % 101 / 111
contrib/pg_trgm
89.3%89.3%
89.3 % 1404 / 1573 93.2 % 109 / 117
src/backend/tsearch
89.3%89.3%
89.3 % 3200 / 3584 89.6 % 198 / 221
src/backend/replication/logical
89.3%89.3%
89.3 % 5258 / 5885 97.1 % 335 / 345
src/backend/storage/freespace
89.5%89.5%
89.5 % 298 / 333 93.8 % 30 / 32
src/backend/access/index
89.6%89.6%
89.6 % 472 / 527 97.8 % 45 / 46
src/interfaces/ecpg/test/compat_informix
89.6%89.6%
89.6 % 649 / 724 95.2 % 20 / 21
src/backend/utils/sort
89.6%89.6%
89.6 % 2134 / 2381 98.0 % 148 / 151
src/pl/plpython
89.7%89.7%
89.7 % 2173 / 2423 99.4 % 154 / 155
src/test/modules/plsample
90.0%90.0%
90.0 % 45 / 50 100.0 % 4 / 4
contrib/bloom
90.1%90.1%
90.1 % 466 / 517 96.7 % 29 / 30
src/backend/rewrite
90.1%90.1%
90.1 % 2192 / 2432 98.8 % 84 / 85
src/backend/utils/cache
90.2%90.2%
90.2 % 5801 / 6428 98.1 % 423 / 431
contrib/tablefunc
90.4%90.4%
90.4 % 385 / 426 100.0 % 19 / 19
src/pl/tcl
90.3%90.3%
90.3 % 962 / 1065 87.2 % 41 / 47
src/backend/access/table
90.5%90.5%
90.5 % 324 / 358 100.0 % 32 / 32
src/backend/statistics
90.6%90.6%
90.6 % 1864 / 2058 87.9 % 80 / 91
src/backend/foreign
90.8%90.8%
90.8 % 226 / 249 100.0 % 22 / 22
src/include/lib
90.7%90.7%
90.7 % 469 / 517 91.4 % 138 / 151
src/backend/executor
90.9%90.9%
90.9 % 19049 / 20959 93.4 % 952 / 1019
contrib/earthdistance
90.9%90.9%
90.9 % 20 / 22 100.0 % 5 / 5
src/test/modules/ssl_passphrase_callback
90.9%90.9%
90.9 % 20 / 22 80.0 % 4 / 5
src/interfaces/ecpg/test/thread
91.2%91.2%
91.2 % 125 / 137 100.0 % 10 / 10
src/include/utils
91.6%91.6%
91.6 % 186 / 203 100.0 % 50 / 50
contrib/postgres_fdw
91.8%91.8%
91.8 % 3550 / 3869 98.9 % 178 / 180
src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1
91.8%91.8%
91.8 % 56 / 61 100.0 % 5 / 5
src/backend/storage/page
91.9%91.9%
91.9 % 443 / 482 100.0 % 24 / 24
src/test/modules/worker_spi
92.2%92.2%
92.2 % 106 / 115 100.0 % 6 / 6
src/bin/pg_verifybackup
92.3%92.3%
92.3 % 560 / 607 100.0 % 30 / 30
src/backend/utils/mb/conversion_procs/utf8_and_win
92.6%92.6%
92.6 % 25 / 27 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_iso8859
92.6%92.6%
92.6 % 25 / 27 100.0 % 5 / 5
src/test/modules/test_bloomfilter
92.7%92.7%
92.7 % 38 / 41 100.0 % 6 / 6
src/backend/optimizer/util
92.7%92.7%
92.7 % 6346 / 6843 100.0 % 318 / 318
contrib/pg_surgery
92.9%92.9%
92.9 % 117 / 126 100.0 % 10 / 10
src/include/access
93.1%93.1%
93.1 % 285 / 306 98.8 % 79 / 80
src/test/modules/test_rls_hooks
93.2%93.2%
93.2 % 55 / 59 80.0 % 4 / 5
contrib/btree_gin
93.2%93.2%
93.2 % 179 / 192 100.0 % 202 / 202
contrib/ltree_plpython
93.3%93.3%
93.3 % 14 / 15 100.0 % 4 / 4
contrib/jsonb_plperl
94.3%94.3%
94.3 % 115 / 122 100.0 % 10 / 10
src/backend/storage/large_object
94.7%94.7%
94.7 % 286 / 302 100.0 % 14 / 14
src/backend/partitioning
94.7%94.7%
94.7 % 2358 / 2489 98.8 % 79 / 80
contrib/hstore_plpython
95.3%95.3%
95.3 % 61 / 64 100.0 % 6 / 6
src/backend/optimizer/path
95.4%95.4%
95.4 % 6172 / 6470 99.6 % 280 / 281
src/backend/optimizer/plan
95.5%95.5%
95.5 % 7057 / 7389 99.3 % 283 / 285
src/interfaces/ecpg/test/sql
95.7%95.7%
95.7 % 1347 / 1408 97.0 % 32 / 33
contrib/tsm_system_time
95.8%95.8%
95.8 % 91 / 95 100.0 % 10 / 10
src/bin/pg_archivecleanup
96.1%96.1%
96.1 % 122 / 127 100.0 % 6 / 6
contrib/btree_gist
96.1%96.1%
96.1 % 2029 / 2112 98.4 % 499 / 507
contrib/dict_xsyn
96.2%96.2%
96.2 % 100 / 104 100.0 % 8 / 8
src/include/port
96.6%96.6%
96.6 % 84 / 87 97.2 % 35 / 36
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/include/nodes
97.0%97.0%
97.0 % 65 / 67 100.0 % 22 / 22
src/bin/pg_config
97.0%97.0%
97.0 % 65 / 67 100.0 % 4 / 4
src/interfaces/ecpg/test/pgtypeslib
97.1%97.1%
97.1 % 593 / 611 100.0 % 6 / 6
contrib/dict_int
97.4%97.4%
97.4 % 38 / 39 100.0 % 5 / 5
src/interfaces/ecpg/test/preproc
98.5%98.5%
98.5 % 595 / 604 100.0 % 27 / 27
src/backend/access/tablesample
99.2%99.2%
99.2 % 127 / 128 100.0 % 12 / 12
src/include/fe_utils
100.0%
100.0 % 8 / 8 100.0 % 2 / 2
src/include/mb
100.0%
100.0 % 8 / 8 100.0 % 4 / 4
src/include/catalog
100.0%
100.0 % 10 / 10 100.0 % 2 / 2
src/include/tcop
100.0%
100.0 % 10 / 10 100.0 % 3 / 3
contrib/bool_plperl
100.0%
100.0 % 11 / 11 100.0 % 5 / 5
src/include
100.0%
100.0 % 14 / 14 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_euc_jp
100.0%
100.0 % 19 / 19 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_uhc
100.0%
100.0 % 19 / 19 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_euc2004
100.0%
100.0 % 19 / 19 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_euc_kr
100.0%
100.0 % 19 / 19 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_gbk
100.0%
100.0 % 19 / 19 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_sjis
100.0%
100.0 % 19 / 19 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_sjis2004
100.0%
100.0 % 19 / 19 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_euc_tw
100.0%
100.0 % 19 / 19 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_euc_cn
100.0%
100.0 % 19 / 19 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_big5
100.0%
100.0 % 19 / 19 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_johab
100.0%
100.0 % 19 / 19 100.0 % 5 / 5
src/interfaces/ecpg/test/compat_oracle
100.0%
100.0 % 35 / 35 100.0 % 2 / 2
src/backend/utils/mb/conversion_procs/utf8_and_cyrillic
100.0%
100.0 % 37 / 37 100.0 % 9 / 9
src/test/modules/test_parser
100.0%
100.0 % 45 / 45 100.0 % 9 / 9
src/backend/utils/mb/conversion_procs/latin2_and_win1250
100.0%
100.0 % 55 / 55 100.0 % 13 / 13
src/backend/utils/mb/conversion_procs/latin_and_mic
100.0%
100.0 % 55 / 55 100.0 % 13 / 13
contrib/hstore_plperl
100.0%
100.0 % 58 / 58 100.0 % 6 / 6
src/include/executor
100.0%
100.0 % 70 / 70 100.0 % 18 / 18
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/include/common
100.0%
100.0 % 99 / 99 100.0 % 27 / 27
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 % 181 / 181 100.0 % 41 / 41

Generated by: LCOV version 1.13