Source file "com/google/common/math/LongMathTest.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 2,693 of 2,693 | 0% | 258 of 258 | 0% | 237 | 237 | 505 | 505 | 108 | 108 |
static {...} | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
testDivNonZero() | ![]() | 0% | ![]() | 0% | 7 | 7 | 16 | 16 | 1 | 1 |
testMean() | ![]() | 0% | ![]() | 0% | 3 | 3 | 23 | 23 | 1 | 1 |
testCheckedMultiply() | ![]() | 0% | ![]() | 0% | 7 | 7 | 17 | 17 | 1 | 1 |
testCheckedAdd() | ![]() | 0% | ![]() | 0% | 4 | 4 | 14 | 14 | 1 | 1 |
testCheckedSubtract() | ![]() | 0% | ![]() | 0% | 4 | 4 | 14 | 14 | 1 | 1 |
testDivNonZeroExact() | ![]() | 0% | ![]() | 0% | 5 | 5 | 13 | 13 | 1 | 1 |
testCheckedPow() | ![]() | 0% | ![]() | 0% | 4 | 4 | 14 | 14 | 1 | 1 |
testLog10Exact() | ![]() | 0% | ![]() | 0% | 4 | 4 | 11 | 11 | 1 | 1 |
testConstantsBiggestSimpleBinomials() | ![]() | 0% | ![]() | 0% | 4 | 4 | 9 | 9 | 1 | 1 |
testLessThanBranchFree() | ![]() | 0% | ![]() | 0% | 5 | 5 | 10 | 10 | 1 | 1 |
testConstantsBiggestBinomials() | ![]() | 0% | ![]() | 0% | 4 | 4 | 7 | 7 | 1 | 1 |
testConstantsHalfPowersOf10() | ![]() | 0% | ![]() | 0% | 3 | 3 | 8 | 8 | 1 | 1 |
testRoundToDoubleAgainstBigIntegerUnnecessary() | ![]() | 0% | ![]() | 0% | 3 | 3 | 9 | 9 | 1 | 1 |
testRoundToDoubleAgainstBigInteger() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testSaturatedAdd() | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
testSaturatedSubtract() | ![]() | 0% | ![]() | 0% | 3 | 3 | 8 | 8 | 1 | 1 |
testSaturatedMultiply() | ![]() | 0% | ![]() | 0% | 3 | 3 | 8 | 8 | 1 | 1 |
testSaturatedPow() | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
testSqrtExactMatchesFloorOrThrows() | ![]() | 0% | ![]() | 0% | 3 | 3 | 10 | 10 | 1 | 1 |
testIntMod() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testIsPrimeOnUniformRandom() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testMod() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testGCDExhaustive() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testIsPrimeOnRandomComposites() | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
testPow() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testSqrtMatchesBigInteger() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testSaturatedAbs() | ![]() | 0% | n/a | 1 | 1 | 9 | 9 | 1 | 1 | |
testLog2MatchesBigInteger() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testLog10MatchesBigInteger() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testBinomial() | ![]() | 0% | ![]() | 0% | 4 | 4 | 6 | 6 | 1 | 1 |
testCeilingPowerOfTwo() | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
testIsPowerOfTwo() | ![]() | 0% | ![]() | 0% | 4 | 4 | 6 | 6 | 1 | 1 |
testIntModNegativeModulusFails() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testModNegativeModulusFails() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testLog2NegativeAlwaysThrows() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testLog10NegativeAlwaysThrows() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testSqrtNegativeAlwaysThrows() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testZeroDivIsAlwaysZero() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testDivByZeroAlwaysFails() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
assertOperationEquals(long, long, String, long, long) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
testLog2Exact() | ![]() | 0% | ![]() | 0% | 2 | 2 | 9 | 9 | 1 | 1 |
testGCDZero() | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
testIsPrimeOnRandomPrimes() | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
testSqrtOfPerfectSquareAsDoubleIsPerfect() | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
testBinomial_exhaustiveNotOverflowing() | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
testConstantsFactorials() | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
simpleBinomial(int, int) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
testGCDNegativePositiveThrows() | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
testGCDNegativeZeroThrows() | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
testFactorial() | ![]() | 0% | ![]() | 0% | 3 | 3 | 5 | 5 | 1 | 1 |
testFloorPowerOfTwo() | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
computeMeanSafely(long, long) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
testConstantsPowersOf10() | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
testBinomialOutside() | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
testNullPointers() | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
testIsPrimeManyConstants() | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
testMaxLog10ForLeadingZeros() | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
testLog10TrivialOnPowerOf10() | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
testCeilingPowerOfTwoNegative() | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
testFloorPowerOfTwoNegative() | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
testIntModZeroModulusFails() | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
testFactorialNegative() | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
testBinomialNegative() | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
testLog2ZeroAlwaysThrows() | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
testLog10ZeroAlwaysThrows() | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
testIsPrimeSmall() | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
assertMean(long, long) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
saturatedCast(BigInteger) | ![]() | 0% | ![]() | 0% | 3 | 3 | 5 | 5 | 1 | 1 |
testSqrtOfLongIsAtMostFloorSqrtMaxLong() | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
lambda$testConstantsFactorials$0() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
assertMean(long, long, long) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
lambda$testConstantsBiggestSimpleBinomials$0(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
testConstantMaxPowerOfSqrt2Unsigned() | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
fitsInLong(BigInteger) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
lambda$testConstantsBiggestSimpleBinomials$1(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
testMaxSignedPowerOfTwo() | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$testBinomialOutside$1(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
testConstantsSqrtMaxLong() | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
lambda$testDivByZeroAlwaysFails$0(long, RoundingMode) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testConstantsPowersOf10$0() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
testCeilingPowerOfTwoZero() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
testFloorPowerOfTwoZero() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
testIsPrimeThrowsOnNegative() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
failFormat(String, Object[]) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$testRoundToDoubleAgainstBigIntegerUnnecessary$0(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testBinomialNegative$0(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testBinomialOutside$0(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testGCDNegativeZeroThrows$1(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testGCDNegativeZeroThrows$0(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testGCDNegativePositiveThrows$1(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testGCDNegativePositiveThrows$0(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testModNegativeModulusFails$0(long, long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testIntModZeroModulusFails$0(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testIntModNegativeModulusFails$0(long, int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testSqrtNegativeAlwaysThrows$0(long, RoundingMode) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testLog10NegativeAlwaysThrows$0(long, RoundingMode) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testLog10ZeroAlwaysThrows$0(RoundingMode) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testLog2NegativeAlwaysThrows$0(long, RoundingMode) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testLog2ZeroAlwaysThrows$0(RoundingMode) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testIsPrimeThrowsOnNegative$0() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testFactorialNegative$0(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testFloorPowerOfTwoZero$0() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testCeilingPowerOfTwoZero$0() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testFloorPowerOfTwoNegative$0(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testCeilingPowerOfTwoNegative$0(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$testCeilingPowerOfTwo$0(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
LongMathTest() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |