Fraction

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total130 of 1,27989%27 of 18085%2712825258738
getReducedFraction(int, int)292950%8433%5761501
greatestCommonDivisor(int, int)229481%92371%71742601
toString()200%20%223311
readObject(ObjectInputStream)190%20%225511
doubleValue()80%n/a111111
floatValue()80%n/a111111
longValue()80%n/a111111
intValue()60%n/a111111
getFraction(double)513296%41275%4913501
hashCode()30%n/a111111
equals(Object)22592%2675%251601
addSub(Fraction, boolean)137100%16100%0901901
toProperString()90100%14100%0801501
getFraction(String)89100%8100%0502001
static {...}73100%n/a0101201
getFraction(int, int, int)57100%10100%0601101
pow(int)52100%10100%0601201
multiplyBy(Fraction)44100%4100%030601
invert()38100%6100%040701
compareTo(Fraction)37100%6100%040701
reduce()33100%6100%040601
getFraction(int, int)27100%6100%040701
addAndCheck(int, int)22100%4100%030401
mulAndCheck(int, int)22100%4100%030401
subAndCheck(int, int)22100%4100%030401
mulPosAndCheck(int, int)18100%2100%020401
negate()18100%2100%020301
divideBy(Fraction)17100%2100%020401
hash(int, int)14100%n/a010101
Fraction(int, int)14100%n/a010501
checkDenominator(int)8100%2100%020301
abs()8100%2100%020301
getProperNumerator()7100%n/a010101
getProperWhole()6100%n/a010101
add(Fraction)5100%n/a010101
subtract(Fraction)5100%n/a010101
getDenominator()3100%n/a010101
getNumerator()3100%n/a010101