public void calculateBranchStatistics() {
        if (branchCount == 0) {
            for (int i : branchData.keySet()) {
                List<BranchData> branchDatas = branchData.get(i);
                if (branchDatas != null) {
                    for (int j = 1; j < branchDatas.size(); j++) {
                        branchCount += 2;
                        BranchData data = branchDatas.get(j);
                        if (data.getEvalFalse() > 0)
                            branchesCoveredCount++;
                        if (data.getEvalTrue() > 0)
                            branchesCoveredCount++;
                    }
                }
            }
        }
    }