Skip to content

3rd Party Usages Information

rnveach edited this page Jan 22, 2023 · 1 revision

Sevntu

Repo: https://github.com/sevntu-checkstyle/sevntu.checkstyle Languages: Java

How It Uses Checkstyle

Has their own 3rd party checks. Does imports Checkstyle classes (api and utils) and includes Test classes.

https://github.com/sevntu-checkstyle/sevntu.checkstyle/blob/master/sevntu-checks/config/import-control.xml

Gradle

Repo: https://github.com/gradle/gradle/ Languages: Gradle and Groovy

How It Uses Checkstyle

Instantiates CheckstyleAntTask and utilizes it's methods through reflection.

https://github.com/gradle/gradle/search?l=Gradle&q=com.puppycrawl.tools.checkstyle https://github.com/gradle/gradle/search?l=Groovy&q=com.puppycrawl.tools.checkstyle https://github.com/gradle/gradle/blob/8f80cf982b35d815974b1f2d0e54348fb960359a/subprojects/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleInvoker.groovy#L78-L80

Also parses Checkstyle XML file output.

https://github.com/gradle/gradle/blob/8f80cf982b35d815974b1f2d0e54348fb960359a/subprojects/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleInvoker.groovy#L131

Eclipse-CS

Repo: https://github.com/checkstyle/eclipse-cs Languages: Java

How It Uses Checkstyle

Instantiates Checker and handles it's methods manually.

https://github.com/checkstyle/eclipse-cs/blob/1f98a18ef6b5e77d0fcacfb63d7b94903daa4dde/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/builder/CheckerFactory.java#L228 https://github.com/checkstyle/eclipse-cs/blob/bc5c85de255c3469bcf2204bd8f38164926f7b83/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/builder/Auditor.java#L115

Uses many classes, some outside of API. Is a user of our XML metadata.

https://github.com/checkstyle/eclipse-cs/search?l=Java&q=%22com.puppycrawl.tools.checkstyle%22

Maven Checkstyle Plugin

Repo: https://github.com/apache/maven-checkstyle-plugin Languages: Java

How It Uses Checkstyle

Instantiates Checker and handles it's methods manually.

https://github.com/apache/maven-checkstyle-plugin/blob/6d229a74b4a7eb2efc5fce287d932f6b5c250647/src/main/java/org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java#L79

Uses many classes, some outside of API.

https://github.com/apache/maven-checkstyle-plugin/search?q=%22com.puppycrawl.tools.checkstyle%22

Sonar Checkstyle

Repo: https://github.com/checkstyle/sonar-checkstyle Languages: Java

How It Uses Checkstyle

Instantiates Checker and handles it's methods manually.

https://github.com/checkstyle/sonar-checkstyle/blob/6e3a90fdff4d8e853b0ae9305c6576925ab1842f/src/main/java/org/sonar/plugins/checkstyle/CheckstyleExecutor.java#L88

Uses a custom exporter to create the configuration XML file to use for Checkstyle.

https://github.com/checkstyle/sonar-checkstyle/blob/6e3a90fdff4d8e853b0ae9305c6576925ab1842f/src/main/java/org/sonar/plugins/checkstyle/CheckstyleProfileExporter.java#L50

Patch Filters

Repo: https://github.com/checkstyle/patch-filters Languages: Java

How It Uses Checkstyle

Has their own 3rd party filters. Does imports Checkstyle classes (api and utils) and includes Test classes.

Clone this wiki locally