options.getMaxAcceptableCost());
report = new SourceReportGenerator(gradeCategories, sourceLoader,
new File("te-report"), costModel, new Date(), options.getWorstOffenderCount(), cfg);
break;
case xml:
XMLSerializer xmlSerializer = new XMLSerializer();
xmlSerializer.setOutputByteStream(out);
OutputFormat format = new OutputFormat();
format.setIndenting(true);
xmlSerializer.setOutputFormat(format);
report = new XMLReportGenerator(xmlSerializer, costModel, options);
break;
case about:
reportModel.setMessageBundle(bundleModel);
reportModel.setSourceLinker(new SourceLinkerModel(linker));