LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: PostgreSQL Lines: 280762 385178 72.9 %
Date: 2017-09-21 23:18:17 Functions: 17068 20823 82.0 %
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 %

Directory Sort by name Line Coverage Sort by line coverage Functions Sort by function coverage
/usr/include/arpa
100.0%
100.0 % 2 / 2 100.0 % 2 / 2
/usr/lib/gcc/x86_64-linux-gnu/4.9/include
85.7%85.7%
85.7 % 12 / 14 100.0 % 2 / 2
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE
77.8%77.8%
77.8 % 7 / 9 50.0 % 1 / 2
contrib/adminpack
54.2%54.2%
54.2 % 64 / 118 100.0 % 11 / 11
contrib/amcheck
76.4%76.4%
76.4 % 172 / 225 100.0 % 17 / 17
contrib/bloom
90.6%90.6%
90.6 % 463 / 511 96.7 % 29 / 30
contrib/btree_gin
94.1%94.1%
94.1 % 160 / 170 100.0 % 175 / 175
contrib/btree_gist
96.4%96.4%
96.4 % 2000 / 2075 98.6 % 500 / 507
contrib/chkpass
67.3%67.3%
67.3 % 35 / 52 83.3 % 10 / 12
contrib/citext
95.2%95.2%
95.2 % 140 / 147 97.0 % 32 / 33
contrib/cube
72.9%72.9%
72.9 % 973 / 1335 81.2 % 108 / 133
contrib/dblink
87.0%87.0%
87.0 % 949 / 1091 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
75.7%75.7%
75.7 % 237 / 313 90.9 % 20 / 22
contrib/fuzzystrmatch
26.5%26.5%
26.5 % 233 / 880 82.9 % 29 / 35
contrib/hstore
82.9%82.9%
82.9 % 1369 / 1652 75.2 % 118 / 157
contrib/hstore_plperl
100.0%
100.0 % 53 / 53 100.0 % 6 / 6
contrib/hstore_plpython
93.9%93.9%
93.9 % 62 / 66 100.0 % 6 / 6
contrib/intarray
85.4%85.4%
85.4 % 1191 / 1395 91.0 % 131 / 144
contrib/isn
82.3%82.3%
82.3 % 404 / 491 91.1 % 41 / 45
contrib/lo
88.9%88.9%
88.9 % 32 / 36 100.0 % 3 / 3
contrib/ltree
88.6%88.6%
88.6 % 1693 / 1910 92.3 % 155 / 168
contrib/ltree_plpython
100.0%
100.0 % 13 / 13 100.0 % 4 / 4
contrib/pageinspect
80.5%80.5%
80.5 % 753 / 935 96.5 % 55 / 57
contrib/passwordcheck
100.0%
100.0 % 23 / 23 100.0 % 3 / 3
contrib/pg_stat_statements
59.0%59.0%
59.0 % 658 / 1115 81.0 % 34 / 42
contrib/pg_trgm
88.5%88.5%
88.5 % 1334 / 1507 92.3 % 96 / 104
contrib/pg_visibility
69.0%69.0%
69.0 % 196 / 284 82.6 % 19 / 23
contrib/pgcrypto
85.5%85.5%
85.5 % 3803 / 4448 95.9 % 305 / 318
contrib/pgstattuple
51.3%51.3%
51.3 % 267 / 520 73.5 % 36 / 49
contrib/postgres_fdw
89.7%89.7%
89.7 % 2738 / 3051 98.6 % 140 / 142
contrib/seg
62.4%62.4%
62.4 % 607 / 972 72.6 % 77 / 106
contrib/spi
77.3%77.3%
77.3 % 201 / 260 100.0 % 9 / 9
contrib/tablefunc
91.0%91.0%
91.0 % 383 / 421 100.0 % 19 / 19
contrib/test_decoding
89.1%89.1%
89.1 % 164 / 184 100.0 % 13 / 13
contrib/tsm_system_rows
95.6%95.6%
95.6 % 108 / 113 100.0 % 11 / 11
contrib/tsm_system_time
95.8%95.8%
95.8 % 92 / 96 100.0 % 10 / 10
contrib/unaccent
84.1%84.1%
84.1 % 122 / 145 100.0 % 10 / 10
contrib/xml2
49.3%49.3%
49.3 % 150 / 304 64.0 % 16 / 25
src/backend/access/brin
74.0%74.0%
74.0 % 1281 / 1730 80.8 % 63 / 78
src/backend/access/common
87.2%87.2%
87.2 % 1623 / 1862 89.7 % 87 / 97
src/backend/access/gin
76.3%76.3%
76.3 % 3022 / 3961 81.8 % 139 / 170
src/backend/access/gist
62.7%62.7%
62.7 % 1773 / 2826 65.2 % 92 / 141
src/backend/access/hash
66.6%66.6%
66.6 % 1655 / 2484 80.9 % 93 / 115
src/backend/access/heap
80.7%80.7%
80.7 % 3683 / 4565 93.8 % 150 / 160
src/backend/access/index
92.3%92.3%
92.3 % 457 / 495 100.0 % 40 / 40
src/backend/access/nbtree
78.7%78.7%
78.7 % 2848 / 3619 88.0 % 132 / 150
src/backend/access/rmgrdesc
14.2%14.2%
14.2 % 141 / 994 19.6 % 11 / 56
src/backend/access/spgist
74.6%74.6%
74.6 % 2133 / 2860 82.5 % 85 / 103
src/backend/access/tablesample
99.2%99.2%
99.2 % 128 / 129 100.0 % 12 / 12
src/backend/access/transam
78.5%78.5%
78.5 % 7903 / 10069 88.9 % 491 / 552
src/backend/bootstrap
68.5%68.5%
68.5 % 729 / 1064 56.1 % 32 / 57
src/backend/catalog
87.4%87.4%
87.4 % 10473 / 11981 94.3 % 476 / 505
src/backend/commands
83.3%83.3%
83.3 % 20978 / 25169 94.4 % 850 / 900
src/backend/executor
89.3%89.3%
89.3 % 14347 / 16072 92.5 % 713 / 771
src/backend/foreign
88.5%88.5%
88.5 % 208 / 235 100.0 % 20 / 20
src/backend/lib
78.9%78.9%
78.9 % 720 / 913 83.1 % 69 / 83
src/backend/libpq
54.1%54.1%
54.1 % 2027 / 3749 80.4 % 176 / 219
src/backend/main
41.8%41.8%
41.8 % 41 / 98 80.0 % 4 / 5
src/backend/nodes
58.4%58.4%
58.4 % 7309 / 12513 54.8 % 569 / 1038
src/backend/optimizer/geqo
79.6%79.6%
79.6 % 269 / 338 96.6 % 28 / 29
src/backend/optimizer/path
93.6%93.6%
93.6 % 5350 / 5718 100.0 % 242 / 242
src/backend/optimizer/plan
93.9%93.9%
93.9 % 6486 / 6908 97.7 % 254 / 260
src/backend/optimizer/prep
89.5%89.5%
89.5 % 1656 / 1851 96.9 % 63 / 65
src/backend/optimizer/util
91.0%91.0%
91.0 % 4914 / 5398 98.2 % 268 / 273
src/backend/parser
84.7%84.7%
84.7 % 16007 / 18900 90.8 % 415 / 457
src/backend/port
58.7%58.7%
58.7 % 131 / 223 85.0 % 17 / 20
src/backend/postmaster
68.1%68.1%
68.1 % 3997 / 5871 83.5 % 238 / 285
src/backend/regex
71.0%71.0%
71.0 % 3179 / 4478 90.1 % 172 / 191
src/backend/replication
73.8%73.8%
73.8 % 3277 / 4443 75.4 % 172 / 228
src/backend/replication/libpqwalreceiver
81.7%81.7%
81.7 % 267 / 327 100.0 % 17 / 17
src/backend/replication/logical
84.6%84.6%
84.6 % 3819 / 4512 93.9 % 246 / 262
src/backend/replication/pgoutput
89.7%89.7%
89.7 % 174 / 194 100.0 % 15 / 15
src/backend/rewrite
87.6%87.6%
87.6 % 1760 / 2009 96.2 % 77 / 80
src/backend/snowball
71.2%71.2%
71.2 % 47 / 66 100.0 % 6 / 6
src/backend/snowball/libstemmer
4.8%4.8%
4.8 % 520 / 10919 8.2 % 37 / 449
src/backend/statistics
89.1%89.1%
89.1 % 620 / 696 85.4 % 41 / 48
src/backend/storage/buffer
82.0%82.0%
82.0 % 1286 / 1569 92.9 % 92 / 99
src/backend/storage/file
69.6%69.6%
69.6 % 839 / 1206 93.0 % 80 / 86
src/backend/storage/freespace
93.5%93.5%
93.5 % 318 / 340 100.0 % 34 / 34
src/backend/storage/ipc
76.1%76.1%
76.1 % 2584 / 3396 85.2 % 196 / 230
src/backend/storage/large_object
94.2%94.2%
94.2 % 293 / 311 100.0 % 14 / 14
src/backend/storage/lmgr
79.2%79.2%
79.2 % 3530 / 4458 91.4 % 222 / 243
src/backend/storage/page
89.0%89.0%
89.0 % 347 / 390 100.0 % 22 / 22
src/backend/storage/smgr
76.6%76.6%
76.6 % 508 / 663 91.7 % 55 / 60
src/backend/tcop
73.0%73.0%
73.0 % 2480 / 3399 86.3 % 88 / 102
src/backend/tsearch
86.8%86.8%
86.8 % 3079 / 3547 88.7 % 188 / 212
src/backend/utils/adt
75.8%75.8%
75.8 % 39200 / 51725 78.6 % 2826 / 3597
src/backend/utils/cache
88.5%88.5%
88.5 % 5243 / 5925 97.2 % 352 / 362
src/backend/utils/error
57.0%57.0%
57.0 % 696 / 1220 83.1 % 54 / 65
src/backend/utils/fmgr
69.5%69.5%
69.5 % 1087 / 1563 82.5 % 80 / 97
src/backend/utils/hash
79.9%79.9%
79.9 % 428 / 536 92.5 % 37 / 40
src/backend/utils/init
79.8%79.8%
79.8 % 561 / 703 92.7 % 51 / 55
src/backend/utils/mb
39.6%39.6%
39.6 % 603 / 1524 53.1 % 76 / 143
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/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
35.4%35.4%
35.4 % 115 / 325 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
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_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
68.4%68.4%
68.4 % 2639 / 3859 82.8 % 192 / 232
src/backend/utils/mmgr
66.8%66.8%
66.8 % 1633 / 2444 79.6 % 113 / 142
src/backend/utils/resowner
84.8%84.8%
84.8 % 319 / 376 85.7 % 42 / 49
src/backend/utils/sort
74.8%74.8%
74.8 % 1619 / 2164 88.5 % 108 / 122
src/backend/utils/time
71.9%71.9%
71.9 % 991 / 1378 100.0 % 76 / 76
src/bin/initdb
67.5%67.5%
67.5 % 1413 / 2094 89.2 % 91 / 102
src/bin/pg_archivecleanup
92.3%92.3%
92.3 % 120 / 130 100.0 % 6 / 6
src/bin/pg_basebackup
55.2%55.2%
55.2 % 1508 / 2734 84.3 % 75 / 89
src/bin/pg_config
97.0%97.0%
97.0 % 64 / 66 100.0 % 4 / 4
src/bin/pg_controldata
87.3%87.3%
87.3 % 131 / 150 100.0 % 4 / 4
src/bin/pg_ctl
65.1%65.1%
65.1 % 405 / 622 88.5 % 23 / 26
src/bin/pg_dump
80.9%80.9%
80.9 % 10470 / 12949 93.2 % 479 / 514
src/bin/pg_resetwal
53.3%53.3%
53.3 % 287 / 538 83.3 % 10 / 12
src/bin/pg_rewind
67.9%67.9%
67.9 % 1144 / 1686 86.9 % 73 / 84
src/bin/pg_upgrade
60.3%60.3%
60.3 % 1314 / 2180 86.4 % 89 / 103
src/bin/pgbench
76.5%76.5%
76.5 % 1897 / 2481 70.2 % 87 / 124
src/bin/psql
38.9%38.9%
38.9 % 3724 / 9566 41.2 % 216 / 524
src/bin/scripts
63.8%63.8%
63.8 % 908 / 1423 87.8 % 36 / 41
src/common
77.5%77.5%
77.5 % 1112 / 1435 86.3 % 82 / 95
src/fe_utils
62.7%62.7%
62.7 % 1787 / 2851 65.4 % 85 / 130
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 % 13 / 13 100.0 % 4 / 4
src/include/executor
100.0%
100.0 % 27 / 27 100.0 % 5 / 5
src/include/lib
87.7%87.7%
87.7 % 285 / 325 92.9 % 52 / 56
src/include/nodes
100.0%
100.0 % 9 / 9 100.0 % 4 / 4
src/include/port
100.0%
100.0 % 90 / 90 100.0 % 27 / 27
src/include/port/atomics
100.0%
100.0 % 76 / 76 100.0 % 27 / 27
src/include/replication
91.7%91.7%
91.7 % 11 / 12 100.0 % 2 / 2
src/include/storage
93.7%93.7%
93.7 % 104 / 111 93.3 % 14 / 15
src/include/utils
93.0%93.0%
93.0 % 93 / 100 100.0 % 16 / 16
src/interfaces/ecpg/compatlib
67.7%67.7%
67.7 % 321 / 474 61.7 % 29 / 47
src/interfaces/ecpg/ecpglib
60.1%60.1%
60.1 % 2022 / 3367 72.8 % 115 / 158
src/interfaces/ecpg/pgtypeslib
59.2%59.2%
59.2 % 1913 / 3234 85.0 % 91 / 107
src/interfaces/ecpg/preproc
36.5%36.5%
36.5 % 3447 / 9436 76.9 % 90 / 117
src/interfaces/libpq
44.3%44.3%
44.3 % 4082 / 9222 64.3 % 323 / 502
src/pl/plperl
89.3%89.3%
89.3 % 1537 / 1721 100.0 % 97 / 97
src/pl/plpgsql/src
78.3%78.3%
78.3 % 4587 / 5857 84.9 % 203 / 239
src/pl/plpython
89.4%89.4%
89.4 % 2239 / 2505 99.4 % 154 / 155
src/pl/tcl
90.0%90.0%
90.0 % 915 / 1017 87.0 % 40 / 46
src/port
76.5%76.5%
76.5 % 700 / 915 85.5 % 65 / 76
src/test/regress
64.1%64.1%
64.1 % 901 / 1405 79.5 % 70 / 88
src/timezone
68.1%68.1%
68.1 % 1893 / 2778 89.3 % 100 / 112

Generated by: LCOV version 1.11