List<ch.hortis.sonar.service.Service> dbServices =
Collections.unmodifiableList(ch.hortis.sonar.service.Service.getAllServices(getEntityManager()));
List<Service> services = new ArrayList<Service>();
services.add(new MissingUnitTestsService());
services.add(new SumCalculator(Metrics.CHANGELOG_COMMITS));
services.add(new SumCalculator(Metrics.CHANGELOG_FILE_COMMITS));
services.add(new SumCalculator(Metrics.NCSS_CLASSES));
services.add(new SumCalculator(Metrics.CYCLOMATIC_COMPLEXITY));
services.add(new SumCalculator(Metrics.NCSS_FUNCTIONS));
services.add(new SumCalculator(Metrics.NCSS_NCSS));
services.add(new SumCalculator(Metrics.NCSS_PACKAGES));
services.add(new SumCalculator(Metrics.PMD_DUPLICATED_LINES));
services.add(new SumCalculator(Metrics.PMD_DUPLICATED_TOKENS));
services.add(new SumCalculator(Metrics.PMD_DUPLICATION));
services.add(new SumCalculator(Metrics.SUREFIRE_TESTS));
services.add(new SumCalculator(Metrics.SUREFIRE_TIME));
services.add(new AvgCalculator(Metrics.CYCLOMATIC_COMPLEXITY_AVG_CLASS, Metrics.CYCLOMATIC_COMPLEXITY, Metrics.NCSS_CLASSES));
services.add(new AvgCalculator(Metrics.CYCLOMATIC_COMPLEXITY_AVG_FUNCTION, Metrics.CYCLOMATIC_COMPLEXITY, Metrics.NCSS_FUNCTIONS));
services.add(new CodeCoverageCalculator());
services.add(new RuleErrorsCountCalculator());
services.add(new RuleWarningsCountCalculator());