Codegen

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total590 of 2,28974%50 of 19874%491471415821143
emitDirectConstructor(ClassFileWriter, OptFunctionNode)1310%20%22313111
generateResumeGenerator(ClassFileWriter)1192014%6440%46283301
generateCallMethod(ClassFileWriter, boolean)5915772%51372%310186101
transform(ScriptNode)512734%13318%89122101
createFunctionObject(Context, Scriptable, Object, Object)480%n/a119911
reportClassFileFormatException(ScriptNode, String)230%20%226611
pushNumberAsObject(ClassFileWriter, double)2112385%22090%21253301
defineClass(Object, Object)193363%n/a0161401
getBodyMethodSignature(ScriptNode)153469%3350%2431201
createScriptObject(Object, Object)141246%n/a013701
generateCode(String)1214492%51372%51033901
compileToClassFile(CompilerEnvirons, String, ScriptNode, String, boolean)112266%1150%1231101
getDirectCtorName(ScriptNode)110%n/a111111
generateNativeFunctionOverrides(ClassFileWriter, String)934997%54590%531310601
compile(CompilerEnvirons, ScriptNode, String, boolean)96287%2250%2311101
badTree()50%n/a111111
emitRegExpInit(ClassFileWriter)415297%1990%1613701
captureStackInfo(RhinoException)40%n/a111111
getSourcePositionFromStack(Context, int[])40%n/a111111
getPatchedStack(RhinoException, String)40%n/a111111
getScriptStack(RhinoException)40%n/a111111
setEvalScriptFlag(Script)40%n/a111111
setMainMethodClass(String)40%n/a112211
generateFunctionConstructor(ClassFileWriter)313497%21285%2803301
isGenerator(ScriptNode)1083%1375%130201
emitConstantDudeInitializers(ClassFileWriter)79100%6100%0402001
generateFunctionInit(ClassFileWriter, OptFunctionNode)46100%2100%0201301
initScriptNodesData(ScriptNode)40100%2100%020901
generateMain(ClassFileWriter)37100%n/a010901
generateExecute(ClassFileWriter)37100%n/a0101301
generateScriptCtor(ClassFileWriter)32100%n/a010901
initOptFunctions_r(ScriptNode)22100%2100%020501
cleanName(ScriptNode)22100%4100%030901
collectScriptNodes_r(ScriptNode, ObjArray)19100%2100%020501
getBodyMethodName(ScriptNode)17100%n/a010101
getCompiledRegexpName(ScriptNode, int)15100%n/a010101
getStaticConstantWrapperType(double)12100%2100%020401
getFunctionInitMethodName(OptFunctionNode)12100%n/a010101
addDoubleWrap(ClassFileWriter)7100%n/a010201
pushUndefined(ClassFileWriter)7100%n/a010201
Codegen()6100%n/a010201
getIndex(ScriptNode)5100%n/a010101
static {...}5100%n/a010101