MTMVPartitionUtil

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total161 of 2,24492%29 of 26088%3318044527450
isSyncWithPartitions(MTMVRefreshContext, MTMVRefreshContext.PreparedPartitionSnapshots, String, Set, MTMVRelatedTableIf)305966%21083%2742101
findKey(Map, List)192657%2250%2351101
getMTMVNeedRefreshPartitions(MTMVRefreshContext, Set)173969%4100%0361801
generatePartitionName(PartitionKeyDesc)152764%1375%132701
generatePartitionItem(PartitionKeyDesc, List)144877%2466%2431201
isSyncWithBaseTable(MTMVRefreshContext, String, BaseTableInfo)123272%2250%2351501
alignMvPartition(MTMV)100%n/a112211
getPartitionVersions(MTMV, Map)813494%11593%1923001
generateRelatedPartitionDescs(MTMVPartitionInfo, Map, List, Map, Map)83179%1375%132901
getPartitionColumnType(MTMVRelatedTableIf, String, Optional)72275%2250%232601
getTableVersions(MTMV)37796%3975%3712001
MTMVPartitionUtil()30%n/a111111
getPartitionUnSyncTables(MTMVRefreshContext, MTMVRefreshContext.PreparedPartitionSnapshots, String)28097%21285%2822101
isMTMVSync(MTMV)22090%1150%121801
isPartitionSyncLimitActive(Map)2675%1150%120201
lambda$collectPctResetPartitionIds$3(BaseTableInfo)20%n/a111111
lambda$generateRelatedBasePartitionIds$0(BaseTableInfo)20%n/a111111
generateRelatedBasePartitionIds(MTMV)11499%31583%31012401
collectPctResetPartitionIds(MTMV, MTMVRefreshContext, Set)9198%21083%2711701
collectPctResetPartitionIds(MTMV, Collection)6998%1787%1511501
pendingPartitions(MTMV, MTMVPartitionUtil.PartitionAlignment, Map)5498%1375%1301301
dropPartition(MTMV, String)2195%1150%121601
groupedListDescs(Collection)181100%20100%01103801
generatePartitionSnapshot(MTMVRefreshContext, MTMVRefreshContext.PreparedPartitionSnapshots, Set, Map)116100%18100%01002701
computePartitionAlignmentWithSnapshots(MTMV, Map)75100%8100%0501601
isMTMVPartitionSync(MTMVRefreshContext, MTMVRefreshContext.PreparedPartitionSnapshots, String, Set, Set)72100%8100%0501801
isTableNamelike(TableNameInfo, TableNameInfo)64100%10100%0601501
defaultListPartitionsOf(MTMVPartitionInfo)55100%10100%0601601
mappedBasePartitions(Map, Map)54100%1583%1401001
isSyncWithAllBaseTables(MTMVRefreshContext, String, Set, Set)47100%6100%0401501
withDefaultListPartitions(Map, Map)43100%4100%030901
hasDefaultListPartition(MTMVRelatedTableIf)42100%8100%0501201
getPartitionDescsByRelatedTable(Map, MTMVPartitionInfo, Map, List)41100%2100%0201201
getPartitionsUnSyncTables(MTMV)41100%2100%0201001
addPartition(MTMV, PartitionKeyDesc)36100%n/a010701
hasNullPartitionValue(PartitionKeyDesc)35100%8100%050901
isMTMVSync(MTMVRefreshContext, Set, Set)32100%4100%030901
generatePartitionSnapshots(MTMVRefreshContext, Set, Set)32100%2100%020701
getTableSnapshotFromContext(MTMVRelatedTableIf, MTMVRefreshContext)31100%2100%020801
mappedBasePartitionsByMvPartition(Map, MTMVRefreshContext, Set)30100%4100%030801
static {...}24100%n/a010401
isTableExcluded(Set, TableNameInfo)19100%4100%030501
unionKey(Map, List, List)17100%2100%020501
alignMvPartition(MTMV, Map)15100%n/a010301
computePartitionAlignment(MTMV, Map)9100%n/a010201
getBaseVersions(MTMV, Map)9100%n/a010101
generateRelatedPartitionDescs(MTMVPartitionInfo, Map, List, Map)7100%n/a010101
lambda$getPartitionVersions$4(MTMVRelatedTableIf)2100%n/a010101
lambda$groupedListDescs$2(List)2100%n/a010101
lambda$groupedListDescs$1(List)2100%n/a010101