Source file "com/google/gwt/dev/jjs/impl/DeadCodeElimination.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 3,787 of 3,787 | 0% | 694 of 694 | 0% | 462 | 462 | 894 | 894 | 96 | 96 |
evalOpOnLiterals(JBinaryOperator, JValueLiteral, JValueLiteral, Context) | ![]() | 0% | ![]() | 0% | 68 | 68 | 132 | 132 | 1 | 1 |
endVisit(JBinaryOperation, Context) | ![]() | 0% | ![]() | 0% | 22 | 22 | 48 | 48 | 1 | 1 |
tryOptimizeStringCall(JMethodCall, Context, JMethod) | ![]() | 0% | ![]() | 0% | 15 | 15 | 32 | 32 | 1 | 1 |
tryReduceSwitchWithConstantInput(JSwitchStatement, Context) | ![]() | 0% | ![]() | 0% | 17 | 17 | 45 | 45 | 1 | 1 |
evalOpOnLiteral(JUnaryOperator, JValueLiteral, Context) | ![]() | 0% | ![]() | 0% | 10 | 10 | 24 | 24 | 1 | 1 |
endVisit(JMultiExpression, Context) | ![]() | 0% | ![]() | 0% | 10 | 10 | 31 | 31 | 1 | 1 |
endVisit(JBlock, Context) | ![]() | 0% | ![]() | 0% | 12 | 12 | 30 | 30 | 1 | 1 |
endVisit(JPrefixOperation, Context) | ![]() | 0% | ![]() | 0% | 7 | 7 | 19 | 19 | 1 | 1 |
tryRemoveSwitch(JSwitchStatement, Context) | ![]() | 0% | ![]() | 0% | 5 | 5 | 23 | 23 | 1 | 1 |
tryTranslateLiteral(JExpression, Class) | ![]() | 0% | ![]() | 0% | 17 | 17 | 19 | 19 | 1 | 1 |
evalEq(JValueLiteral, JValueLiteral) | ![]() | 0% | ![]() | 0% | 13 | 13 | 12 | 12 | 1 | 1 |
endVisit(JTryStatement, Context) | ![]() | 0% | ![]() | 0% | 11 | 11 | 25 | 25 | 1 | 1 |
endVisit(JMethodCall, Context) | ![]() | 0% | ![]() | 0% | 11 | 11 | 18 | 18 | 1 | 1 |
endVisit(JFieldRef, Context) | ![]() | 0% | ![]() | 0% | 9 | 9 | 19 | 19 | 1 | 1 |
endVisit(JPostfixOperation, Context) | ![]() | 0% | ![]() | 0% | 4 | 4 | 14 | 14 | 1 | 1 |
simplifyMul(JExpression, JExpression, Context, JType) | ![]() | 0% | ![]() | 0% | 9 | 9 | 19 | 19 | 1 | 1 |
removeEmptyCases(JSwitchStatement) | ![]() | 0% | ![]() | 0% | 6 | 6 | 18 | 18 | 1 | 1 |
endVisit(JInstanceOf, Context) | ![]() | 0% | ![]() | 0% | 5 | 5 | 16 | 16 | 1 | 1 |
endVisit(JNewInstance, Context) | ![]() | 0% | ![]() | 0% | 4 | 4 | 13 | 13 | 1 | 1 |
removeDoubleBreaks(JSwitchStatement) | ![]() | 0% | ![]() | 0% | 6 | 6 | 14 | 14 | 1 | 1 |
simplifyEq(JExpression, JExpression, Context, boolean) | ![]() | 0% | ![]() | 0% | 5 | 5 | 9 | 9 | 1 | 1 |
staticallyEvaluateEq(JExpression, JExpression) | ![]() | 0% | ![]() | 0% | 13 | 13 | 12 | 12 | 1 | 1 |
hasNoDefaultCase(JSwitchStatement) | ![]() | 0% | ![]() | 0% | 6 | 6 | 13 | 13 | 1 | 1 |
DeadCodeElimination.DeadCodeVisitor(DeadCodeElimination, OptimizerContext) | ![]() | 0% | n/a | 1 | 1 | 11 | 11 | 1 | 1 | |
endVisit(JDoStatement, Context) | ![]() | 0% | ![]() | 0% | 5 | 5 | 11 | 11 | 1 | 1 |
staticallyEvaluateInstanceOf(JReferenceType, JReferenceType) | ![]() | 0% | ![]() | 0% | 5 | 5 | 9 | 9 | 1 | 1 |
isLiteralNegativeOne(JExpression) | ![]() | 0% | ![]() | 0% | 6 | 6 | 8 | 8 | 1 | 1 |
isLiteralOne(JExpression) | ![]() | 0% | ![]() | 0% | 6 | 6 | 6 | 6 | 1 | 1 |
isTypeIntegral(JType) | ![]() | 0% | ![]() | 0% | 6 | 6 | 3 | 3 | 1 | 1 |
maybeReplaceWithOrdinalValue(JExpression, Context) | ![]() | 0% | ![]() | 0% | 5 | 5 | 9 | 9 | 1 | 1 |
staticallyInvokeStringMethod(String, Object, Class[], Object[]) | ![]() | 0% | ![]() | 0% | 3 | 3 | 9 | 9 | 1 | 1 |
visit(JMultiExpression, Context) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
findUnconditionalBreak(JStatement) | ![]() | 0% | ![]() | 0% | 5 | 5 | 8 | 8 | 1 | 1 |
simplifyBooleanEq(JExpression, JExpression, Context, boolean) | ![]() | 0% | ![]() | 0% | 3 | 3 | 9 | 9 | 1 | 1 |
tryGetConstant(JVariableRef) | ![]() | 0% | ![]() | 0% | 5 | 5 | 8 | 8 | 1 | 1 |
simplifySub(JExpression, JExpression, Context, JType) | ![]() | 0% | ![]() | 0% | 4 | 4 | 7 | 7 | 1 | 1 |
endVisit(JForStatement, Context) | ![]() | 0% | ![]() | 0% | 3 | 3 | 8 | 8 | 1 | 1 |
endVisit(JSwitchStatement, Context) | ![]() | 0% | ![]() | 0% | 3 | 3 | 8 | 8 | 1 | 1 |
evalConcat(SourceInfo, JExpression, JExpression, Context) | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
canPromoteBlock(JBlock) | ![]() | 0% | ![]() | 0% | 4 | 4 | 7 | 7 | 1 | 1 |
simplifyDiv(JExpression, JExpression, Context, JType) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
simplifyNegate(JExpression, JExpression) | ![]() | 0% | ![]() | 0% | 4 | 4 | 7 | 7 | 1 | 1 |
simplifyAdd(JExpression, JExpression, Context, JType) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
simplifyXor(JExpression, JExpression, Context) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
createClinitCall(SourceInfo, JDeclaredType) | ![]() | 0% | ![]() | 0% | 3 | 3 | 3 | 3 | 1 | 1 |
endVisit(JLocalRef, Context) | ![]() | 0% | ![]() | 0% | 4 | 4 | 5 | 5 | 1 | 1 |
endVisit(JParameterRef, Context) | ![]() | 0% | ![]() | 0% | 4 | 4 | 5 | 5 | 1 | 1 |
endVisit(JIfStatement, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
endVisit(JWhileStatement, Context) | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
visit(JMethodCall, Context) | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
simplifyXor(JExpression, JBooleanLiteral, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
isLiteralZero(JExpression) | ![]() | 0% | ![]() | 0% | 3 | 3 | 5 | 5 | 1 | 1 |
isTypeFloatingPoint(JType) | ![]() | 0% | ![]() | 0% | 3 | 3 | 2 | 2 | 1 | 1 |
removeMe(JStatement, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
simplifyBooleanEq(JExpression, boolean, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
endVisit(JExpressionStatement, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
replaceMe(JStatement, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
toDouble(JValueLiteral) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
toLong(JValueLiteral) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
toInt(JValueLiteral) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
isUnconditionalUnlabeledBreak(JStatement) | ![]() | 0% | ![]() | 0% | 3 | 3 | 2 | 2 | 1 | 1 |
numRemovableExpressions(JMultiExpression) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
isNonEmptyMultiExpression(JExpression) | ![]() | 0% | ![]() | 0% | 3 | 3 | 2 | 2 | 1 | 1 |
visit(JBinaryOperation, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
visit(JPostfixOperation, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
visit(JPrefixOperation, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
isTypeBoolean(JExpression) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
isTypeDouble(JType) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
isTypeFloat(JType) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
isTypeLong(JType) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
endVisit(JDeclarationStatement, Context) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
visit(JDeclarationStatement, Context) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
visit(JExpressionStatement, Context) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
visit(JSwitchStatement, Context) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
visit(JSwitchExpression, Context) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
isUnconditionalBreak(JStatement) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
maybeReplaceMe(JStatement, JStatement, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
getMethod(String, Class, Class[]) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
static {...} | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
endVisit(JCastOperation, Context) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
endVisit(JConditional, Context) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
endVisit(JSwitchExpression, Context) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
visit(JClassType, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
isTypeString(JExpression) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
last(List) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
classObjectForType(JType) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
maybeReplaceMe(JExpression, JExpression, Context) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
isTypeDouble(JExpression) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isTypeFloat(JExpression) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isTypeFloatingPoint(JExpression) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isTypeIntegral(JExpression) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isTypeLong(JExpression) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isTypeNull(JExpression) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
simplifyNegate(JExpression) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
toBoolean(JValueLiteral) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
isTypeNull(JType) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |