# 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<T>
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<T>
Checkstyle Plugin.
CheckstyleReports
Link copied to clipboard
interface CheckstyleReports : ReportContainer<T>
The reporting configuration for the Checkstyle task.
CodeNarc
Link copied to clipboard
@CacheableTask
abstract class CodeNarc : AbstractCodeQualityTask, Reporting<T>
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<T>
CodeNarc Plugin.
CodeNarcReports
Link copied to clipboard
interface CodeNarcReports : ReportContainer<T>
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<T>
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<T>
A plugin for the PMD source code analyzer.
PmdReports
Link copied to clipboard
interface PmdReports : ReportContainer<T>
The reporting configuration for the Pmd task.
TargetJdk
Link copied to clipboard
enum TargetJdk
Represents the PMD targetjdk property available for PMD <5.