public void calculateLineStatistics() {
        if (codeLineCount == 0) {
            for (int i = 1; i < lines.size(); i++)
                if (lines.get(i) != null) {
                    codeLineCount++;
                    if (lines.get(i) > 0)
                        codeLinesCoveredCount++;
                }
        }
    }