Questions tagged [clover]

Clover is a Java code coverage & test optimization application.

Clover is a Java code coverage and test optimization application developed by Atlassian. It is freely available to Non-profits and Open Source projects, but is also available for Commercial purchase.

Features of Clover include:

  • Test Optimization
  • Distributed Test Coverage Aggregation
  • Latest Run Coverage Reports which include:
    • Project Risks
    • Per-test Coverage
    • Project, Package, Class and Method-level coverage
  • Historical Coverage Reports
  • Test Results
    • Pass/Fail/Error per Test Class and Test
    • Coverage Contribution per Test
  • JIRA Dashboard using Clover Gadget
  • Java API Extensibility
213 questions
2
votes
1 answer

Clover: no test results could be found

We are just starting using Clover in our project and after 16h of work I still cannot get it to cooperate with me. We have multimodule project built with maven3 and tycho. Tests are separated from code and placed in subdirectory tests. To build the…
2
votes
1 answer

Gradle Clover Plugin for Android Studio

Has anyone tried to configure clover test coverage tool in Android Studio 1.0? I have tried using the gradle-clover-plugin https://github.com/bmuschko/gradle-clover-plugin. But this is mainly for Groovy and not particularly on Java. Or did I…
SoH
  • 2,180
  • 2
  • 24
  • 53
2
votes
1 answer

Maven + Clover + Jenkins - How to get Coverage report and non-instrumented artifact in one command

I am trying to run maven clover plugin to generate report as well as generate NON-instrumented artifact. com.atlassian.maven.plugins maven-clover2-plugin
nir
  • 3,743
  • 4
  • 39
  • 63
2
votes
2 answers

How can I share clover coverage data between maven and IntelliJ

I have a multi-module maven project. I'm using intellij-idea as my IDE. I have Maven configured with the clover plugin to automatically instrument on build. How can I get IntelliJ to recognize those changes and refresh its coverage data.(NOTE:…
Raystorm
  • 6,180
  • 4
  • 35
  • 62
2
votes
1 answer

namespaced code not included in coverage

here is phpunit.xml :
Ashkan Kh. Nazary
  • 21,844
  • 13
  • 44
  • 68
2
votes
2 answers

Clover coverage with Phing

Is there a way to get Phing to output it's coverage report in clover format? I know phpunit has --coverage-clover but I don't know how to enable this option from Phing. I do not want to manually use the
Linus
  • 23
  • 3
2
votes
1 answer

Is there an OpenSource tool to convert from Clover to Cobertura xml format?

I'm looking for a tool to convert from Clover to Cobertura xml format. Is there a good OpenSource tool to do this?
Hazok
  • 5,373
  • 4
  • 38
  • 48
2
votes
1 answer

CloverETL Graph Specific

I am uploading a xls file and .grf file. But my requirement is to check the numeric field of xls file and if is there any string presents I have to replace with 0. But It must have at run time. Because there are many users and different types of xls…
ANIL
  • 206
  • 1
  • 8
2
votes
1 answer

Clover can't instrument UTF-8 source

I am setting up Clover in an existing project. It fails to instrument a line of source: if ((character != 'ö') && (character != 'ø') && (character != 'ü') With the error: > /path/to/MyClass.java:13:33:expecting ''', found 'Â' So it seems to me…
Synesso
  • 37,610
  • 35
  • 136
  • 207
2
votes
1 answer

Gradle fails build during clover analysis due to a caught exception in a unit test

I'm using Gradle to run Clover test coverage analysis for TestNG unit tests. I've discovered that if a method I'm testing catches/handles an exception the gradle build will fail due to a failed test - even if the test doesn't fail. I run the TestNG…
Dave Novelli
  • 2,086
  • 4
  • 32
  • 42
1
vote
1 answer

Compilation fails after Clover instrumentation of Java 7 try-with-resources

I am using a simple try-with-resources statement like the following: try (final CSVWriter w = new CSVWriter(new OutputStreamWriter(r.getOutputStream(), "UTF-8"));){ //do stuff...... } It compiles fine using a normal javac Ant task, but when I…
Dave L.
  • 9,595
  • 7
  • 43
  • 69
1
vote
0 answers

How to adjust clover code coverage metric for jenkins?

This is the plugin I need some help for... http://wiki.hudson-ci.org/display/HUDSON/Clover+Plugin I'd like to know how I need to adjust the Coverage Metric Targets the right way. My code coverage is 35% methods, 0% conditionals, 60% statements. The…
1
vote
1 answer

Problem with OpenClover - Clover registry file does not exist, cannot be read or is a directory

Error is Clover registry file "/Users/tobermei/Downloads/clover-ant-4.4.1/tutorial/build/clover/db/clover.db" does not exist, cannot be read or is a directory. Please ensure Clover has instrumented your source files. I have this same problem with a…
Tony
  • 31
  • 4
1
vote
1 answer

Clover Java heap space error

I am getting java heap space error while running from hudson and I set my MAVEN_OPTS as below, any body can let me know what is the resolution for this issue. -Xmx4096m -XX:PermSize=3000m -XX:MaxPermSize=4096m [INFO]…
sharp
  • 633
  • 3
  • 12
  • 21
1
vote
1 answer

/tmp files filling up with surefires files

When Jenkins invokes maven build, /tmp fills with 100s of surefire839014140451157473tmp, how to explicitly redirect to another directory during the build. For clover build it fills with 100s of grover53460334580.jar? Any idea to over come this? And…
sharp
  • 633
  • 3
  • 12
  • 21