// Create report from document factory
report = documentFactory.newReport();
report.setLocation(getAnalyzerConfig().getReportLocation());
// Create report context
ReportContext reportContext =
new ReportContext(
WSIConstants.DEFAULT_REPORT_TITLE,
profileAssertions,
this);
report.setReportContext(reportContext);