This documentation relates to an earlier version of Clover.
View

Unknown macro: {spacejump}

or visit the current documentation home.

This page lists the available Clover-for-Maven 1 plugin properties.

プロパティ

任意

説明

既定

maven.clover.orderBy

はい

Specifies how the reports must be sorted: * Alpha – Alpabetical

  • PcCoveredAsc – Percent total coverage, ascending
  • PcCoveredDesc – Percent total coverage, descending
  • ElementsCoveredAsc – Total elements covered, ascending
  • ElementsCoveredDesc – Total elements covered, descending

PcCoveredAsc

maven.clover.instrument.tests

はい

Decides whether to instrument test classes.

true

maven.clover.report.html

はい

Decides whether an HTML report will be generated.

true

maven.clover.report.xml

はい

Decides whether an XML report will be generated.

false

maven.clover.report.swing

はい

Decides whether a Swing report will be generated.

false

maven.clover.report.pdf

はい

Decides whether a PDF report will be generated.

false

maven.clover.database

はい

Specifies the location of the Clover database.

${maven.clover.build}/database/clover_coverage.db

maven.clover.license.path

はい

Location of the Clover license. Users can override this property to point to their own Clover license. By default uses an eval license valid for open source projects. Set it to an empty value if you wish to use Clover's other license loading mechanisms (Clover looks next to clover.jar on the filesystem and in the classpath).

${plugin.resources}/clover.license 

maven.clover.execute.during.report

はい

Controls whether or not the clover-report goal builds Cloverify the sources and execute the tests.

true

maven.clover.includes

はい

List of files to include in the Cloverification.

*/.java

maven.clover.excludes

はい

List of files to exclude from the Cloverification.

 

maven.clover.check.target

はい

Test coverage % under which the build will fail when clover:check is called.

50%

maven.clover.check.packages

はい

Comma-separated list of packages that you wish to check for test coverage % when clover:check is called.

N/A

maven.clover.check.targets

はい

Comma-separated list of test coverage % that you wish to check for each packages specified by maven.clover.check.packages when clover:check is called.

N/A

maven.clover.context.block.names

はい

Comma-separated list of Clover-defined block contexts to filter from the Clover coverage report. Example: maven.clover.context.block.names = static, method.

N/A

maven.clover.context.method.names

はい

Comma-separated list of user-defined method contexts to filter from the Clover coverage report. Example: maven.clover.context.method.names = name1, name2.

N/A

maven.clover.context.method.regexps

はい

Regexps associated with maven.clover.context.method.names. Example: maven.clover.context.method.regexps = regexp1, regexp2.

N/A

maven.clover.context.statement.names

はい

Comma-separated list of user-defined statement contexts to filter from the Clover coverage report. Example: maven.clover.context.statement.names = name3, name4.

N/A

maven.clover.context.statement.regexps

はい

Regexps associated with maven.clover.context.statement.names. Example: maven.clover.context.statement.regexps = regexp3, regexp4.

N/A

maven.clover.history.dir

はい

Directory where Clover history data are saved. If you wish to save your history point data so that they are not erased, point this directory to a safe place that will not be deleted by a "maven clean". In the future we will try to implement saving the history points in the Maven repositories.

 ${maven.clover.build}/history

maven.clover.merge.databases

はい

List of databases to include in the merge when using the clover:merge goal.

**/clover_coverage.db

maven.clover.flushpolicy

はい

The flush policy that Clover should use to flush coverage data to its database.

 

maven.clover.flushinterval

はい

When the flush policy is set to interval or threaded this value is the minimum period between flush operations (in milliseconds).

 

maven.clover.relative

はい

Controls whether the initstring parameter is treated as a relative path or not.

false

maven.clover.span

はい

Specifies how far back in time to include coverage recordings from. See Using Spans.

Default includes "all coverage data found".

maven.clover.current.numThreads

はい

The number of program threads to use when rendering reports. A value of 0 will disable multi-threading for report generation. Example: maven.clover.current.numThreads=3

2

maven.clover.current.maxTestsPerFile

はい

The maximum number of tests to display for each file. -1 = no limit. Example: maven.clover.current.maxTestsPerFile=5

-1

maven.clover.current.homepage

はい

Specifies the landing page to use for a clover HTML report. This can be one of the predefined pages: dashboard, overview, aggregate, testresults, quickwins, projectrisks or an arbitrary URL. Example: maven.clover.current.homepage=dashboard

ダッシュボード

  • ラベルなし