FileCoverageInfo (@NotNull final ClassData classData) { final Object[] lines = classData.getLines(); // class data lines = [0, 1, ... count] but first element with index = #0 is fake and isn't // used thus count = length = 1 final int count = lines.length - 1; if (count == 0) { return null; } final FileCoverageInfo info = new FileCoverageInfo(); info.coveredLineCount = 0; info.totalLineCount = 0; // let's count covered lines for (int i = 1; i <= count; i++) { final LineData lineData = classData.getLineData(i); processLineData(info, lineData); } return info; }