MetastoreUtil

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,421 of 2,4210%270 of 2700%2052054944947070
getField(Type, Block, int)3230%420%2222606011
getHiveSchema(Storage, List, List, Map, String, String, List, List)3090%240%1313595911
extractPartitionValues(String, Optional)1330%180%1010303011
convertRawValueToString(Object, Type)1220%320%1717262611
createTableObjectForViewCreation(ConnectorSession, ConnectorTableMetadata, Map, TypeTranslator, MetastoreContext, String)1130%40%33292911
getSupportedColumnStatistics(Type)1080%280%1515202011
reconstructPartitionSchema(List, int, Map, Optional)860%120%77212111
toPartitionNamesAndValues(String)760%120%77181811
createPartitionValues(List, Page, int)630%60%44111111
toThriftDdl(String, List)620%40%33151511
getHiveSchema(Map, Map)560%80%559911
createDirectory(HdfsContext, HdfsEnvironment, Path)530%20%22101011
verifyOnline(SchemaTableName, Optional, ProtectMode, Map)520%80%55101011
toPartitionValues(String)500%100%66141411
convertPredicateToParts(Map)500%60%44131311
buildInitialPrivilegeSet(String)490%n/a119911
verifyCanDropColumn(ExtendedHiveMetastore, MetastoreContext, String, String, String)360%40%337711
fromMetastoreDistinctValuesCount(long, long, long)340%100%668811
getHiveBasicStatistics(Map)320%n/a115511
getHiveSchema(Table)300%n/a119911
getHiveSchema(Partition, Table)300%n/a119911
renameFile(FileSystem, Path, Path)290%40%336611
updateStatisticsParameters(Map, HiveBasicStatistics)290%n/a117711
makePartName(List, List)280%20%224411
isPrestoMaterializedView(Table)280%40%336611
deleteDirectoryRecursively(HdfsContext, HdfsEnvironment, Path, boolean)230%n/a115511
pathExists(HdfsContext, HdfsEnvironment, Path)220%n/a113311
getHiveDecimal(DecimalType, Block, int)210%20%224411
getFileSystem(HdfsEnvironment, HdfsContext, Path)200%n/a113311
fromMetastoreDistinctValuesCount(OptionalLong, OptionalLong, OptionalLong)200%60%443311
parse(String)200%60%446611
static {...}200%n/a114411
isDeltaLakeTable(Map)170%40%332211
createViewProperties(ConnectorSession, String)160%n/a116611
getProtectMode(Map)140%20%223311
getPartitionLocation(Table, Optional)130%20%223311
getRenameErrorMessage(Path, Path)130%n/a111111
verifyAndPopulateViews(Table, SchemaTableName, String, ImmutableMap.Builder)130%n/a113311
checkCondition(boolean, ErrorCodeSupplier, String, Object[])110%20%223311
lambda$extractPartitionValues$6(ImmutableList.Builder, ImmutableList.Builder, ImmutableList.Builder, String)110%n/a111111
isUserDefinedTypeEncodingEnabled(ConnectorSession)100%n/a113311
lambda$updateStatisticsParameters$8(ImmutableMap.Builder, String, String)100%20%223311
getMetastoreHeaders(ConnectorSession)90%n/a113311
lambda$verifyCanDropColumn$4(String, String)90%n/a111111
isIcebergView(Table)80%n/a111111
checkIfNullView(ConnectorViewDefinition, SchemaTableName)80%20%223311
getPartitionNamesWithEmptyVersion(Collection)80%n/a113311
getPartitionNames(Collection)80%n/a113311
lambda$getSupportedColumnStatistics$7(ColumnStatisticType)80%20%221111
isPrestoView(Table)70%n/a111111
isIcebergTable(Map)70%n/a111111
lambda$updateStatisticsParameters$12(ImmutableMap.Builder, long)70%n/a111111
lambda$updateStatisticsParameters$11(ImmutableMap.Builder, long)70%n/a111111
lambda$updateStatisticsParameters$10(ImmutableMap.Builder, long)70%n/a111111
lambda$updateStatisticsParameters$9(ImmutableMap.Builder, long)70%n/a111111
isArrayType(Type)60%n/a111111
isMapType(Type)60%n/a111111
isRowType(Type)60%n/a111111
lambda$getPartitionNamesWithEmptyVersion$13(String)60%n/a111111
isManagedTable(String)50%n/a111111
lambda$verifyCanDropColumn$5(String, Column)50%n/a111111
getProtectMode(Partition)40%n/a111111
getProtectMode(Table)40%n/a111111
extractPartitionValues(String)40%n/a111111
isDeltaLakeTable(Table)40%n/a111111
isIcebergTable(Table)40%n/a111111
lambda$getHiveSchema$3(Column)30%n/a111111
lambda$getHiveSchema$2(Column)30%n/a111111
lambda$getHiveSchema$1(Column)30%n/a111111
lambda$getHiveSchema$0(Column)30%n/a111111