# Package-level declarations

Plugins which measure and enforce code quality.

## Types

AbstractCodeQualityTask
Link copied to clipboard
@Incubating
@DisableCachingByDefault(because = "Super-class, not to be instantiated directly")
abstract class AbstractCodeQualityTask : SourceTask, VerificationTask
Base class for code quality tasks.
Checkstyle
Link copied to clipboard
@CacheableTask
abstract class Checkstyle : AbstractCodeQualityTask, Reporting<CheckstyleReports>
Runs Checkstyle against some source files.
CheckstyleExtension
Link copied to clipboard
abstract class CheckstyleExtension : CodeQualityExtension
Configuration options for the Checkstyle plugin.
CheckstylePlugin
Link copied to clipboard
abstract class CheckstylePlugin : AbstractCodeQualityPlugin<Checkstyle>
Checkstyle Plugin.
CheckstyleReports
Link copied to clipboard
interface CheckstyleReports : ReportContainer<SingleFileReport>
The reporting configuration for the Checkstyle task.
CodeNarc
Link copied to clipboard
@CacheableTask
abstract class CodeNarc : AbstractCodeQualityTask, Reporting<CodeNarcReports>
Runs CodeNarc against some source files.
CodeNarcExtension
Link copied to clipboard
abstract class CodeNarcExtension : CodeQualityExtension
Configuration options for the CodeNarc plugin.
CodeNarcPlugin
Link copied to clipboard
abstract class CodeNarcPlugin : AbstractCodeQualityPlugin<CodeNarc>
CodeNarc Plugin.
CodeNarcReports
Link copied to clipboard
interface CodeNarcReports : ReportContainer<SingleFileReport>
The reporting configuration for the CodeNarc test.
CodeQualityExtension
Link copied to clipboard
abstract class CodeQualityExtension
Base Code Quality Extension.
Pmd
Link copied to clipboard
@CacheableTask
abstract class Pmd : AbstractCodeQualityTask, Reporting<PmdReports>
Runs a set of static code analysis rules on Java source code files and generates a report of problems found.
PmdExtension
Link copied to clipboard
abstract class PmdExtension : CodeQualityExtension
Configuration options for the PMD plugin.
PmdPlugin
Link copied to clipboard
abstract class PmdPlugin : AbstractCodeQualityPlugin<Pmd>
A plugin for the PMD source code analyzer.
PmdReports
Link copied to clipboard
interface PmdReports : ReportContainer<SingleFileReport>
The reporting configuration for the Pmd task.
TargetJdk
Link copied to clipboard
enum TargetJdk
Represents the PMD targetjdk property available for PMD <5.