0

I use Jacoco to generate a code coverage report. BUT in the resulting html report, all percentages are rounded to an integer. How do I specify the setting so that the percentages are two decimal places?

my example of using the plugin:

<plugin>
    <groupId>org.jacoco</groupId>
    <artifactId>jacoco-maven-plugin</artifactId>
    <version>0.8.7</version>

    <executions>
        <execution>
            <id>prepare-agent</id>
            <goals>
                <goal>prepare-agent</goal>
            </goals>
        </execution>
        <execution>
            <id>report</id>
            <phase>test</phase>
            <goals>
                <goal>report</goal>
            </goals>
        </execution>
    </executions>
</plugin>
Ilya Y
  • 744
  • 6
  • 24

0 Answers0