
fr.sii.sonar.web.frontend.js.duplication.JsDuplicationConstants 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.duplication;
import fr.sii.sonar.report.core.duplication.DuplicationConstants;
import fr.sii.sonar.web.frontend.js.JsLanguageConstants;
public class JsDuplicationConstants extends JsLanguageConstants implements DuplicationConstants {
public static final String REPORT_PATH_KEY = "sonar.sii.duplication.js.report.path";
public static final String FAIL_MISSING_FILE_KEY = "sonar.sii.duplication.js.file.missing.fail";
public static final String SKIP_DUPLICATION_KEY = "sonar.sii.duplication.js.skip";
public static final String SKIP_DUPLICATION_DEFVAL = "false";
public static final String REPORT_PATH_DEFVALUE = "/reports/sonar/js-duplication.xml";
public static final String FAIL_MISSING_FILE_DEFVALUE = "true";
public static final String SUB_CATEGORY = "Duplication";
public String getReportPathKey() {
return REPORT_PATH_KEY;
}
public String getMissingFileFailKey() {
return FAIL_MISSING_FILE_KEY;
}
public String getSkipDuplicationKey() {
return SKIP_DUPLICATION_KEY;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy