LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: PostgreSQL 12devel Lines: 291219 396806 73.4 %
Date: 2018-08-16 03:20:48 Functions: 17838 21521 82.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/pg_buffercache
0.0%
0.0 % 0 / 83 0.0 % 0 / 3
contrib/pgrowlocks
0.0%
0.0 % 0 / 114 0.0 % 0 / 3
contrib/vacuumlo
0.0%
0.0 % 0 / 282 0.0 % 0 / 3
src/bin/pg_test_timing
0.0%
0.0 % 0 / 80 0.0 % 0 / 4
contrib/tcn
0.0%
0.0 % 0 / 67 0.0 % 0 / 4
src/bin/pg_verify_checksums
0.0%
0.0 % 0 / 143 0.0 % 0 / 5
contrib/auto_explain
0.0%
0.0 % 0 / 100 0.0 % 0 / 7
contrib/oid2name
0.0%
0.0 % 0 / 240 0.0 % 0 / 11
contrib/pg_standby
0.0%
0.0 % 0 / 312 0.0 % 0 / 11
src/bin/pg_test_fsync
0.0%
0.0 % 0 / 217 0.0 % 0 / 13
contrib/pg_prewarm
0.0%
0.0 % 0 / 374 0.0 % 0 / 19
contrib/sslinfo
0.0%
0.0 % 0 / 160 0.0 % 0 / 24
src/bin/pg_waldump
0.0%
0.0 % 0 / 2023 0.0 % 0 / 93
src/backend/snowball/libstemmer
4.8%4.8%
4.8 % 519 / 10913 8.2 % 37 / 449
src/backend/access/rmgrdesc
14.9%14.9%
14.9 % 153 / 1030 19.6 % 11 / 56
contrib/spi
36.5%36.5%
36.5 % 201 / 550 37.5 % 9 / 24
src/bin/psql
39.6%39.6%
39.6 % 3593 / 9079 41.5 % 199 / 479
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
39.2%39.2%
39.2 % 595 / 1516 53.1 % 76 / 143
src/backend/nodes
59.9%59.9%
59.9 % 7576 / 12655 57.1 % 602 / 1055
src/interfaces/ecpg/compatlib
67.5%67.5%
67.5 % 320 / 474 61.7 % 29 / 47
contrib/xml2
49.3%49.3%
49.3 % 150 / 304 64.0 % 16 / 25
src/interfaces/libpq
44.5%44.5%
44.5 % 4135 / 9283 64.4 % 325 / 505
src/backend/jit
54.2%54.2%
54.2 % 26 / 48 66.7 % 4 / 6
src/backend/access/gist
64.1%64.1%
64.1 % 1791 / 2794 66.7 % 94 / 141
contrib/adminpack
44.4%44.4%
44.4 % 75 / 169 68.2 % 15 / 22
src/interfaces/ecpg/ecpglib
60.2%60.2%
60.2 % 2040 / 3389 72.8 % 115 / 158
contrib/pgstattuple
51.9%51.9%
51.9 % 268 / 516 73.5 % 36 / 49
contrib/hstore
82.7%82.7%
82.7 % 1363 / 1649 75.2 % 118 / 157
src/backend/utils/mmgr
65.7%65.7%
65.7 % 1538 / 2340 77.5 % 117 / 151
src/backend/utils/adt
77.0%77.0%
77.0 % 40242 / 52234 79.7 % 2928 / 3676
src/test/modules/dummy_seclabel
88.9%88.9%
88.9 % 16 / 18 80.0 % 4 / 5
src/backend/main
41.8%41.8%
41.8 % 41 / 98 80.0 % 4 / 5
src/interfaces/ecpg/test/connect
74.5%74.5%
74.5 % 76 / 102 80.0 % 4 / 5
src/test/modules/test_rls_hooks
93.0%93.0%
93.0 % 53 / 57 80.0 % 4 / 5
contrib/pg_stat_statements
58.0%58.0%
58.0 % 632 / 1089 80.0 % 32 / 40
src/backend/access/hash
66.3%66.3%
66.3 % 1630 / 2458 80.3 % 94 / 117
src/fe_utils
65.2%65.2%
65.2 % 1475 / 2261 80.6 % 83 / 103
src/backend/access/brin
74.5%74.5%
74.5 % 1278 / 1716 80.8 % 63 / 78
src/backend/libpq
54.6%54.6%
54.6 % 2095 / 3834 81.3 % 183 / 225
src/backend/access/gin
76.5%76.5%
76.5 % 2951 / 3857 81.8 % 139 / 170
src/backend/utils/resowner
82.2%82.2%
82.2 % 304 / 370 81.8 % 45 / 55
contrib/pg_visibility
68.9%68.9%
68.9 % 195 / 283 82.6 % 19 / 23
contrib/fuzzystrmatch
26.0%26.0%
26.0 % 228 / 878 82.9 % 29 / 35
src/backend/postmaster
68.0%68.0%
68.0 % 3986 / 5861 82.9 % 238 / 287
src/backend/utils/error
57.4%57.4%
57.4 % 697 / 1215 83.1 % 54 / 65
src/backend/access/spgist
75.2%75.2%
75.2 % 2135 / 2838 83.5 % 86 / 103
src/backend/utils/fmgr
69.6%69.6%
69.6 % 1131 / 1626 84.0 % 84 / 100
src/bin/pg_upgrade
58.5%58.5%
58.5 % 1301 / 2224 84.3 % 86 / 102
src/port
76.1%76.1%
76.1 % 698 / 917 84.4 % 65 / 77
src/bin/pg_basebackup
55.0%55.0%
55.0 % 1540 / 2799 84.4 % 76 / 90
src/interfaces/ecpg/pgtypeslib
59.1%59.1%
59.1 % 1914 / 3240 84.4 % 92 / 109
src/pl/plpgsql/src
80.6%80.6%
80.6 % 4917 / 6103 84.4 % 222 / 263
src/backend/lib
83.2%83.2%
83.2 % 777 / 934 84.9 % 79 / 93
src/backend/storage/ipc
75.5%75.5%
75.5 % 2493 / 3301 84.9 % 203 / 239
src/backend/utils/mb/conversion_procs/euc_tw_and_big5
40.8%40.8%
40.8 % 98 / 240 85.0 % 17 / 20
src/backend/port
58.4%58.4%
58.4 % 128 / 219 85.0 % 17 / 20
src/backend/tcop
72.6%72.6%
72.6 % 2474 / 3406 85.3 % 87 / 102
src/backend/statistics
88.2%88.2%
88.2 % 598 / 678 85.4 % 41 / 48
src/bin/pg_rewind
67.0%67.0%
67.0 % 1128 / 1683 86.9 % 73 / 84
src/interfaces/ecpg/preproc
33.7%33.7%
33.7 % 2933 / 8703 86.9 % 73 / 84
src/backend/access/common
85.0%85.0%
85.0 % 1746 / 2053 87.2 % 95 / 109
src/backend/utils/mb/conversion_procs/euc2004_sjis2004
26.7%26.7%
26.7 % 39 / 146 87.5 % 7 / 8
src/test/modules/test_shm_mq
82.8%82.8%
82.8 % 183 / 221 87.5 % 14 / 16
src/pl/tcl
90.4%90.4%
90.4 % 956 / 1057 87.5 % 42 / 48
src/backend/access/transam
77.3%77.3%
77.3 % 7708 / 9967 88.7 % 493 / 556
contrib/isn
76.9%76.9%
76.9 % 370 / 481 88.9 % 40 / 45
contrib/seg
75.4%75.4%
75.4 % 460 / 610 88.9 % 64 / 72
src/backend/replication
78.5%78.5%
78.5 % 2975 / 3791 89.1 % 147 / 165
src/bin/initdb
68.3%68.3%
68.3 % 1447 / 2118 89.4 % 93 / 104
src/timezone
68.4%68.4%
68.4 % 1931 / 2824 89.6 % 103 / 115
src/backend/access/nbtree
81.2%81.2%
81.2 % 3196 / 3938 89.6 % 146 / 163
src/backend/utils/misc
70.1%70.1%
70.1 % 2419 / 3450 89.6 % 180 / 201
src/test/isolation
75.0%75.0%
75.0 % 446 / 595 90.0 % 18 / 20
src/backend/regex
70.4%70.4%
70.4 % 2969 / 4215 90.1 % 172 / 191
src/backend/tsearch
89.3%89.3%
89.3 % 3179 / 3561 90.0 % 198 / 220
src/backend/storage/smgr
74.8%74.8%
74.8 % 487 / 651 90.2 % 55 / 61
contrib/file_fdw
76.1%76.1%
76.1 % 239 / 314 90.9 % 20 / 22
src/pl/plperl
89.2%89.2%
89.2 % 1579 / 1771 91.0 % 101 / 111
contrib/intarray
85.4%85.4%
85.4 % 1192 / 1395 91.0 % 131 / 144
src/backend/storage/lmgr
80.2%80.2%
80.2 % 3377 / 4210 90.9 % 221 / 243
src/backend/utils/sort
77.4%77.4%
77.4 % 1807 / 2336 91.5 % 129 / 141
src/backend/storage/buffer
81.8%81.8%
81.8 % 1193 / 1459 91.9 % 91 / 99
contrib/pg_trgm
88.4%88.4%
88.4 % 1379 / 1560 92.2 % 106 / 115
contrib/ltree
88.7%88.7%
88.7 % 1699 / 1916 92.3 % 155 / 168
src/backend/utils/hash
79.8%79.8%
79.8 % 414 / 519 92.5 % 37 / 40
src/test/regress
71.0%71.0%
71.0 % 947 / 1334 92.6 % 75 / 81
src/backend/utils/init
78.9%78.9%
78.9 % 549 / 696 92.9 % 52 / 56
src/include/lib
87.1%87.1%
87.1 % 276 / 317 93.0 % 53 / 57
src/backend/executor
90.8%90.8%
90.8 % 16266 / 17905 93.0 % 796 / 856
src/bin/pg_dump
80.5%80.5%
80.5 % 10444 / 12974 93.4 % 485 / 519
src/backend/storage/freespace
89.6%89.6%
89.6 % 301 / 336 93.8 % 30 / 32
src/backend/storage/file
76.1%76.1%
76.1 % 1054 / 1385 94.1 % 112 / 119
src/backend/access/heap
82.8%82.8%
82.8 % 3721 / 4496 94.4 % 152 / 161
src/backend/replication/logical
84.7%84.7%
84.7 % 3845 / 4541 94.5 % 256 / 271
src/backend/commands
84.0%84.0%
84.0 % 21764 / 25918 94.9 % 874 / 921
src/interfaces/ecpg/test/compat_informix
90.7%90.7%
90.7 % 636 / 701 95.2 % 20 / 21
src/backend/bootstrap
75.5%75.5%
75.5 % 515 / 682 95.5 % 21 / 22
src/bin/scripts
70.3%70.3%
70.3 % 1035 / 1473 95.5 % 42 / 44
src/interfaces/ecpg/test/sql
94.1%94.1%
94.1 % 988 / 1050 95.7 % 22 / 23
src/backend/catalog
87.5%87.5%
87.5 % 10344 / 11828 95.6 % 478 / 500
src/common
78.7%78.7%
78.7 % 1144 / 1454 95.9 % 94 / 98
contrib/cube
87.5%87.5%
87.5 % 870 / 994 96.0 % 95 / 99
contrib/pgcrypto
85.5%85.5%
85.5 % 3795 / 4440 95.9 % 305 / 318
src/bin/pg_ctl
68.1%68.1%
68.1 % 427 / 627 96.2 % 25 / 26
src/backend/optimizer/geqo
79.4%79.4%
79.4 % 269 / 339 96.6 % 28 / 29
contrib/bloom
90.7%90.7%
90.7 % 461 / 508 96.7 % 29 / 30
contrib/citext
95.2%95.2%
95.2 % 140 / 147 97.0 % 32 / 33
src/backend/optimizer/prep
88.6%88.6%
88.6 % 1666 / 1880 97.0 % 65 / 67
contrib/dblink
86.8%86.8%
86.8 % 939 / 1082 97.4 % 74 / 76
src/bin/pgbench
86.8%86.8%
86.8 % 2206 / 2542 97.4 % 112 / 115
src/backend/utils/cache
89.6%89.6%
89.6 % 5617 / 6271 97.5 % 393 / 403
src/backend/parser
85.8%85.8%
85.8 % 15865 / 18499 97.6 % 409 / 419
src/backend/optimizer/plan
95.3%95.3%
95.3 % 6711 / 7045 98.5 % 269 / 273
contrib/postgres_fdw
89.9%89.9%
89.9 % 2906 / 3231 98.7 % 148 / 150
contrib/btree_gist
96.4%96.4%
96.4 % 2001 / 2076 98.6 % 500 / 507
src/backend/rewrite
89.0%89.0%
89.0 % 1788 / 2008 98.8 % 79 / 80
src/backend/optimizer/util
92.0%92.0%
92.0 % 5246 / 5702 99.3 % 282 / 284
src/pl/plpython
89.4%89.4%
89.4 % 2175 / 2433 99.4 % 156 / 157
src/include/access
100.0%
100.0 % 8 / 8 100.0 % 1 / 1
src/include/replication
83.3%83.3%
83.3 % 10 / 12 100.0 % 2 / 2
src/interfaces/ecpg/test/compat_oracle
100.0%
100.0 % 34 / 34 100.0 % 2 / 2
contrib/lo
88.9%88.9%
88.9 % 32 / 36 100.0 % 3 / 3
src/test/modules/test_predtest
87.2%87.2%
87.2 % 75 / 86 100.0 % 3 / 3
contrib/passwordcheck
100.0%
100.0 % 23 / 23 100.0 % 3 / 3
src/include/nodes
100.0%
100.0 % 6 / 6 100.0 % 3 / 3
src/interfaces/ecpg/test
90.2%90.2%
90.2 % 55 / 61 100.0 % 4 / 4
contrib/ltree_plpython
93.3%93.3%
93.3 % 14 / 15 100.0 % 4 / 4
src/bin/pg_controldata
90.6%90.6%
90.6 % 135 / 149 100.0 % 4 / 4
src/bin/pg_config
97.0%97.0%
97.0 % 64 / 66 100.0 % 4 / 4
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_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_iso8859
92.0%92.0%
92.0 % 23 / 25 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_win
92.0%92.0%
92.0 % 23 / 25 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/ascii_and_mic
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/utf8_and_ascii
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_iso8859_1
85.1%85.1%
85.1 % 40 / 47 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_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_euc_tw
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
contrib/dict_int
73.3%73.3%
73.3 % 22 / 30 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_sjis2004
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/bin/pg_archivecleanup
92.3%92.3%
92.3 % 120 / 130 100.0 % 6 / 6
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
src/include/executor
100.0%
100.0 % 29 / 29 100.0 % 6 / 6
src/test/modules/test_bloomfilter
92.7%92.7%
92.7 % 38 / 41 100.0 % 6 / 6
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.4%97.4%
97.4 % 572 / 587 100.0 % 6 / 6
src/test/modules/test_ddl_deparse
26.9%26.9%
26.9 % 45 / 167 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/backend/utils/mb/conversion_procs/euc_cn_and_mic
68.5%68.5%
68.5 % 37 / 54 100.0 % 7 / 7
contrib/dict_xsyn
96.2%96.2%
96.2 % 100 / 104 100.0 % 8 / 8
src/test/modules/test_parser
100.0%
100.0 % 45 / 45 100.0 % 9 / 9
src/backend/utils/mb/conversion_procs/utf8_and_cyrillic
100.0%
100.0 % 33 / 33 100.0 % 9 / 9
src/include/libpq
100.0%
100.0 % 49 / 49 100.0 % 10 / 10
contrib/jsonb_plperl
95.5%95.5%
95.5 % 105 / 110 100.0 % 10 / 10
src/interfaces/ecpg/test/thread
91.0%91.0%
91.0 % 122 / 134 100.0 % 10 / 10
contrib/tsm_system_time
95.8%95.8%
95.8 % 92 / 96 100.0 % 10 / 10
contrib/unaccent
84.0%84.0%
84.0 % 121 / 144 100.0 % 10 / 10
contrib/tsm_system_rows
96.4%96.4%
96.4 % 107 / 111 100.0 % 11 / 11
src/backend/access/tablesample
99.2%99.2%
99.2 % 128 / 129 100.0 % 12 / 12
src/bin/pg_resetwal
67.2%67.2%
67.2 % 375 / 558 100.0 % 12 / 12
src/include/common
100.0%
100.0 % 31 / 31 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/utils/mb/conversion_procs/latin_and_mic
100.0%
100.0 % 49 / 49 100.0 % 13 / 13
src/backend/storage/large_object
95.0%95.0%
95.0 % 283 / 298 100.0 % 14 / 14
contrib/jsonb_plpython
90.1%90.1%
90.1 % 137 / 152 100.0 % 14 / 14
contrib/test_decoding
90.3%90.3%
90.3 % 195 / 216 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 % 96 / 96 100.0 % 15 / 15
src/backend/replication/pgoutput
90.0%90.0%
90.0 % 197 / 219 100.0 % 17 / 17
src/backend/replication/libpqwalreceiver
82.2%82.2%
82.2 % 273 / 332 100.0 % 18 / 18
src/backend/utils/mb/conversion_procs/euc_jp_and_sjis
36.1%36.1%
36.1 % 115 / 319 100.0 % 19 / 19
contrib/tablefunc
91.0%91.0%
91.0 % 383 / 421 100.0 % 19 / 19
contrib/amcheck
72.5%72.5%
72.5 % 250 / 345 100.0 % 19 / 19
src/backend/foreign
90.6%90.6%
90.6 % 212 / 234 100.0 % 20 / 20
src/backend/storage/page
90.7%90.7%
90.7 % 342 / 377 100.0 % 22 / 22
src/interfaces/ecpg/test/preproc
98.3%98.3%
98.3 % 591 / 601 100.0 % 27 / 27
src/include/port
100.0%
100.0 % 61 / 61 100.0 % 27 / 27
src/include/port/atomics
100.0%
100.0 % 74 / 74 100.0 % 27 / 27
src/backend/access/index
92.5%92.5%
92.5 % 419 / 453 100.0 % 40 / 40
src/backend/utils/mb/conversion_procs/cyrillic_and_mic
100.0%
100.0 % 161 / 161 100.0 % 41 / 41
src/include/utils
95.9%95.9%
95.9 % 185 / 193 100.0 % 45 / 45
src/backend/partitioning
95.1%95.1%
95.1 % 1581 / 1663 100.0 % 46 / 46
contrib/pageinspect
83.7%83.7%
83.7 % 787 / 940 100.0 % 57 / 57
src/backend/utils/time
72.5%72.5%
72.5 % 937 / 1292 100.0 % 76 / 76
contrib/btree_gin
94.5%94.5%
94.5 % 172 / 182 100.0 % 202 / 202
src/backend/optimizer/path
93.7%93.7%
93.7 % 5532 / 5906 100.0 % 249 / 249

Generated by: LCOV version 1.13