FunctionTranslator

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,068 of 10,54380%258 of 1,05975%2227093832,1786110
translateUpdateNodeNew(Scope, UpdateNode)2580%80%55515111
translateOperatorNode(OperatorNode, Scope)22158472%114781%10434115401
translateDerivativeExpressionNode(DerivativeExpressionNode, Scope)1570%160%99282811
translateLoopInvariants(Scope, Location, SequenceNode, CIVLSource)1150%130%88242411
constant(Variable, Object)1114227%19520%1214192901
translateConstantNode(Scope, ConstantNode)9539780%245268%20431711401
translateValidExpression(OperatorNode, Scope)810%60%44191911
translateNewABCStructureOrUnionType(CIVLSource, Scope, StructureOrUnionType)5520378%61976%622157101
translateASTNode(ASTNode, Scope, Location)528361%61062%512113201
translateRootFunction(Scope, ASTNode)5113973%21487%2974101
translateCharacterValue(CIVLSource, ConstantNode)466257%5758%5782401
translateExpressionNode(ExpressionNode, Scope, boolean)4312975%41881%42184301
translateExpressionStatementNode(Scope, ExpressionNode)379371%4660%3882701
translateAssignNode(Scope, OperatorNode)374856%4660%4661601
applyConversions(Scope, ExpressionNode, Expression)3523086%63685%62865501
translateABCType(CIVLSource, Scope, Type)3014082%41780%41964101
buildLogicFunction(Function, Scope, Scope, ArrayList, Identifier, CIVLSource)2712982%61062%6953501
translateABCEnumerationType(CIVLSource, Scope, EnumerationType)275868%5550%4652001
translateStatementNode(Scope, StatementNode)2413184%31885%31864301
ensureIntType(Expression)23825%5116%343601
translateCivlForNode(Scope, CivlForNode)2214786%2250%2322701
composeLoopFragmentWorker(Scope, CIVLSource, CIVLSource, Expression, Fragment, StatementNode, Fragment, boolean, LoopContract)2112385%2880%2663301
composeLoopFragment(Scope, ExpressionNode, StatementNode, ExpressionNode, boolean, LoopContract)213461%2250%2341101
translatePlusOperation(CIVLSource, Expression, Expression)209482%62278%51541801
translateFunctionCallExpression(FunctionCallNode, Scope)199983%41275%4942401
translateFunctionCall(Scope, LHSExpression, FunctionCallNode, boolean, boolean, CIVLSource)1825393%34193%32325101
translateAtomicNode(Scope, AtomicNode)1810285%3562%3502201
mallocStatement(CIVLSource, Location, LHSExpression, CastNode, Scope)187280%3350%3431601
callOrSpawnStatement(Scope, Location, FunctionCallNode, LHSExpression, List, boolean, CIVLSource, boolean)1711086%31076%3832601
translateABCStructureOrUnionType(CIVLSource, Scope, StructureOrUnionType)170%20%224411
translateABCTypeNode(CIVLSource, Scope, TypeNode)1613989%21789%21323301
translateReturnNode(Scope, ReturnNode)1612988%8100%0542901
translateSubscriptNode(OperatorNode, Scope)1610686%41275%3932701
translateDomainLiteral(CompoundInitializerNode, Scope, CIVLType)155478%3562%3511101
translateArrayLambdaNode(ArrayLambdaNode, Scope)146682%2250%2321601
translateInitializerNode(InitializerNode, Scope)141041%3125%232401
translateIfNode(Scope, IfNode)1311689%2466%2442701
translateVariableDeclarationNodeWork(VariableDeclarationNode, Scope, boolean)1311689%22291%21322801
translateVariableInitializationNode(VariableDeclarationNode, Variable, Location, Scope)139087%31178%3811901
translateWhenNode(Scope, WhenNode)133874%1150%1241201
parForProcessesTerminationFragment(Expression, LHSExpression, Scope, CIVLSource)1221594%2250%2323601
translateABCCompoundLiteralObject(CompoundLiteralObject, Scope, CompoundLiteralExpression)1215992%31583%31003201
translateChooseNode(Scope, ChooseStatementNode)1215192%21285%2823901
translateQuantifiedExpressionNode(QuantifiedExpressionNode, Scope)127085%2466%2532001
translateScopeofNode(ScopeOfNode, Scope)112468%1150%122701
translateForLoopInitializerNode(Scope, ForLoopInitializerNode)1010691%2571%2532301
translateLoopNode(Scope, LoopNode)106185%1685%1511301
checkSupportedFormalType(Variable)102772%5758%5731101
translateFunctionDeclarationNode(FunctionDeclarationNode, Scope)927996%12996%11615201
translateVariableDeclarationNode(Location, Scope, VariableDeclarationNode)916594%32990%31713301
translateABCBasicType(CIVLSource, StandardBasicType)92270%1480%151601
translateCompoundTypeNode(Location, Scope, TypeNode)812794%21285%2813101
translateIdentifierNode(IdentifierExpressionNode, Scope)85988%1583%1411201
buildSystemCIVLFunction(Function, FunctionDeclarationNode, Scope, Scope, ArrayList, Identifier, FunctionType, CIVLType, CIVLSource)85687%1685%1511601
translateSizeofNode(SizeofNode, Scope)85086%1266%1311201
arrayExtent(CIVLSource, ArrayType, Scope)83380%1583%1411101
translateMinusOperation(CIVLSource, Expression, Expression)75889%41071%4811101
translateCompoundInitializerNode(CompoundInitializerNode, Scope)3886%1150%121901
translateLocalBlockEnterOrExit(Scope, CIVLFunction, FunctionCallNode)3685%1375%131901
translateResultNode(ResultNode, Scope)0%n/a111111
translateSwitchNode(Scope, SwitchNode)24998%11794%11004501
translateParForNode(Scope, CivlForNode)21398%1375%1303701
translateABCStructureOrUnionTypeNode(CIVLSource, Scope, StructureOrUnionTypeNode, CIVLType)9896%21285%2802201
containsReturn(Fragment)8595%31986%31222301
createAnonymousVariableForArrayLiteralOrArrayLambda(Scope, Expression)7094%1583%1401501
translateExtendedQuantifiedExpression(ExtendedQuantifiedExpressionNode, Scope)4591%1150%120701
translateFunctionBody()4795%1375%1311101
needsNewScope(CompoundStatementNode)4595%11392%1811401
translateCompoundStatementNode(Scope, CompoundStatementNode)9198%11191%1712001
assignStatement(CIVLSource, LHSExpression, ExpressionNode, boolean, Scope)178100%14100%0803201
translateRunStatementNode(Scope, RunNode)97100%n/a0101701
translateBoundVaraibleSequence(SequenceNode, Scope)71100%6100%0401401
translateLambdaNode(LambdaNode, Scope)67100%n/a0101201
translateJumpNode(Scope, JumpNode)58100%4100%0401101
buildRegularCIVLFunction(Function, FunctionDeclarationNode, Scope, Scope, ArrayList, Identifier, FunctionType, CIVLType, CIVLSource)50100%1787%1501001
translateArrowNode(ArrowNode, Scope)47100%2100%020701
buildAbstractCIVLFunction(Function, FunctionDeclarationNode, Scope, Scope, ArrayList, Identifier, FunctionType, CIVLType, CIVLSource)45100%4100%0301001
translateRegularRangeNode(RegularRangeNode, Scope)45100%2100%020801
translateDotNode(DotNode, Scope)43100%2100%020701
FunctionTranslator(ModelBuilderWorker, ModelFactory, StatementNode, CIVLFunction, CIVLConfiguration)40100%n/a0101201
translateForLoopNode(Scope, ForLoopNode, LoopContract)40100%2100%0201001
translateCastNode(CastNode, Scope)40100%n/a010801
FunctionTranslator(ModelBuilderWorker, ModelFactory, CIVLFunction, CIVLConfiguration)37100%n/a0101101
translateGotoNode(Scope, GotoNode)36100%n/a010501
translateABCFunctionType(CIVLSource, Scope, FunctionType)36100%2100%020601
normalizeAssignment(AssignStatement)35100%6100%0401001
hasHereNodeWork(ASTNode)35100%10100%0601201
disjunction(Expression, Expression)32100%6100%040701
arrayToPointer(Expression)31100%2100%020701
translateABCLiteralObject(LiteralObject, Scope, CIVLType, CompoundLiteralExpression)31100%4100%030601
elaborateDomainCall(Scope, Expression)30100%n/a010501
getFunction(IdentifierExpressionNode)28100%2100%020501
isMallocCall(ExpressionNode)27100%1787%150701
translateCompoundLiteralNode(CompoundLiteralNode, Scope)27100%2100%020501
factorOutGuards(Location)22100%2100%020701
translateNullStatementNode(Scope, NullStatementNode)22100%n/a010201
insertNoopAtBeginning(CIVLSource, Scope, Fragment)21100%n/a010401
containsHereConstant(Location)19100%4100%030501
translateABCDomainType(CIVLSource, Scope, DomainType)19100%2100%020301
isLocalBlockEnterOrExit(CIVLFunction)16100%4100%030201
translateSpawnNode(Scope, SpawnNode)16100%n/a010201
translateLabelStatementNode(Scope, LabeledStatementNode)15100%n/a010301
translateFunctionCallNodeAsExpressionWithnoLHS(Scope, FunctionCallNode, CIVLSource)14100%n/a010201
isCompleteMallocExpression(ExpressionNode)13100%2100%020401
fileNameWithoutExtension(String)11100%n/a010301
isHereNode(ASTNode)9100%2100%020301
translateFunction()8100%n/a010301
translateVariableDeclarationNode(VariableDeclarationNode, Scope)100%n/a010101
setFunction(CIVLFunction)100%n/a010201
static {...}100%n/a010101