LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: PostgreSQL Lines: 275669 381213 72.3 %
Date: 2017-06-23 11:25:43 Functions: 16751 20596 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.1%14.1%
14.1 % 141 / 998 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.7%19.7%
19.7 % 485 / 2468 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.4%36.4%
36.4 % 3435 / 9428 76.9 % 90 / 117
src/bin/psql
38.2%38.2%
38.2 % 3623 / 9475 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 % 3959 / 8947 63.1 % 315 / 499
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 / 2684 77.3 % 68 / 88
contrib/pgstattuple
51.3%51.3%
51.3 % 266 / 519 73.5 % 36 / 49
src/backend/libpq
52.9%52.9%
52.9 % 1873 / 3542 80.0 % 172 / 215
src/bin/pg_resetwal
52.9%52.9%
52.9 % 281 / 531 83.3 % 10 / 12
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 % 7266 / 12480 54.4 % 563 / 1035
src/backend/port
58.7%58.7%
58.7 % 131 / 223 85.0 % 17 / 20
src/bin/pg_upgrade
58.7%58.7%
58.7 % 1278 / 2177 84.5 % 87 / 103
src/interfaces/ecpg/pgtypeslib
59.2%59.2%
59.2 % 1913 / 3234 85.0 % 91 / 107
contrib/pg_stat_statements
59.3%59.3%
59.3 % 659 / 1111 81.0 % 34 / 42
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/backend/access/gist
62.7%62.7%
62.7 % 1766 / 2817 66.0 % 95 / 144
src/fe_utils
62.6%62.6%
62.6 % 1784 / 2849 65.4 % 85 / 130
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 % 421 / 647 88.5 % 23 / 26
src/backend/postmaster
66.4%66.4%
66.4 % 3916 / 5898 82.1 % 234 / 285
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/mmgr
66.9%66.9%
66.9 % 1632 / 2440 81.7 % 116 / 142
src/backend/access/hash
67.1%67.1%
67.1 % 1572 / 2344 79.2 % 80 / 101
src/bin/initdb
67.2%67.2%
67.2 % 1393 / 2073 89.1 % 90 / 101
src/bin/pg_rewind
67.6%67.6%
67.6 % 1130 / 1672 86.7 % 72 / 83
src/interfaces/ecpg/compatlib
67.7%67.7%
67.7 % 321 / 474 61.7 % 29 / 47
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.6%69.6%
69.6 % 1086 / 1561 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 % 989 / 1375 100.0 % 75 / 75
src/backend/tcop
72.6%72.6%
72.6 % 2449 / 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 % 3224 / 4387 75.4 % 172 / 228
src/backend/access/brin
74.0%74.0%
74.0 % 1280 / 1729 80.8 % 63 / 78
src/backend/utils/sort
74.5%74.5%
74.5 % 1604 / 2153 87.5 % 105 / 120
src/backend/access/spgist
74.6%74.6%
74.6 % 2133 / 2860 82.5 % 85 / 103
src/backend/storage/ipc
75.5%75.5%
75.5 % 2551 / 3381 85.2 % 195 / 229
src/backend/utils/adt
75.6%75.6%
75.6 % 38910 / 51500 78.1 % 2795 / 3577
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 % 3025 / 3964 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
src/pl/plpgsql/src
77.6%77.6%
77.6 % 4631 / 5969 85.0 % 204 / 240
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE
77.8%77.8%
77.8 % 7 / 9 50.0 % 1 / 2
src/backend/access/nbtree
78.5%78.5%
78.5 % 2846 / 3626 87.3 % 131 / 150
src/backend/access/transam
78.6%78.6%
78.6 % 7798 / 9924 88.8 % 486 / 547
src/backend/storage/lmgr
78.9%78.9%
78.9 % 3505 / 4441 90.9 % 221 / 243
src/backend/optimizer/geqo
79.6%79.6%
79.6 % 269 / 338 96.6 % 28 / 29
src/backend/access/heap
79.6%79.6%
79.6 % 3636 / 4565 92.4 % 146 / 158
src/backend/utils/init
79.7%79.7%
79.7 % 558 / 700 92.7 % 51 / 55
src/backend/utils/hash
79.9%79.9%
79.9 % 429 / 537 92.5 % 37 / 40
contrib/pageinspect
80.5%80.5%
80.5 % 753 / 935 96.5 % 55 / 57
src/bin/pg_dump
81.0%81.0%
81.0 % 10416 / 12865 93.3 % 476 / 510
src/backend/replication/libpqwalreceiver
81.2%81.2%
81.2 % 264 / 325 100.0 % 17 / 17
src/backend/storage/buffer
82.2%82.2%
82.2 % 1287 / 1565 93.9 % 92 / 98
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.2%83.2%
83.2 % 20700 / 24893 94.5 % 840 / 889
contrib/unaccent
84.1%84.1%
84.1 % 122 / 145 100.0 % 10 / 10
src/backend/replication/logical
84.3%84.3%
84.3 % 3756 / 4455 93.8 % 243 / 259
src/backend/parser
84.6%84.6%
84.6 % 15957 / 18860 90.8 % 414 / 456
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/intarray
85.4%85.4%
85.4 % 1191 / 1395 91.0 % 131 / 144
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/access/common
86.8%86.8%
86.8 % 1563 / 1801 89.0 % 81 / 91
src/backend/tsearch
86.9%86.9%
86.9 % 3093 / 3561 88.7 % 188 / 212
src/backend/catalog
87.3%87.3%
87.3 % 10281 / 11783 94.2 % 467 / 496
src/backend/rewrite
87.5%87.5%
87.5 % 1736 / 1985 96.2 % 77 / 80
contrib/dblink
87.6%87.6%
87.6 % 950 / 1085 97.4 % 74 / 76
src/backend/executor
87.5%87.5%
87.5 % 14072 / 16076 91.4 % 699 / 765
src/include/lib
87.7%87.7%
87.7 % 285 / 325 92.9 % 52 / 56
src/include/storage
88.3%88.3%
88.3 % 98 / 111 86.7 % 13 / 15
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.0%89.0%
89.0 % 5106 / 5735 97.4 % 341 / 350
contrib/test_decoding
89.1%89.1%
89.1 % 164 / 184 100.0 % 13 / 13
src/pl/plperl
89.2%89.2%
89.2 % 1505 / 1688 100.0 % 96 / 96
src/backend/optimizer/prep
89.1%89.1%
89.1 % 1583 / 1776 96.8 % 60 / 62
src/pl/plpython
89.4%89.4%
89.4 % 2234 / 2500 99.4 % 154 / 155
contrib/postgres_fdw
89.4%89.4%
89.4 % 2705 / 3025 98.6 % 138 / 140
src/backend/replication/pgoutput
89.7%89.7%
89.7 % 174 / 194 100.0 % 15 / 15
src/pl/tcl
89.9%89.9%
89.9 % 912 / 1014 87.0 % 40 / 46
contrib/bloom
90.6%90.6%
90.6 % 463 / 511 96.7 % 29 / 30
src/backend/optimizer/util
90.9%90.9%
90.9 % 4826 / 5311 98.1 % 264 / 269
contrib/earthdistance
90.9%90.9%
90.9 % 20 / 22 100.0 % 5 / 5
contrib/tablefunc
90.9%90.9%
90.9 % 381 / 419 100.0 % 19 / 19
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 % 5327 / 5694 100.0 % 242 / 242
src/backend/optimizer/plan
93.7%93.7%
93.7 % 6439 / 6869 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
src/include/common
100.0%
100.0 % 13 / 13 100.0 % 4 / 4
contrib/ltree_plpython
100.0%
100.0 % 13 / 13 100.0 % 4 / 4
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_euc2004
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_johab
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_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_sjis2004
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_uhc
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/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_euc_cn
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 % 23 / 23 100.0 % 4 / 4
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 % 51 / 51 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