Uploaded image for project: 'Rules Repository'
  1. Rules Repository
  2. RSPEC-1483

Lines should have sufficient coverage by unit tests

    Details

    • Type: Code Smell Detection
    • Status: Active
    • Resolution: Unresolved
    • Labels:
    • Message:
      {X} more lines need to be covered by unit tests to reach the minimum threshold of {Y} branch coverage.
    • List of parameters:
      • key = minimumLineCoverageRatio
      • description = The minimum required line coverage ratio.
      • default = 65.0
    • Default Severity:
      Critical
    • Impact:
      High
    • Likelihood:
      Low
    • Legacy Key:
      InsufficientLineCoverage
    • Targeted languages:
      VB6
    • Covered Languages:
      ABAP, C#, C, C++, Cobol, Flex, Java, JavaScript, Objective-C, PHP, PL/I, PL/SQL, Python, RPG, Swift, VB.Net
    • Remediation Function:
      Linear
    • Linear Argument Description:
      per line under the coverage threshold
    • Linear Factor:
      2min
    • Analysis Scope:
      Main Sources

      Description

      An issue is created on a file as soon as the line coverage on this file is less than the required threshold. It gives the number of lines to be covered in order to reach the required threshold.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                freddy.mallet Freddy Mallet (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: