LCOV - differential code coverage report
Current view: top level - src/bin/pg_dump - pg_dump.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 91.1 % 8509 7750 27 2 730 70 305 7375 12 133
Current Date: 2026-03-14 14:10:32 -0400 Functions: 98.9 % 189 187 2 2 66 119 1
Baseline: lcov-20260315-024220-baseline Branches: 77.7 % 3972 3086 41 1 844 38 107 2941 12 60
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 8 8 8
(7,30] days: 91.8 % 170 156 14 152 4
(30,360] days: 91.7 % 518 475 13 30 145 330
(360..) days: 91.0 % 7813 7111 2 700 70 7041
Function coverage date bins:
(30,360] days: 100.0 % 5 5 3 2
(360..) days: 98.9 % 184 182 2 2 63 117
Branch coverage date bins:
(7,30] days: 64.5 % 76 49 27 41 8
(30,360] days: 78.5 % 297 233 14 50 2 66 165
(360..) days: 77.9 % 3599 2804 1 794 36 2768

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
dumpCollation CBC 4643 75.8 % (91 / 120) 52.6 % (61 / 116)
dumpFunc GNC 1842 83.3 % (155 / 186) 71.2 % (84 / 118)
dumpTableSchema CBC 6474 97.0 % (421 / 434) 90.7 % (301 / 332)
getTableAttrs GNC 260 93.9 % (291 / 310) 80.3 % (122 / 152)
main GNC 387 95.3 % (363 / 381) 86.4 % (191 / 221)
dumpAgg CBC 292 73.3 % (118 / 161) 61.8 % (47 / 76)
dumpDatabase GNC 160 89.1 % (180 / 202) 66.3 % (57 / 86)
processExtensionTables CBC 260 72.6 % (53 / 73) 63.3 % (38 / 60)
dumpConstraint CBC 2489 91.2 % (134 / 147) 80.4 % (74 / 92)
dumpRelationStats_dumper GNC 3330 95.4 % (125 / 131) 76.5 % (52 / 68)
getSubscriptions GNC 260 90.4 % (113 / 125) 65.2 % (30 / 46)
dumpSubscription GNC 110 81.0 % (64 / 79) 71.2 % (37 / 52)
dumpTransform CBC 42 87.7 % (50 / 57) 53.3 % (16 / 30)
dumpTrigger CBC 523 67.1 % (49 / 73) 48.1 % (13 / 27)
findSecLabels GBC 10 62.9 % (22 / 35) 46.2 % (12 / 26)
setup_connection GNC 295 85.2 % (52 / 61) 65.0 % (26 / 40)
collectSecLabels GNC 260 79.5 % (31 / 39) 27.8 % (5 / 18)
dumpProcLang CBC 82 82.1 % (46 / 56) 75.0 % (36 / 48)
dumpSequence GNC 384 79.3 % (88 / 111) 82.9 % (58 / 70)
dumpTableSecLabel UBC 0 0.0 % (0 / 35) 0.0 % (0 / 12)
getTables GNC 261 92.8 % (168 / 181) 78.6 % (44 / 56)
dumpDomain CBC 152 90.4 % (94 / 104) 79.6 % (43 / 54)
dumpTableData_copy GNC 4264 76.9 % (40 / 52) 60.7 % (17 / 28)
getIndexes GNC 260 94.1 % (143 / 152) 79.6 % (43 / 54)
buildMatViewRefreshDependencies CBC 218 92.5 % (37 / 40) 61.5 % (16 / 26)
dumpSecLabel GBC 10 78.6 % (22 / 28) 50.0 % (10 / 20)
getAdditionalACLs CBC 258 90.2 % (46 / 51) 70.6 % (24 / 34)
dumpBaseType CBC 283 94.6 % (122 / 129) 86.8 % (59 / 68)
dumpForeignServer CBC 56 83.0 % (39 / 47) 62.5 % (15 / 24)
dumpRule CBC 1138 78.4 % (58 / 74) 67.9 % (19 / 28)
dumpTableData_insert GNC 87 95.0 % (114 / 120) 89.0 % (73 / 82)
getAttrName CBC 2055 17.6 % (3 / 17) 18.2 % (2 / 11)
dumpEventTrigger CBC 42 58.8 % (30 / 51) 55.6 % (10 / 18)
dumpStatisticsExtStats GNC 171 93.3 % (83 / 89) 77.8 % (28 / 36)
getConstraints GNC 260 95.8 % (68 / 71) 75.0 % (24 / 32)
getPublications GNC 260 93.5 % (72 / 77) 63.6 % (14 / 22)
dumpACL CBC 41914 90.5 % (38 / 42) 79.4 % (27 / 34)
dumpExtension GNC 24 93.8 % (45 / 48) 68.2 % (15 / 22)
dumpOpclass CBC 666 94.6 % (105 / 111) 76.7 % (23 / 30)
dumpSequenceData CBC 402 71.0 % (22 / 31) 61.1 % (11 / 18)
getFormattedTypeName CBC 2320 77.8 % (14 / 18) 41.7 % (5 / 12)
getPublicationTables GNC 260 91.2 % (52 / 57) 70.8 % (17 / 24)
getTriggers GNC 260 90.0 % (54 / 60) 75.0 % (21 / 28)
read_dump_filters CBC 26 88.1 % (52 / 59) 75.9 % (22 / 29)
dumpCast CBC 67 83.3 % (45 / 54) 72.7 % (16 / 22)
dumpCommentExtended CBC 6710 85.7 % (30 / 35) 76.9 % (20 / 26)
dumpCompositeTypeColComments CBC 32 94.6 % (35 / 37) 57.1 % (8 / 14)
dumpDefaultACL CBC 160 70.0 % (28 / 40) 68.4 % (13 / 19)
dumpIndex CBC 2600 89.5 % (51 / 57) 80.0 % (24 / 30)
dumpSubscriptionTable CBC 3 95.8 % (23 / 24) 57.1 % (8 / 14)
getFuncs GNC 260 89.8 % (53 / 59) 62.5 % (10 / 16)
binary_upgrade_extension_member CBC 1517 88.2 % (15 / 17) 64.3 % (9 / 14)
createViewAsClause CBC 877 77.8 % (14 / 18) 37.5 % (3 / 8)
dumpForeignDataWrapper CBC 52 80.6 % (25 / 31) 68.8 % (11 / 16)
dumpOpr CBC 2522 98.0 % (96 / 98) 86.1 % (31 / 36)
dumpPublication GNC 396 95.3 % (61 / 64) 86.8 % (33 / 38)
dumpRangeType CBC 112 94.3 % (66 / 70) 82.1 % (23 / 28)
dumpTableComment CBC 74 93.2 % (41 / 44) 64.3 % (9 / 14)
getRootTableInfo CBC 79 75.0 % (6 / 8) 37.5 % (3 / 8)
dumpCompositeType CBC 130 92.0 % (80 / 87) 86.7 % (26 / 30)
dumpSearchPath CBC 260 83.3 % (20 / 24) 33.3 % (2 / 6)
expand_extension_name_patterns CBC 266 88.2 % (15 / 17) 66.7 % (8 / 12)
forcePartitionRootLoad CBC 1052 91.7 % (11 / 12) 66.7 % (8 / 12)
getAggregates GNC 260 92.7 % (51 / 55) 71.4 % (10 / 14)
getPublicationNamespaces GNC 260 91.7 % (33 / 36) 60.0 % (6 / 10)
parseArchiveFormat CBC 286 87.0 % (20 / 23) 80.0 % (16 / 20)
binary_upgrade_set_pg_class_oids CBC 1266 100.0 % (22 / 22) 78.6 % (11 / 14)
binary_upgrade_set_type_oids_by_type_oid CBC 949 85.7 % (24 / 28) 75.0 % (9 / 12)
collectSequences GNC 260 95.7 % (22 / 23) 78.6 % (11 / 14)
createDummyViewAsClause CBC 20 73.3 % (11 / 15) 62.5 % (5 / 8)
determineNotNullFlags CBC 25255 91.4 % (32 / 35) 85.0 % (17 / 20)
dumpAccessMethod CBC 80 76.5 % (26 / 34) 72.7 % (8 / 11)
dumpAttrDef CBC 1037 96.0 % (24 / 25) 62.5 % (5 / 8)
dumpConversion CBC 422 100.0 % (42 / 42) 70.0 % (7 / 10)
dumpDumpableObject GNC 1132159 99.3 % (150 / 151) 94.4 % (51 / 54)
dumpOpfamily CBC 555 93.1 % (81 / 87) 86.4 % (19 / 22)
dumpPolicy CBC 326 98.2 % (55 / 56) 89.3 % (25 / 28)
dumpTableData GNC 4437 100.0 % (33 / 33) 75.0 % (9 / 12)
dumpUndefinedType CBC 37 82.4 % (28 / 34) 75.0 % (9 / 12)
getCasts GNC 260 97.1 % (34 / 35) 62.5 % (5 / 8)
getDomainConstraints GNC 158 100.0 % (49 / 49) 78.6 % (11 / 14)
getRules GNC 260 95.2 % (40 / 42) 78.6 % (11 / 14)
getSubscriptionRelations GNC 260 95.2 % (40 / 42) 83.3 % (15 / 18)
getTableDataFKConstraints CBC 7 93.8 % (15 / 16) 75.0 % (9 / 12)
getTransforms GNC 260 97.0 % (32 / 33) 62.5 % (5 / 8)
selectDumpableProcLang GNC 305 77.8 % (7 / 9) 62.5 % (5 / 8)
collectComments GNC 260 100.0 % (37 / 37) 88.9 % (16 / 18)
convertRegProcReference CBC 7506 100.0 % (12 / 12) 80.0 % (8 / 10)
dumpEnumType CBC 85 95.5 % (63 / 66) 92.3 % (24 / 26)
dumpLO CBC 87 87.1 % (27 / 31) 87.5 % (14 / 16)
dumpLOs CBC 76 88.9 % (16 / 18) 75.0 % (6 / 8)
dumpStatisticsExt CBC 171 88.2 % (30 / 34) 75.0 % (6 / 8)
dumpTSConfig CBC 154 100.0 % (55 / 55) 88.9 % (16 / 18)
dumpTSParser CBC 41 100.0 % (35 / 35) 80.0 % (8 / 10)
dumpTSTemplate CBC 53 100.0 % (29 / 29) 80.0 % (8 / 10)
dumpUserMappings CBC 47 96.9 % (31 / 32) 66.7 % (4 / 6)
findDumpableDependencies GNC 8718 86.7 % (13 / 15) 83.3 % (10 / 12)
getExtendedStatistics GNC 260 94.4 % (34 / 36) 80.0 % (8 / 10)
getExtensionMembership CBC 261 87.5 % (21 / 24) 80.0 % (8 / 10)
getLOs GNC 232 100.0 % (62 / 62) 90.0 % (18 / 20)
getPartitioningInfo CBC 260 88.2 % (15 / 17) 75.0 % (6 / 8)
getPolicies GNC 260 97.6 % (81 / 83) 92.9 % (26 / 28)
getRoleName CBC 998564 92.3 % (12 / 13) 75.0 % (6 / 8)
get_next_possible_free_pg_type_oid UBC 0 0.0 % (0 / 8) 0.0 % (0 / 2)
prohibit_crossdb_refs CBC 5 71.4 % (5 / 7) 50.0 % (2 / 4)
selectDumpableStatisticsObject CBC 208 85.7 % (6 / 7) 66.7 % (4 / 6)
addBoundaryDependencies CBC 260 100.0 % (36 / 36) 94.1 % (16 / 17)
addConstrChildIdxDeps CBC 45 100.0 % (8 / 8) 83.3 % (5 / 6)
appendReloptionsArrayAH CBC 219 83.3 % (5 / 6) 50.0 % (1 / 2)
binary_upgrade_set_type_oids_by_rel CBC 874 100.0 % (5 / 5) 50.0 % (1 / 2)
checkExtensionMembership CBC 999903 91.7 % (11 / 12) 83.3 % (5 / 6)
dumpDatabaseConfig CBC 160 87.5 % (14 / 16) 75.0 % (3 / 4)
dumpIndexAttach CBC 574 100.0 % (12 / 12) 75.0 % (3 / 4)
dumpNamespace CBC 642 91.2 % (31 / 34) 94.4 % (17 / 18)
dumpPublicationNamespace CBC 99 100.0 % (15 / 15) 75.0 % (3 / 4)
dumpPublicationTable CBC 284 100.0 % (22 / 22) 87.5 % (7 / 8)
dumpRelationStats CBC 3402 83.3 % (5 / 6) 50.0 % (1 / 2)
dumpShellType CBC 73 100.0 % (14 / 14) 83.3 % (5 / 6)
dumpStdStrings CBC 260 100.0 % (9 / 9) 50.0 % (1 / 2)
dumpTSDictionary CBC 179 100.0 % (38 / 38) 90.0 % (9 / 10)
dumpTable CBC 42593 97.8 % (45 / 46) 95.0 % (19 / 20)
dumpTableConstraintComment CBC 84 100.0 % (13 / 13) 75.0 % (3 / 4)
dumpType CBC 923 100.0 % (17 / 17) 93.8 % (15 / 16)
expand_foreign_server_name_patterns CBC 263 94.1 % (16 / 17) 90.0 % (9 / 10)
expand_schema_name_patterns CBC 288 100.0 % (21 / 21) 92.9 % (13 / 14)
fetchAttributeStats CBC 1046 97.2 % (35 / 36) 95.0 % (19 / 20)
findComments CBC 6816 93.8 % (30 / 32) 95.8 % (23 / 24)
findNamespace CBC 996999 80.0 % (4 / 5) 50.0 % (1 / 2)
format_aggregate_signature CBC 285 92.3 % (12 / 13) 87.5 % (7 / 8)
getAccessMethods GNC 260 96.4 % (27 / 28) 75.0 % (3 / 4)
getEventTriggers GNC 260 96.8 % (30 / 31) 75.0 % (3 / 4)
getExtensions GNC 261 97.1 % (34 / 35) 75.0 % (3 / 4)
getFormattedOperatorName CBC 5289 77.8 % (7 / 9) 75.0 % (3 / 4)
getOwnedSeqs CBC 260 93.3 % (14 / 15) 90.0 % (9 / 10)
getRelationStatistics GNC 9870 94.9 % (37 / 39) 94.1 % (16 / 17)
is_superuser CBC 259 100.0 % (6 / 6) 75.0 % (3 / 4)
nonemptyReloptions CBC 13990 100.0 % (2 / 2) 75.0 % (3 / 4)
parse_sequence_type CBC 647 80.0 % (4 / 5) 75.0 % (3 / 4)
refreshMatViewData CBC 348 100.0 % (12 / 12) 75.0 % (3 / 4)
selectDumpableAccessMethod GNC 1942 80.0 % (8 / 10) 87.5 % (7 / 8)
selectDumpableCast GNC 62747 85.7 % (6 / 7) 83.3 % (5 / 6)
selectDumpableNamespace CBC 1747 100.0 % (27 / 27) 95.5 % (21 / 22)
selectDumpablePublicationObject CBC 475 80.0 % (4 / 5) 75.0 % (3 / 4)
selectDumpableType CBC 183350 92.9 % (13 / 14) 91.7 % (11 / 12)
BuildArchiveDependencies GNC 131 100.0 % (22 / 22) 100.0 % (12 / 12)
append_depends_on_extension CBC 5093 100.0 % (16 / 16) 100.0 % (4 / 4)
collectBinaryUpgradeClassOids GNC 38 100.0 % (16 / 16) 100.0 % (2 / 2)
collectRoleNames GNC 261 100.0 % (10 / 10) 100.0 % (2 / 2)
dumpTableAttach CBC 1391 100.0 % (22 / 22) 100.0 % (4 / 4)
expand_table_name_patterns CBC 1587 100.0 % (27 / 27) 100.0 % (18 / 18)
fmtCopyColumnList CBC 8614 100.0 % (20 / 20) 100.0 % (10 / 10)
format_function_arguments CBC 4130 100.0 % (7 / 7) 100.0 % (4 / 4)
format_function_signature CBC 2173 100.0 % (12 / 12) 100.0 % (6 / 6)
getCollations GNC 260 100.0 % (26 / 26) 100.0 % (2 / 2)
getConversions GNC 260 100.0 % (24 / 24) 100.0 % (2 / 2)
getDefaultACLs GNC 260 100.0 % (35 / 35) 100.0 % (4 / 4)
getDependencies CBC 260 100.0 % (40 / 40) 100.0 % (20 / 20)
getForeignDataWrappers GNC 260 100.0 % (36 / 36) 100.0 % (4 / 4)
getForeignServers GNC 260 100.0 % (39 / 39) 100.0 % (4 / 4)
getInherits GNC 260 100.0 % (15 / 15) 100.0 % (2 / 2)
getNamespaces GNC 261 100.0 % (49 / 49) 100.0 % (6 / 6)
getOpclasses GNC 260 100.0 % (26 / 26) 100.0 % (2 / 2)
getOperators GNC 260 100.0 % (32 / 32) 100.0 % (2 / 2)
getOpfamilies GNC 260 100.0 % (26 / 26) 100.0 % (2 / 2)
getProcLangs GNC 260 100.0 % (37 / 37) 100.0 % (4 / 4)
getTSConfigurations GNC 260 100.0 % (26 / 26) 100.0 % (2 / 2)
getTSDictionaries GNC 260 100.0 % (30 / 30) 100.0 % (4 / 4)
getTSParsers GNC 260 100.0 % (32 / 32) 100.0 % (2 / 2)
getTSTemplates GNC 260 100.0 % (26 / 26) 100.0 % (2 / 2)
getTableData CBC 252 100.0 % (6 / 6) 100.0 % (8 / 8)
getTypes GNC 260 100.0 % (73 / 73) 100.0 % (20 / 20)
makeTableDataInfo GNC 6236 100.0 % (36 / 36) 100.0 % (26 / 26)
selectDumpableDefaultACL CBC 194 100.0 % (6 / 6) 100.0 % (4 / 4)
selectDumpableExtension GNC 291 100.0 % (14 / 14) 100.0 % (12 / 12)
selectDumpableObject CBC 748208 100.0 % (7 / 7) 100.0 % (6 / 6)
selectDumpableTable CBC 65827 100.0 % (10 / 10) 100.0 % (10 / 10)
shouldPrintColumn CBC 40947 100.0 % (6 / 6) 100.0 % (8 / 8)
BinaryUpgradeClassOidItemCmp CBC 12489 100.0 % (4 / 4)
SequenceItemCmp CBC 2971 100.0 % (4 / 4)
appendNamedArgument CBC 6231 100.0 % (7 / 7)
convertTSFunction CBC 205 100.0 % (6 / 6)
createBoundaryObjects GNC 260 100.0 % (11 / 11)
dumpComment CBC 6480 100.0 % (3 / 3)
dumpEncoding CBC 260 100.0 % (11 / 11)
get_language_name CBC 88 100.0 % (8 / 8)
get_synchronized_snapshot CBC 9 100.0 % (6 / 6)
help CBC 1 100.0 % (85 / 85)
set_restrict_relation_kind CBC 296 100.0 % (7 / 7)
setupDumpWorker CBC 18 100.0 % (3 / 3)

Generated by: LCOV version 2.4-beta