public void calculateFunctionStatistics() {
        if (functionCount == 0 && functions != null) {
            for (int i = 0; i < functions.size(); i++) {
                functionCount++;
                if (functions.get(i) > 0)
                    functionsCoveredCount++;
            }
        }
    }