All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.sii.sonar.web.frontend.scss.duplication.ScssDuplicationSensor Maven / Gradle / Ivy

package fr.sii.sonar.web.frontend.scss.duplication;

import fr.sii.sonar.duplication.cpd.provider.CpdProvider;
import fr.sii.sonar.duplication.simian.provider.SimianProvider;
import fr.sii.sonar.report.core.common.PluginDependencies;
import fr.sii.sonar.report.core.common.ReportSensor;
import fr.sii.sonar.report.core.common.factory.FallbackProviderFactory;
import fr.sii.sonar.report.core.duplication.domain.DuplicationReport;
import fr.sii.sonar.report.core.duplication.factory.DuplicationSaverFactory;

/**
 * Sensor specific to code duplication that loads duplication report (either CPD or Simian)
 * 
 * @author Aurélien Baudet
 *
 */
public class ScssDuplicationSensor extends ReportSensor {

	@SuppressWarnings("unchecked")
	public ScssDuplicationSensor(ScssDuplicationConstants constants, PluginDependencies pluginDependencies) {
		super(constants, pluginDependencies, new FallbackProviderFactory(CpdProvider.class, SimianProvider.class), new DuplicationSaverFactory());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy