jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-8173) Add branch coverage to Jacoco check
Date Mon, 15 Apr 2019 14:57:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-8173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818035#comment-16818035
] 

Julian Reschke commented on OAK-8173:
-------------------------------------

This check is currently failing on one of my two (Windows) machines with:

{noformat}
[WARNING] Rule violated for bundle oak-auth-external: lines covered ratio is 0.83, but expected
minimum is 0.84
[WARNING] Rule violated for bundle oak-auth-external: branches covered ratio is 0.81, but
expected minimum is 0.82
{noformat}

Both machines execute the same number of tests (490, 1 skipped).

[~anchela]: any idea how to debug this?

> Add branch coverage to Jacoco check
> -----------------------------------
>
>                 Key: OAK-8173
>                 URL: https://issues.apache.org/jira/browse/OAK-8173
>             Project: Jackrabbit Oak
>          Issue Type: Wish
>          Components: auth-external, auth-ldap, authorization-cug, commons, core, parent,
security-spi
>            Reporter: angela
>            Assignee: angela
>            Priority: Major
>             Fix For: 1.12.0
>
>         Attachments: OAK-8173.patch
>
>
> i would suggest to add branch coverage extending the existing check for line coverage.
note: while the jacoco plugin is defined the parent pom the check is currently disabled by
default and thus only affects modules which have it explicitly enabled (i.e. security related
modules as well as _oak-core_ and _oak-commons_).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message