test_class.file: harahachibu/src/test/java/uk/co/flax/harahachibu/services/DiskSpaceThresholdTest.java
test_class.identifier: DiskSpaceThresholdTest
test_case.body: @Test
  	public void percentageValueOutsideThresholdFails() {
  		DiskSpaceThreshold t = new DiskSpaceThreshold(5L, true);
  		assertThat(t.withinThreshold(50, 1000)).isFalse();
  	}
test_case.class_method_signature: DiskSpaceThresholdTest.percentageValueOutsideThresholdFails()
test_case.full_signature: @Test public void percentageValueOutsideThresholdFails()
test_case.identifier: percentageValueOutsideThresholdFails
test_case.invocations: isFalse assertThat withinThreshold
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void percentageValueOutsideThresholdFails()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(DiskSpaceThreshold.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(DiskSpaceThreshold.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: THRESHOLD_PATTERN = Pattern.compile("^(\\d+)\\s*([KMG%])?$", Pattern.CASE_INSENSITIVE)
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern THRESHOLD_PATTERN = Pattern.compile("^(\\d+)\\s*([KMG%])?$", Pattern.CASE_INSENSITIVE);
focal_class.type: Pattern
focal_class.var_name: THRESHOLD_PATTERN
focal_class.declarator: KILOBYTE = 1024
focal_class.modifier: private static final
focal_class.original_string: private static final int KILOBYTE = 1024;
focal_class.type: int
focal_class.var_name: KILOBYTE
focal_class.declarator: thresholdValue
focal_class.modifier: private
focal_class.original_string: private long thresholdValue;
focal_class.type: long
focal_class.var_name: thresholdValue
focal_class.declarator: percentage
focal_class.modifier: private
focal_class.original_string: private boolean percentage;
focal_class.type: boolean
focal_class.var_name: percentage
focal_class.file: harahachibu/src/main/java/uk/co/flax/harahachibu/services/DiskSpaceThreshold.java
focal_class.identifier: DiskSpaceThreshold
focal_class.class_method_signature: DiskSpaceThreshold.DiskSpaceThreshold(final long threshold, final boolean isPercentage)
focal_class.full_signature:   DiskSpaceThreshold(final long threshold, final boolean isPercentage)
focal_class.identifier: DiskSpaceThreshold
focal_class.parameters: (final long threshold, final boolean isPercentage)
focal_class.signature:  DiskSpaceThreshold(final long threshold, final boolean isPercentage)
focal_class.class_method_signature: DiskSpaceThreshold.parse(String thresholdString)
focal_class.full_signature: public static DiskSpaceThreshold parse(String thresholdString)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (String thresholdString)
focal_class.return: DiskSpaceThreshold
focal_class.signature: DiskSpaceThreshold parse(String thresholdString)
focal_class.class_method_signature: DiskSpaceThreshold.getThresholdValue()
focal_class.full_signature: public long getThresholdValue()
focal_class.identifier: getThresholdValue
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getThresholdValue()
focal_class.class_method_signature: DiskSpaceThreshold.isPercentage()
focal_class.full_signature: public boolean isPercentage()
focal_class.identifier: isPercentage
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isPercentage()
focal_class.class_method_signature: DiskSpaceThreshold.withinThreshold(DiskSpace diskSpace)
focal_class.full_signature: public boolean withinThreshold(DiskSpace diskSpace)
focal_class.identifier: withinThreshold
focal_class.modifiers: public
focal_class.parameters: (DiskSpace diskSpace)
focal_class.return: boolean
focal_class.signature: boolean withinThreshold(DiskSpace diskSpace)
focal_class.class_method_signature: DiskSpaceThreshold.withinThreshold(long freeSpace, long maxSpace)
focal_class.full_signature: public boolean withinThreshold(long freeSpace, long maxSpace)
focal_class.identifier: withinThreshold
focal_class.modifiers: public
focal_class.parameters: (long freeSpace, long maxSpace)
focal_class.return: boolean
focal_class.signature: boolean withinThreshold(long freeSpace, long maxSpace)
focal_method.body: public boolean withinThreshold(DiskSpace diskSpace) {
  		return withinThreshold(diskSpace.getFreeSpace(), diskSpace.getMaxSpace());
  	}
focal_method.class_method_signature: DiskSpaceThreshold.withinThreshold(DiskSpace diskSpace)
focal_method.full_signature: public boolean withinThreshold(DiskSpace diskSpace)
focal_method.identifier: withinThreshold
focal_method.invocations: withinThreshold getFreeSpace getMaxSpace
focal_method.modifiers: public
focal_method.parameters: (DiskSpace diskSpace)
focal_method.return: boolean
focal_method.signature: boolean withinThreshold(DiskSpace diskSpace)