if( typeBased )
{
TypeBasedImpactAnalyzer impactAnalyzer = Activator.getTypeBasedImpactAnalyzer();
impactAnalyzer.init(rules);
sizeOfImpactSet = impactAnalyzer.performImpactAnalysis(project, startingImpactSet, createIndividualReports, createComprehensiveReport);
}
else sizeOfImpactSet = Activator.getDistanceBasedImpactAnalyzer().performImpactAnalysis(project, startingImpactSet, createIndividualReports, createComprehensiveReport);
monitor.worked(1);