Skip to content

Build failing  #27

@slice-imran

Description

@slice-imran

Hi, this is quite useful plugin but it lacks the documentation.
In below lines please specify what does minLines, minBranches and minInstructions means so that we can configure proper values.
If I just remove few lines from my code(no new line added) currently build is failing not sure which parameter to adjust to make it work.

<violations> 
    <!-- Default 'false'. Fail build if violation rules weren't met  -->
    <failOnViolation>true</failOnViolation>

    <!-- Sets min coverage rule for: instructions, lines, branches -->
    <minCoverage>0.7</minCoverage>
    
    <!-- Each rule could be configured separately -->
    <!-- Default '0.0'. If value is '0.0' then the rule is disabled -->
    <minLines>0.1</minLines>
    <minBranches>0.7</minBranches>
    <minInstructions>1.0</minInstructions>
</violations>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions