File dataDirectory = request.getDataDirectory();
File reportDirectory = request.getReportDestinationDir();
File coverageFile = new File( dataDirectory, "coverage.ec" );
XProperties properties = new XProperties();
properties.setProperty( "report.html.out.file", PathUtil.path( new File( reportDirectory, "index.html" ) ) );
properties.setProperty( "report.xml.out.file", PathUtil.path( new File( reportDirectory, "coverage.xml" ) ) );
properties.setProperty( "report.txt.out.file", PathUtil.path( new File( reportDirectory, "coverage.txt" ) ) );
properties.setProperty( "report.sort", "+name,+block,+method,+class" );
properties.setProperty( "report.out.encoding", "UTF-8" );
properties.setProperty( "report.xml.out.encoding", "UTF-8" );
properties.setProperty( "report.html.out.encoding", "UTF-8" );
ReportProcessor reporter = ReportProcessor.create();
reporter.setAppName( IAppConstants.APP_NAME );
reporter.setDataPath( PathUtil.paths( coverageFile ) );
reporter.setSourcePath( PathUtil.paths( request.getSourcePaths() ) );