assert collabReview != null;
assert config != null;
MeasurementsManager measurementsManager = new MeasurementsManager();
measurementsManager.setCollabReview(collabReview);
measurementsManager.setArtifactResponsibility(((ArtifactResponsibilityFactory) getFactory(config.getSubElement("artifactResponsibilityFactoryConfiguration"))).create());
ArtifactQualityAssessor artifactQualityAssessor = ((ArtifactQualityAssessorFactory) getFactory(config.getSubElement("artifactQualityAssessor"))).create();
artifactQualityAssessor.setRepository(collabReview.getRepository());
measurementsManager.setArtifactQualityAssessor(artifactQualityAssessor);
measurementsManager.setArtifactWeight(((ArtifactWeightFactory) getFactory(config.getSubElement("artifactWeightFactoryConfiguration"))).create());
measurementsManager.setArtifactSimilarity(((ArtifactSimilarityFactory) getFactory(config.getSubElement("artifactSimilarityFactoryConfiguration"))).create());
collabReview.setMeasurementsManager(measurementsManager);
try {