public void generateReport(@NotNull Project project,
@NotNull DataContext dataContext,
@NotNull CoverageSuitesBundle currentSuiteBundle) {
CoverageReport coverageReport = new CoverageReport();
for (CoverageSuite suite : currentSuiteBundle.getSuites()) {
ProjectData projectData = suite.getCoverageData(CoverageDataManager.getInstance(project));
if (projectData != null) {
@SuppressWarnings("unchecked")
Map<String, ClassData> classDataMap = projectData.getClasses();
for (Map.Entry<String, ClassData> classDataEntry : classDataMap.entrySet()) {
String fileName = classDataEntry.getKey();
ClassData classData = classDataEntry.getValue();
List<CoverageReport.LineHits> lineHitsList = convertClassDataToLineHits(classData);
coverageReport.mergeFileReport(fileName, lineHitsList);