int totalFunctionCodeSize = 0;\r
int uncoveredFunctionCodeSize = 0;\r
for(BranchPoint branchPoint : entry.getValue()) {\r
- totalFunctionCodeSize += branchPoint.codeSize;\r
+ totalFunctionCodeSize += branchPoint.getCodeSize();\r
uncoveredFunctionCodeSize += uncoveredCodeSize(branchPoint);\r
}\r
int coveredFunctionCodeSize = totalFunctionCodeSize - uncoveredFunctionCodeSize;\r
}\r
\r
private static int uncoveredCodeSize(BranchPoint branchPoint) {\r
- if(branchPoint.visitCounter == 0)\r
- return branchPoint.codeSize;\r
+ if(branchPoint.getVisitCounter() == 0)\r
+ return branchPoint.getCodeSize();\r
else {\r
int sum = 0;\r
- for(BranchPoint child : branchPoint.children)\r
+ for(BranchPoint child : branchPoint.getChildren())\r
sum += uncoveredCodeSize(child);\r
return sum;\r
}\r