GuardrailsOptions

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,802 of 2,18817%46 of 6023%251279395487221249
validatePositiveNumeric(long, long, String, boolean)6657%9110%5691101
validateWarnLowerThanFail(long, long, String)31513%5116%344601
validateWarnGreaterThanFail(long, long, String)31513%5116%344601
validateDataDiskUsageMaxDiskSize(DataStorageSpec.LongBytesBound)3039%3125%236801
updatePropertyWithLogging(String, Object, Supplier, Consumer)300%40%335511
validateWarnLowerThanFail(DataStorageSpec.LongBytesBound, DataStorageSpec.LongBytesBound, String)2939%5116%343501
validateTableProperties(Set, String)281940%2250%232701
setPartitionTombstonesThreshold(long, long)220%n/a116611
validateMaxRFThreshold(int, int)21827%3125%232501
setKeyspacesThreshold(int, int)210%n/a116611
setTablesThreshold(int, int)210%n/a116611
setColumnsPerTableThreshold(int, int)210%n/a116611
setSecondaryIndexesPerTableThreshold(int, int)210%n/a116611
setPartitionKeysInSelectThreshold(int, int)210%n/a116611
setMaterializedViewsPerTableThreshold(int, int)210%n/a116611
setPageSizeThreshold(int, int)210%n/a116611
setInSelectCartesianProductThreshold(int, int)210%n/a116611
setItemsPerCollectionThreshold(int, int)210%n/a116611
setFieldsPerUDTThreshold(int, int)210%n/a116611
setVectorDimensionsThreshold(int, int)210%n/a116611
setDataDiskUsagePercentageThreshold(int, int)210%n/a116611
validateSize(DataStorageSpec.LongBytesBound, boolean, String)20313%5116%343501
setPartitionSizeThreshold(DataStorageSpec.LongBytesBound, DataStorageSpec.LongBytesBound)200%n/a114411
setColumnValueSizeThreshold(DataStorageSpec.LongBytesBound, DataStorageSpec.LongBytesBound)200%n/a114411
setCollectionSizeThreshold(DataStorageSpec.LongBytesBound, DataStorageSpec.LongBytesBound)200%n/a114411
setMinimumReplicationFactorThreshold(int, int)200%n/a116611
setMaximumReplicationFactorThreshold(int, int)200%n/a116611
setMaximumTimestampThreshold(DurationSpec.LongMicrosecondsBound, DurationSpec.LongMicrosecondsBound)190%n/a114411
setMinimumTimestampThreshold(DurationSpec.LongMicrosecondsBound, DurationSpec.LongMicrosecondsBound)190%n/a114411
validateMinRFThreshold(int, int)18830%1150%122501
validateConsistencyLevels(Set, String)14836%2250%231301
setTablePropertiesWarned(Set)100%n/a113311
setTablePropertiesIgnored(Set)100%n/a113311
setTablePropertiesDisallowed(Set)100%n/a113311
setReadConsistencyLevelsWarned(Set)100%n/a113311
setReadConsistencyLevelsDisallowed(Set)100%n/a113311
setWriteConsistencyLevelsWarned(Set)100%n/a113311
setWriteConsistencyLevelsDisallowed(Set)100%n/a113311
setDataDiskUsageMaxDiskSize(DataStorageSpec.LongBytesBound)100%n/a113311
setUserTimestampsEnabled(boolean)90%n/a113311
setGroupByEnabled(boolean)90%n/a113311
setDropTruncateTableEnabled(boolean)90%n/a113311
setDropKeyspaceEnabled(boolean)90%n/a113311
setBulkLoadEnabled(boolean)90%n/a113311
setSecondaryIndexesEnabled(boolean)90%n/a113311
setUncompressedTablesEnabled(boolean)90%n/a113311
setCompactTablesEnabled(boolean)90%n/a113311
setAlterTableEnabled(boolean)90%n/a113311
setReadBeforeWriteListOperationsEnabled(boolean)90%n/a113311
setAllowFilteringEnabled(boolean)90%n/a113311
setSimpleStrategyEnabled(boolean)90%n/a113311
setZeroTTLOnTWCSWarned(boolean)90%n/a113311
setZeroTTLOnTWCSEnabled(boolean)90%n/a113311
lambda$setZeroTTLOnTWCSEnabled$115(Boolean)60%n/a111111
lambda$setZeroTTLOnTWCSWarned$113(Boolean)60%n/a111111
lambda$setMaximumReplicationFactorThreshold$111(Integer)60%n/a111111
lambda$setMaximumReplicationFactorThreshold$109(Integer)60%n/a111111
lambda$setMinimumReplicationFactorThreshold$107(Integer)60%n/a111111
lambda$setMinimumReplicationFactorThreshold$105(Integer)60%n/a111111
lambda$setDataDiskUsagePercentageThreshold$101(Integer)60%n/a111111
lambda$setDataDiskUsagePercentageThreshold$99(Integer)60%n/a111111
lambda$setVectorDimensionsThreshold$97(Integer)60%n/a111111
lambda$setVectorDimensionsThreshold$95(Integer)60%n/a111111
lambda$setFieldsPerUDTThreshold$93(Integer)60%n/a111111
lambda$setFieldsPerUDTThreshold$91(Integer)60%n/a111111
lambda$setItemsPerCollectionThreshold$89(Integer)60%n/a111111
lambda$setItemsPerCollectionThreshold$87(Integer)60%n/a111111
lambda$setPartitionTombstonesThreshold$77(Long)60%n/a111111
lambda$setPartitionTombstonesThreshold$75(Long)60%n/a111111
lambda$setInSelectCartesianProductThreshold$61(Integer)60%n/a111111
lambda$setInSelectCartesianProductThreshold$59(Integer)60%n/a111111
lambda$setSimpleStrategyEnabled$57(Boolean)60%n/a111111
lambda$setAllowFilteringEnabled$55(Boolean)60%n/a111111
lambda$setReadBeforeWriteListOperationsEnabled$53(Boolean)60%n/a111111
lambda$setAlterTableEnabled$51(Boolean)60%n/a111111
lambda$setCompactTablesEnabled$49(Boolean)60%n/a111111
lambda$setUncompressedTablesEnabled$47(Boolean)60%n/a111111
lambda$setSecondaryIndexesEnabled$45(Boolean)60%n/a111111
lambda$setBulkLoadEnabled$43(Boolean)60%n/a111111
lambda$setDropKeyspaceEnabled$41(Boolean)60%n/a111111
lambda$setDropTruncateTableEnabled$39(Boolean)60%n/a111111
lambda$setGroupByEnabled$37(Boolean)60%n/a111111
lambda$setUserTimestampsEnabled$35(Boolean)60%n/a111111
lambda$setPageSizeThreshold$27(Integer)60%n/a111111
lambda$setPageSizeThreshold$25(Integer)60%n/a111111
lambda$setMaterializedViewsPerTableThreshold$23(Integer)60%n/a111111
lambda$setMaterializedViewsPerTableThreshold$21(Integer)60%n/a111111
lambda$setPartitionKeysInSelectThreshold$19(Integer)60%n/a111111
lambda$setPartitionKeysInSelectThreshold$17(Integer)60%n/a111111
lambda$setSecondaryIndexesPerTableThreshold$15(Integer)60%n/a111111
lambda$setSecondaryIndexesPerTableThreshold$13(Integer)60%n/a111111
lambda$setColumnsPerTableThreshold$11(Integer)60%n/a111111
lambda$setColumnsPerTableThreshold$9(Integer)60%n/a111111
lambda$setTablesThreshold$7(Integer)60%n/a111111
lambda$setTablesThreshold$5(Integer)60%n/a111111
lambda$setKeyspacesThreshold$3(Integer)60%n/a111111
lambda$setKeyspacesThreshold$1(Integer)60%n/a111111
lambda$setMinimumTimestampThreshold$123(DurationSpec.LongMicrosecondsBound)50%n/a111111
lambda$setMinimumTimestampThreshold$121(DurationSpec.LongMicrosecondsBound)50%n/a111111
lambda$setMaximumTimestampThreshold$119(DurationSpec.LongMicrosecondsBound)50%n/a111111
lambda$setMaximumTimestampThreshold$117(DurationSpec.LongMicrosecondsBound)50%n/a111111
lambda$setZeroTTLOnTWCSEnabled$114()50%n/a111111
lambda$setZeroTTLOnTWCSWarned$112()50%n/a111111
lambda$setMaximumReplicationFactorThreshold$110()50%n/a111111
lambda$setMaximumReplicationFactorThreshold$108()50%n/a111111
lambda$setMinimumReplicationFactorThreshold$106()50%n/a111111
lambda$setMinimumReplicationFactorThreshold$104()50%n/a111111
lambda$setDataDiskUsageMaxDiskSize$103(DataStorageSpec.LongBytesBound)50%n/a111111
lambda$setDataDiskUsagePercentageThreshold$100()50%n/a111111
lambda$setDataDiskUsagePercentageThreshold$98()50%n/a111111
lambda$setVectorDimensionsThreshold$96()50%n/a111111
lambda$setVectorDimensionsThreshold$94()50%n/a111111
lambda$setFieldsPerUDTThreshold$92()50%n/a111111
lambda$setFieldsPerUDTThreshold$90()50%n/a111111
lambda$setItemsPerCollectionThreshold$88()50%n/a111111
lambda$setItemsPerCollectionThreshold$86()50%n/a111111
lambda$setCollectionSizeThreshold$85(DataStorageSpec.LongBytesBound)50%n/a111111
lambda$setCollectionSizeThreshold$83(DataStorageSpec.LongBytesBound)50%n/a111111
lambda$setColumnValueSizeThreshold$81(DataStorageSpec.LongBytesBound)50%n/a111111
lambda$setColumnValueSizeThreshold$79(DataStorageSpec.LongBytesBound)50%n/a111111
lambda$setPartitionTombstonesThreshold$76()50%n/a111111
lambda$setPartitionTombstonesThreshold$74()50%n/a111111
lambda$setPartitionSizeThreshold$73(DataStorageSpec.LongBytesBound)50%n/a111111
lambda$setPartitionSizeThreshold$71(DataStorageSpec.LongBytesBound)50%n/a111111
lambda$setWriteConsistencyLevelsDisallowed$69(Set)50%n/a111111
lambda$setWriteConsistencyLevelsWarned$67(Set)50%n/a111111
lambda$setReadConsistencyLevelsDisallowed$65(Set)50%n/a111111
lambda$setReadConsistencyLevelsWarned$63(Set)50%n/a111111
lambda$setInSelectCartesianProductThreshold$60()50%n/a111111
lambda$setInSelectCartesianProductThreshold$58()50%n/a111111
lambda$setSimpleStrategyEnabled$56()50%n/a111111
lambda$setAllowFilteringEnabled$54()50%n/a111111
lambda$setReadBeforeWriteListOperationsEnabled$52()50%n/a111111
lambda$setAlterTableEnabled$50()50%n/a111111
lambda$setCompactTablesEnabled$48()50%n/a111111
lambda$setUncompressedTablesEnabled$46()50%n/a111111
lambda$setSecondaryIndexesEnabled$44()50%n/a111111
lambda$setBulkLoadEnabled$42()50%n/a111111
lambda$setDropKeyspaceEnabled$40()50%n/a111111
lambda$setDropTruncateTableEnabled$38()50%n/a111111
lambda$setGroupByEnabled$36()50%n/a111111
lambda$setUserTimestampsEnabled$34()50%n/a111111
lambda$setTablePropertiesDisallowed$33(Set)50%n/a111111
lambda$setTablePropertiesIgnored$31(Set)50%n/a111111
lambda$setTablePropertiesWarned$29(Set)50%n/a111111
lambda$setPageSizeThreshold$26()50%n/a111111
lambda$setPageSizeThreshold$24()50%n/a111111
lambda$setMaterializedViewsPerTableThreshold$22()50%n/a111111
lambda$setMaterializedViewsPerTableThreshold$20()50%n/a111111
lambda$setPartitionKeysInSelectThreshold$18()50%n/a111111
lambda$setPartitionKeysInSelectThreshold$16()50%n/a111111
lambda$setSecondaryIndexesPerTableThreshold$14()50%n/a111111
lambda$setSecondaryIndexesPerTableThreshold$12()50%n/a111111
lambda$setColumnsPerTableThreshold$10()50%n/a111111
lambda$setColumnsPerTableThreshold$8()50%n/a111111
lambda$setTablesThreshold$6()50%n/a111111
lambda$setTablesThreshold$4()50%n/a111111
lambda$setKeyspacesThreshold$2()50%n/a111111
lambda$setKeyspacesThreshold$0()50%n/a111111
validateTimestampThreshold(DurationSpec.LongMicrosecondsBound, DurationSpec.LongMicrosecondsBound, String)41275%2250%230301
getKeyspacesWarnThreshold()40%n/a111111
getKeyspacesFailThreshold()40%n/a111111
getTablesWarnThreshold()40%n/a111111
getTablesFailThreshold()40%n/a111111
getColumnsPerTableWarnThreshold()40%n/a111111
getColumnsPerTableFailThreshold()40%n/a111111
getSecondaryIndexesPerTableWarnThreshold()40%n/a111111
getSecondaryIndexesPerTableFailThreshold()40%n/a111111
getMaterializedViewsPerTableWarnThreshold()40%n/a111111
getPartitionKeysInSelectWarnThreshold()40%n/a111111
getPartitionKeysInSelectFailThreshold()40%n/a111111
getMaterializedViewsPerTableFailThreshold()40%n/a111111
getPageSizeWarnThreshold()40%n/a111111
getPageSizeFailThreshold()40%n/a111111
getTablePropertiesWarned()40%n/a111111
getTablePropertiesIgnored()40%n/a111111
getTablePropertiesDisallowed()40%n/a111111
getUserTimestampsEnabled()40%n/a111111
getGroupByEnabled()40%n/a111111
getDropTruncateTableEnabled()40%n/a111111
getDropKeyspaceEnabled()40%n/a111111
getBulkLoadEnabled()40%n/a111111
getSecondaryIndexesEnabled()40%n/a111111
getUncompressedTablesEnabled()40%n/a111111
getCompactTablesEnabled()40%n/a111111
getAlterTableEnabled()40%n/a111111
getReadBeforeWriteListOperationsEnabled()40%n/a111111
getAllowFilteringEnabled()40%n/a111111
getSimpleStrategyEnabled()40%n/a111111
getInSelectCartesianProductWarnThreshold()40%n/a111111
getInSelectCartesianProductFailThreshold()40%n/a111111
getReadConsistencyLevelsWarned()40%n/a111111
getReadConsistencyLevelsDisallowed()40%n/a111111
getWriteConsistencyLevelsWarned()40%n/a111111
getWriteConsistencyLevelsDisallowed()40%n/a111111
getColumnValueSizeWarnThreshold()40%n/a111111
getColumnValueSizeFailThreshold()40%n/a111111
getFieldsPerUDTWarnThreshold()40%n/a111111
getFieldsPerUDTFailThreshold()40%n/a111111
getVectorDimensionsWarnThreshold()40%n/a111111
getVectorDimensionsFailThreshold()40%n/a111111
getDataDiskUsagePercentageWarnThreshold()40%n/a111111
getDataDiskUsagePercentageFailThreshold()40%n/a111111
getDataDiskUsageMaxDiskSize()40%n/a111111
getMinimumReplicationFactorWarnThreshold()40%n/a111111
getMinimumReplicationFactorFailThreshold()40%n/a111111
getMaximumReplicationFactorWarnThreshold()40%n/a111111
getMaximumReplicationFactorFailThreshold()40%n/a111111
getZeroTTLOnTWCSWarned()40%n/a111111
getZeroTTLOnTWCSEnabled()40%n/a111111
getMaximumTimestampWarnThreshold()40%n/a111111
getMaximumTimestampFailThreshold()40%n/a111111
getMinimumTimestampWarnThreshold()40%n/a111111
getMinimumTimestampFailThreshold()40%n/a111111
lambda$setMinimumTimestampThreshold$122()40%n/a111111
lambda$setMinimumTimestampThreshold$120()40%n/a111111
lambda$setMaximumTimestampThreshold$118()40%n/a111111
lambda$setMaximumTimestampThreshold$116()40%n/a111111
lambda$setDataDiskUsageMaxDiskSize$102()40%n/a111111
lambda$setCollectionSizeThreshold$84()40%n/a111111
lambda$setCollectionSizeThreshold$82()40%n/a111111
lambda$setColumnValueSizeThreshold$80()40%n/a111111
lambda$setColumnValueSizeThreshold$78()40%n/a111111
lambda$setPartitionSizeThreshold$72()40%n/a111111
lambda$setPartitionSizeThreshold$70()40%n/a111111
lambda$setWriteConsistencyLevelsDisallowed$68()40%n/a111111
lambda$setWriteConsistencyLevelsWarned$66()40%n/a111111
lambda$setReadConsistencyLevelsDisallowed$64()40%n/a111111
lambda$setReadConsistencyLevelsWarned$62()40%n/a111111
lambda$setTablePropertiesDisallowed$32()40%n/a111111
lambda$setTablePropertiesIgnored$30()40%n/a111111
lambda$setTablePropertiesWarned$28()40%n/a111111
GuardrailsOptions(Config)173100%n/a0103101
validateMaxIntThreshold(int, int, String)19100%n/a010401
validateMinIntThreshold(int, int, String)19100%n/a010401
validatePercentageThreshold(int, int, String)17100%n/a010401
validateMaxLongThreshold(long, long, String, boolean)17100%n/a010401
validateSizeThreshold(DataStorageSpec.LongBytesBound, DataStorageSpec.LongBytesBound, boolean, String)15100%n/a010401
validatePositiveNumeric(long, long, String)6100%n/a010201
validatePercentage(long, String)5100%n/a010201
getPartitionSizeWarnThreshold()4100%n/a010101
getPartitionSizeFailThreshold()4100%n/a010101
getPartitionTombstonesWarnThreshold()4100%n/a010101
getPartitionTombstonesFailThreshold()4100%n/a010101
getCollectionSizeWarnThreshold()4100%n/a010101
getCollectionSizeFailThreshold()4100%n/a010101
getItemsPerCollectionWarnThreshold()4100%n/a010101
getItemsPerCollectionFailThreshold()4100%n/a010101
static {...}4100%n/a010101