LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: PostgreSQL Lines: 275909 381529 72.3 %
Date: 2017-07-21 11:17:13 Functions: 16767 20614 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
/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/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/citext
92.5%92.5%
92.5 % 86 / 93 95.5 % 21 / 22
contrib/cube
72.9%72.9%
72.9 % 973 / 1335 81.2 % 108 / 133
contrib/dblink
87.6%87.6%
87.6 % 950 / 1085 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/hstore
82.9%82.9%
82.9 % 1369 / 1652 75.2 % 118 / 157
contrib/hstore_plperl
100.0%
100.0 % 51 / 51 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.9%82.9%
82.9 % 368 / 444 88.6 % 39 / 44
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/pg_stat_statements
59.1%59.1%
59.1 % 659 / 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 % 266 / 519 73.5 % 36 / 49
contrib/postgres_fdw
89.4%89.4%
89.4 % 2705 / 3025 98.6 % 138 / 140
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
90.9%90.9%
90.9 % 381 / 419 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 % 1280 / 1729 80.8 % 63 / 78
src/backend/access/common
87.0%87.0%
87.0 % 1566 / 1801 89.0 % 81 / 91
src/backend/access/gin
76.3%76.3%
76.3 % 3026 / 3964 81.8 % 139 / 170
src/backend/access/gist
62.7%62.7%
62.7 % 1766 / 2817 66.0 % 95 / 144
src/backend/access/hash
66.8%66.8%
66.8 % 1574 / 2355 79.2 % 80 / 101
src/backend/access/heap
79.7%79.7%
79.7 % 3640 / 4565 92.4 % 146 / 158
src/backend/access/index
91.3%91.3%
91.3 % 452 / 495 97.5 % 39 / 40
src/backend/access/nbtree
78.5%78.5%
78.5 % 2846 / 3626 87.3 % 131 / 150
src/backend/access/rmgrdesc
14.1%14.1%
14.1 % 141 / 998 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 % 7791 / 9926 88.7 % 485 / 547
src/backend/bootstrap
68.5%68.5%
68.5 % 725 / 1059 56.1 % 32 / 57
src/backend/catalog
87.2%87.2%
87.2 % 10299 / 11811 94.2 % 469 / 498
src/backend/commands
83.2%83.2%
83.2 % 20790 / 24974 94.5 % 845 / 894
src/backend/executor
87.6%87.6%
87.6 % 14131 / 16135 91.4 % 702 / 768
src/backend/foreign
88.5%88.5%
88.5 % 208 / 235 100.0 % 20 / 20
src/backend/lib
68.6%68.6%
68.6 % 490 / 714 77.4 % 48 / 62
src/backend/libpq
52.6%52.6%
52.6 % 1866 / 3547 80.0 % 172 / 215
src/backend/main
41.8%41.8%
41.8 % 41 / 98 80.0 % 4 / 5
src/backend/nodes
58.2%58.2%
58.2 % 7279 / 12499 54.4 % 565 / 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 % 5334 / 5700 100.0 % 242 / 242
src/backend/optimizer/plan
93.8%93.8%
93.8 % 6440 / 6869 97.7 % 254 / 260
src/backend/optimizer/prep
89.1%89.1%
89.1 % 1583 / 1776 96.8 % 60 / 62
src/backend/optimizer/util
90.8%90.8%
90.8 % 4831 / 5318 98.1 % 264 / 269
src/backend/parser
84.6%84.6%
84.6 % 15958 / 18853 90.8 % 414 / 456
src/backend/port
58.7%58.7%
58.7 % 131 / 223 85.0 % 17 / 20
src/backend/postmaster
66.5%66.5%
66.5 % 3934 / 5919 82.2 % 235 / 286
src/backend/regex
70.9%70.9%
70.9 % 3175 / 4478 90.1 % 172 / 191
src/backend/replication
73.5%73.5%
73.5 % 3237 / 4407 75.4 % 172 / 228
src/backend/replication/libpqwalreceiver
81.6%81.6%
81.6 % 266 / 326 100.0 % 17 / 17
src/backend/replication/logical
84.5%84.5%
84.5 % 3772 / 4462 93.8 % 243 / 259
src/backend/replication/pgoutput
89.7%89.7%
89.7 % 174 / 194 100.0 % 15 / 15
src/backend/rewrite
87.5%87.5%
87.5 % 1749 / 1998 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.1%82.1%
82.1 % 1285 / 1565 93.9 % 92 / 98
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
74.6%74.6%
74.6 % 2524 / 3383 84.7 % 194 / 229
src/backend/storage/large_object
93.6%93.6%
93.6 % 291 / 311 100.0 % 14 / 14
src/backend/storage/lmgr
78.9%78.9%
78.9 % 3505 / 4441 90.9 % 221 / 243
src/backend/storage/page
89.0%89.0%
89.0 % 347 / 390 100.0 % 22 / 22
src/backend/storage/smgr
76.5%76.5%
76.5 % 507 / 663 91.7 % 55 / 60
src/backend/tcop
72.5%72.5%
72.5 % 2448 / 3375 86.0 % 86 / 100
src/backend/tsearch
86.8%86.8%
86.8 % 3079 / 3547 88.7 % 188 / 212
src/backend/utils/adt
75.6%75.6%
75.6 % 38948 / 51535 78.2 % 2799 / 3579
src/backend/utils/cache
89.1%89.1%
89.1 % 5111 / 5735 97.4 % 341 / 350
src/backend/utils/error
57.0%57.0%
57.0 % 696 / 1220 83.1 % 54 / 65
src/backend/utils/fmgr
69.6%69.6%
69.6 % 1086 / 1561 82.5 % 80 / 97
src/backend/utils/hash
79.9%79.9%
79.9 % 429 / 537 92.5 % 37 / 40
src/backend/utils/init
79.5%79.5%
79.5 % 558 / 702 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.3%68.3%
68.3 % 2634 / 3857 82.8 % 192 / 232
src/backend/utils/mmgr
66.9%66.9%
66.9 % 1632 / 2440 81.7 % 116 / 142
src/backend/utils/resowner
84.8%84.8%
84.8 % 319 / 376 85.7 % 42 / 49
src/backend/utils/sort
74.5%74.5%
74.5 % 1604 / 2153 87.5 % 105 / 120
src/backend/utils/time
71.9%71.9%
71.9 % 989 / 1375 100.0 % 75 / 75
src/bin/initdb
67.2%67.2%
67.2 % 1393 / 2073 89.1 % 90 / 101
src/bin/pg_basebackup
50.3%50.3%
50.3 % 1351 / 2684 77.3 % 68 / 88
src/bin/pg_config
97.0%97.0%
97.0 % 64 / 66 100.0 % 4 / 4
src/bin/pg_controldata
88.4%88.4%
88.4 % 129 / 146 100.0 % 4 / 4
src/bin/pg_ctl
65.1%65.1%
65.1 % 405 / 622 88.5 % 23 / 26
src/bin/pg_dump
81.0%81.0%
81.0 % 10416 / 12865 93.3 % 476 / 510
src/bin/pg_resetwal
52.9%52.9%
52.9 % 281 / 531 83.3 % 10 / 12
src/bin/pg_rewind
67.6%67.6%
67.6 % 1130 / 1672 86.7 % 72 / 83
src/bin/pg_upgrade
58.6%58.6%
58.6 % 1280 / 2185 84.5 % 87 / 103
src/bin/pgbench
19.7%19.7%
19.7 % 485 / 2468 22.6 % 28 / 124
src/bin/psql
38.2%38.2%
38.2 % 3623 / 9475 41.1 % 215 / 523
src/bin/scripts
63.8%63.8%
63.8 % 908 / 1423 87.8 % 36 / 41
src/common
77.4%77.4%
77.4 % 1110 / 1435 86.3 % 82 / 95
src/fe_utils
62.6%62.6%
62.6 % 1784 / 2849 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 % 23 / 23 100.0 % 4 / 4
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
94.8%94.8%
94.8 % 91 / 96 100.0 % 27 / 27
src/include/replication
91.7%91.7%
91.7 % 11 / 12 100.0 % 2 / 2
src/include/storage
88.3%88.3%
88.3 % 98 / 111 86.7 % 13 / 15
src/include/utils
92.8%92.8%
92.8 % 90 / 97 100.0 % 15 / 15
src/interfaces/ecpg/compatlib
67.7%67.7%
67.7 % 321 / 474 61.7 % 29 / 47
src/interfaces/ecpg/ecpglib
59.9%59.9%
59.9 % 2016 / 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.4%36.4%
36.4 % 3435 / 9430 76.9 % 90 / 117
src/interfaces/libpq
44.2%44.2%
44.2 % 3963 / 8976 63.1 % 316 / 501
src/pl/plperl
89.2%89.2%
89.2 % 1505 / 1688 100.0 % 96 / 96
src/pl/plpgsql/src
77.6%77.6%
77.6 % 4631 / 5969 85.0 % 204 / 240
src/pl/plpython
89.4%89.4%
89.4 % 2234 / 2500 99.4 % 154 / 155
src/pl/tcl
89.9%89.9%
89.9 % 912 / 1014 87.0 % 40 / 46
src/port
76.1%76.1%
76.1 % 696 / 915 85.5 % 65 / 76
src/test/regress
63.6%63.6%
63.6 % 892 / 1402 79.1 % 68 / 86
src/timezone
68.1%68.1%
68.1 % 1893 / 2778 89.3 % 100 / 112

Generated by: LCOV version 1.11