FileFinder finder = new FileFinder();
ComplexityCalculator complexity = new ComplexityCalculator(finder);
// Set all value before calling, please.
public void readAndParseCoverageData() throws Exception {
CoverageDirectoryReader cdr = new CoverageDirectoryReader();
cdr.loadDirectory(coverageDataFile.getParentFile());
File cacheDir = File.createTempFile( "purrpackage-report-cache", null );
cacheDir.delete();
cacheDir.mkdir();
coverageDirectoryReader = cdr;
calculator = new PackageCoverageCalculator(cdr.getIndexedPackageData()
.values(), cacheDir );
ProjectData projectData = getGlobalData();
if (projectData == null) {