
fr.sii.sonar.web.frontend.js.quality.JsHintQualitySensor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-frontend-js Show documentation
Show all versions of sonar-web-frontend-js Show documentation
Consume reports generated by jshint for code quality. Also consume reports for code duplication (either simian or cpd). Consumes the unit/integration tests reports (generated by Jasmin) coverage report (lcov generated by Istanbul). The information generated by reports are added in Sonar
package fr.sii.sonar.web.frontend.js.quality;
import fr.sii.sonar.report.core.common.PluginDependencies;
import fr.sii.sonar.report.core.common.ReportSensor;
import fr.sii.sonar.report.core.quality.domain.report.QualityReport;
import fr.sii.sonar.report.core.quality.factory.JsonQualityReportProviderFactory;
import fr.sii.sonar.report.core.quality.factory.QualitySaverFactory;
/**
* Just a specific implementation to help dependency injection
*
* @author Aurélien Baudet
*
*/
public class JsHintQualitySensor extends ReportSensor {
public JsHintQualitySensor(JsHintQualityConstants constants, PluginDependencies pluginDependencies) {
super(constants, pluginDependencies, new JsonQualityReportProviderFactory(), new QualitySaverFactory());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy