LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: PostgreSQL Lines: 276406 381824 72.4 %
Date: 2017-08-22 23:17:15 Functions: 16783 20632 81.3 %
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 %

Directory Sort by name Line Coverage Sort by line coverage Functions Sort by function coverage
src/backend/snowball/libstemmer
4.8%4.8%
4.8 % 520 / 10919 8.2 % 37 / 449
src/backend/access/rmgrdesc
14.2%14.2%
14.2 % 141 / 994 19.6 % 11 / 56
src/backend/utils/mb/conversion_procs/utf8_and_gb18030
18.9%18.9%
18.9 % 17 / 90 45.5 % 5 / 11
src/bin/pgbench
19.8%19.8%
19.8 % 489 / 2467 22.6 % 28 / 124
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_jp_and_sjis
35.4%35.4%
35.4 % 115 / 325 100.0 % 19 / 19
src/interfaces/ecpg/preproc
36.5%36.5%
36.5 % 3437 / 9426 76.9 % 90 / 117
src/bin/psql
38.2%38.2%
38.2 % 3632 / 9505 41.1 % 215 / 523
src/backend/utils/mb
39.6%39.6%
39.6 % 603 / 1524 53.1 % 76 / 143
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
44.2%44.2%
44.2 % 3963 / 8976 63.1 % 316 / 501
contrib/xml2
49.3%49.3%
49.3 % 150 / 304 64.0 % 16 / 25
src/bin/pg_basebackup
50.3%50.3%
50.3 % 1351 / 2685 77.3 % 68 / 88
contrib/pgstattuple
51.3%51.3%
51.3 % 267 / 520 73.5 % 36 / 49
src/bin/pg_resetwal
52.9%52.9%
52.9 % 281 / 531 83.3 % 10 / 12
src/backend/libpq
53.9%53.9%
53.9 % 1899 / 3524 81.3 % 174 / 214
src/backend/utils/error
57.0%57.0%
57.0 % 696 / 1220 83.1 % 54 / 65
src/backend/nodes
58.2%58.2%
58.2 % 7279 / 12501 54.4 % 565 / 1038
src/bin/pg_upgrade
58.6%58.6%
58.6 % 1280 / 2185 84.5 % 87 / 103
src/backend/port
58.7%58.7%
58.7 % 131 / 223 85.0 % 17 / 20
contrib/pg_stat_statements
59.1%59.1%
59.1 % 659 / 1115 81.0 % 34 / 42
src/interfaces/ecpg/pgtypeslib
59.2%59.2%
59.2 % 1913 / 3234 85.0 % 91 / 107
src/interfaces/ecpg/ecpglib
59.9%59.9%
59.9 % 2016 / 3367 72.8 % 115 / 158
contrib/seg
62.4%62.4%
62.4 % 607 / 972 72.6 % 77 / 106
src/fe_utils
62.6%62.6%
62.6 % 1784 / 2849 65.4 % 85 / 130
src/backend/access/gist
62.8%62.8%
62.8 % 1768 / 2817 66.0 % 95 / 144
src/test/regress
63.6%63.6%
63.6 % 892 / 1402 79.1 % 68 / 86
src/bin/scripts
63.8%63.8%
63.8 % 908 / 1423 87.8 % 36 / 41
src/bin/pg_ctl
65.1%65.1%
65.1 % 405 / 622 88.5 % 23 / 26
src/backend/access/hash
65.3%65.3%
65.3 % 1540 / 2359 79.2 % 80 / 101
src/backend/utils/mmgr
65.5%65.5%
65.5 % 1600 / 2444 78.2 % 111 / 142
src/backend/utils/mb/conversion_procs/euc_kr_and_mic
66.7%66.7%
66.7 % 38 / 57 100.0 % 7 / 7
src/backend/postmaster
67.1%67.1%
67.1 % 3931 / 5860 82.7 % 235 / 284
src/bin/initdb
67.2%67.2%
67.2 % 1394 / 2073 89.1 % 90 / 101
src/interfaces/ecpg/compatlib
67.7%67.7%
67.7 % 321 / 474 61.7 % 29 / 47
src/bin/pg_rewind
67.8%67.8%
67.8 % 1138 / 1678 86.9 % 73 / 84
src/timezone
68.1%68.1%
68.1 % 1893 / 2778 89.3 % 100 / 112
src/backend/utils/misc
68.3%68.3%
68.3 % 2634 / 3857 82.8 % 192 / 232
src/backend/bootstrap
68.5%68.5%
68.5 % 725 / 1059 56.1 % 32 / 57
src/backend/utils/mb/conversion_procs/euc_cn_and_mic
68.5%68.5%
68.5 % 37 / 54 100.0 % 7 / 7
src/backend/lib
68.6%68.6%
68.6 % 490 / 714 77.4 % 48 / 62
contrib/pg_visibility
69.0%69.0%
69.0 % 196 / 284 82.6 % 19 / 23
src/backend/storage/file
69.6%69.6%
69.6 % 839 / 1206 93.0 % 80 / 86
src/backend/utils/fmgr
69.5%69.5%
69.5 % 1087 / 1563 82.5 % 80 / 97
src/backend/regex
70.9%70.9%
70.9 % 3175 / 4478 90.1 % 172 / 191
src/backend/snowball
71.2%71.2%
71.2 % 47 / 66 100.0 % 6 / 6
src/backend/utils/time
71.9%71.9%
71.9 % 988 / 1375 100.0 % 75 / 75
src/backend/tcop
72.5%72.5%
72.5 % 2448 / 3375 86.0 % 86 / 100
contrib/cube
72.9%72.9%
72.9 % 973 / 1335 81.2 % 108 / 133
contrib/dict_int
73.3%73.3%
73.3 % 22 / 30 100.0 % 5 / 5
src/backend/replication
73.5%73.5%
73.5 % 3256 / 4430 75.4 % 172 / 228
src/backend/access/brin
74.0%74.0%
74.0 % 1281 / 1730 80.8 % 63 / 78
src/backend/storage/ipc
74.3%74.3%
74.3 % 2515 / 3386 84.3 % 193 / 229
src/backend/access/spgist
74.6%74.6%
74.6 % 2133 / 2860 82.5 % 85 / 103
src/backend/utils/sort
74.9%74.9%
74.9 % 1613 / 2153 88.3 % 106 / 120
src/backend/utils/adt
75.6%75.6%
75.6 % 38958 / 51557 78.2 % 2800 / 3580
contrib/file_fdw
75.7%75.7%
75.7 % 237 / 313 90.9 % 20 / 22
src/port
76.1%76.1%
76.1 % 696 / 915 85.5 % 65 / 76
src/backend/access/gin
76.3%76.3%
76.3 % 3022 / 3961 81.8 % 139 / 170
contrib/amcheck
76.4%76.4%
76.4 % 172 / 225 100.0 % 17 / 17
src/backend/storage/smgr
76.5%76.5%
76.5 % 507 / 663 91.7 % 55 / 60
contrib/spi
77.3%77.3%
77.3 % 201 / 260 100.0 % 9 / 9
src/common
77.4%77.4%
77.4 % 1111 / 1435 86.3 % 82 / 95
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE
77.8%77.8%
77.8 % 7 / 9 50.0 % 1 / 2
src/pl/plpgsql/src
78.3%78.3%
78.3 % 4584 / 5855 84.9 % 203 / 239
src/backend/access/nbtree
78.5%78.5%
78.5 % 2840 / 3619 87.3 % 131 / 150
src/backend/access/transam
78.5%78.5%
78.5 % 7792 / 9930 88.7 % 485 / 547
src/backend/storage/lmgr
79.4%79.4%
79.4 % 3533 / 4448 91.4 % 222 / 243
src/backend/optimizer/geqo
79.6%79.6%
79.6 % 269 / 338 96.6 % 28 / 29
src/backend/utils/init
79.6%79.6%
79.6 % 559 / 702 92.7 % 51 / 55
src/backend/utils/hash
79.9%79.9%
79.9 % 428 / 536 92.5 % 37 / 40
src/backend/access/heap
80.3%80.3%
80.3 % 3665 / 4565 93.1 % 148 / 159
contrib/pageinspect
80.5%80.5%
80.5 % 753 / 935 96.5 % 55 / 57
src/bin/pg_dump
80.9%80.9%
80.9 % 10467 / 12939 93.2 % 479 / 514
src/backend/replication/libpqwalreceiver
81.7%81.7%
81.7 % 267 / 327 100.0 % 17 / 17
src/backend/storage/buffer
82.0%82.0%
82.0 % 1287 / 1569 92.9 % 92 / 99
contrib/isn
82.9%82.9%
82.9 % 368 / 444 88.6 % 39 / 44
contrib/hstore
82.9%82.9%
82.9 % 1369 / 1652 75.2 % 118 / 157
src/backend/commands
83.4%83.4%
83.4 % 20866 / 25020 94.5 % 847 / 896
contrib/unaccent
84.1%84.1%
84.1 % 122 / 145 100.0 % 10 / 10
contrib/intarray
84.6%84.6%
84.6 % 1180 / 1395 90.3 % 130 / 144
src/backend/parser
84.7%84.7%
84.7 % 15969 / 18857 90.8 % 414 / 456
src/backend/replication/logical
84.7%84.7%
84.7 % 3818 / 4507 93.9 % 246 / 262
src/backend/utils/resowner
84.8%84.8%
84.8 % 319 / 376 85.7 % 42 / 49
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.5%85.5%
85.5 % 3803 / 4448 95.9 % 305 / 318
/usr/lib/gcc/x86_64-linux-gnu/4.9/include
85.7%85.7%
85.7 % 12 / 14 100.0 % 2 / 2
src/backend/tsearch
86.8%86.8%
86.8 % 3079 / 3547 88.7 % 188 / 212
src/backend/access/common
86.9%86.9%
86.9 % 1562 / 1797 89.0 % 81 / 91
src/backend/catalog
87.3%87.3%
87.3 % 10308 / 11813 94.2 % 469 / 498
src/include/lib
87.7%87.7%
87.7 % 285 / 325 92.9 % 52 / 56
contrib/dblink
87.6%87.6%
87.6 % 956 / 1091 97.4 % 74 / 76
src/backend/rewrite
87.6%87.6%
87.6 % 1760 / 2009 96.2 % 77 / 80
src/backend/executor
87.9%87.9%
87.9 % 14269 / 16225 91.2 % 704 / 772
src/bin/pg_controldata
88.4%88.4%
88.4 % 129 / 146 100.0 % 4 / 4
src/backend/foreign
88.5%88.5%
88.5 % 208 / 235 100.0 % 20 / 20
contrib/pg_trgm
88.5%88.5%
88.5 % 1334 / 1507 92.3 % 96 / 104
contrib/ltree
88.6%88.6%
88.6 % 1693 / 1910 92.3 % 155 / 168
src/backend/storage/page
89.0%89.0%
89.0 % 347 / 390 100.0 % 22 / 22
src/backend/statistics
89.1%89.1%
89.1 % 620 / 696 85.4 % 41 / 48
src/backend/utils/cache
89.1%89.1%
89.1 % 5102 / 5727 97.4 % 340 / 349
contrib/test_decoding
89.1%89.1%
89.1 % 164 / 184 100.0 % 13 / 13
src/pl/plperl
89.3%89.3%
89.3 % 1537 / 1721 100.0 % 97 / 97
src/pl/plpython
89.4%89.4%
89.4 % 2239 / 2505 99.4 % 154 / 155
src/backend/optimizer/prep
89.4%89.4%
89.4 % 1628 / 1821 96.8 % 61 / 63
src/backend/replication/pgoutput
89.7%89.7%
89.7 % 174 / 194 100.0 % 15 / 15
contrib/postgres_fdw
89.7%89.7%
89.7 % 2738 / 3051 98.6 % 140 / 142
src/pl/tcl
90.0%90.0%
90.0 % 915 / 1017 87.0 % 40 / 46
contrib/bloom
90.6%90.6%
90.6 % 463 / 511 96.7 % 29 / 30
contrib/earthdistance
90.9%90.9%
90.9 % 20 / 22 100.0 % 5 / 5
contrib/tablefunc
91.0%91.0%
91.0 % 383 / 421 100.0 % 19 / 19
src/backend/optimizer/util
90.9%90.9%
90.9 % 4835 / 5317 98.1 % 265 / 270
src/backend/access/index
91.3%91.3%
91.3 % 452 / 495 97.5 % 39 / 40
src/include/replication
91.7%91.7%
91.7 % 11 / 12 100.0 % 2 / 2
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_win
92.0%92.0%
92.0 % 23 / 25 100.0 % 5 / 5
contrib/citext
92.5%92.5%
92.5 % 86 / 93 95.5 % 21 / 22
src/include/utils
92.8%92.8%
92.8 % 90 / 97 100.0 % 15 / 15
src/backend/storage/large_object
93.6%93.6%
93.6 % 291 / 311 100.0 % 14 / 14
src/backend/storage/freespace
93.5%93.5%
93.5 % 318 / 340 100.0 % 34 / 34
src/backend/optimizer/path
93.6%93.6%
93.6 % 5342 / 5710 100.0 % 242 / 242
src/include/storage
93.7%93.7%
93.7 % 104 / 111 93.3 % 14 / 15
src/backend/optimizer/plan
93.8%93.8%
93.8 % 6447 / 6870 97.7 % 254 / 260
contrib/hstore_plpython
93.9%93.9%
93.9 % 62 / 66 100.0 % 6 / 6
contrib/btree_gin
94.1%94.1%
94.1 % 160 / 170 100.0 % 175 / 175
src/include/port/atomics
94.8%94.8%
94.8 % 91 / 96 100.0 % 27 / 27
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/dict_xsyn
96.2%96.2%
96.2 % 100 / 104 100.0 % 8 / 8
contrib/btree_gist
96.4%96.4%
96.4 % 2000 / 2075 98.6 % 500 / 507
src/bin/pg_config
97.0%97.0%
97.0 % 64 / 66 100.0 % 4 / 4
src/backend/access/tablesample
99.2%99.2%
99.2 % 128 / 129 100.0 % 12 / 12
/usr/include/arpa
100.0%
100.0 % 2 / 2 100.0 % 2 / 2
src/include/access
100.0%
100.0 % 8 / 8 100.0 % 1 / 1
src/include/nodes
100.0%
100.0 % 9 / 9 100.0 % 4 / 4
contrib/ltree_plpython
100.0%
100.0 % 13 / 13 100.0 % 4 / 4
src/include/common
100.0%
100.0 % 13 / 13 100.0 % 4 / 4
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_big5
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_tw
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_sjis
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_gbk
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
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_johab
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/backend/utils/mb/conversion_procs/ascii_and_mic
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
src/include
100.0%
100.0 % 22 / 22 100.0 % 6 / 6
src/include/executor
100.0%
100.0 % 27 / 27 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/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
contrib/hstore_plperl
100.0%
100.0 % 53 / 53 100.0 % 6 / 6
src/include/port
100.0%
100.0 % 90 / 90 100.0 % 27 / 27
src/backend/utils/mb/conversion_procs/cyrillic_and_mic
100.0%
100.0 % 161 / 161 100.0 % 41 / 41

Generated by: LCOV version 1.11