MTMVPartitionUtil

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total134 of 1,82592%21 of 21490%2414836434341
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
isSyncWithBaseTable(MTMVRefreshContext, String, BaseTableInfo)103477%1375%1341501
getPartitionVersions(MTMV, Map)813494%11593%1923001
generateRelatedPartitionDescs(MTMVPartitionInfo, Map, List, Map, Map)83179%1375%132901
getPartitionColumnType(MTMVRelatedTableIf, String, Optional)72275%2250%232601
alignMvPartition(MTMV)40%n/a111111
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$generateRelatedBasePartitionIds$0(BaseTableInfo)20%n/a111111
generateRelatedBasePartitionIds(MTMV)11499%31583%31012401
dropPartition(MTMV, String)2195%1150%121601
mergedListDescs(Collection)162100%16100%0903601
generatePartitionSnapshot(MTMVRefreshContext, MTMVRefreshContext.PreparedPartitionSnapshots, Set, Map)116100%18100%01002701
isMTMVPartitionSync(MTMVRefreshContext, MTMVRefreshContext.PreparedPartitionSnapshots, String, Set, Set)72100%8100%0501801
alignMvPartitionWithSnapshots(MTMV, Map)72100%8100%0501501
mappedBasePartitions(Map, MTMVRefreshContext, Set)70100%10100%0601301
isTableNamelike(TableNameInfo, TableNameInfo)64100%10100%0601501
isSyncWithAllBaseTables(MTMVRefreshContext, String, Set, Set)47100%6100%0401501
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
static {...}24100%n/a010401
isTableExcluded(Set, TableNameInfo)19100%4100%030501
lambda$mergedListDescs$2(Map, Map, Map, List)19100%2100%020301
unionKey(Map, List, List)17100%2100%020501
alignMvPartition(MTMV, Map)9100%n/a010201
getBaseVersions(MTMV, Map)9100%n/a010101
generateRelatedPartitionDescs(MTMVPartitionInfo, Map, List, Map)7100%n/a010101
lambda$getPartitionVersions$3(MTMVRelatedTableIf)2100%n/a010101
lambda$mergedListDescs$1(List)2100%n/a010101