-
Type:
Code Smell Detection
-
Status: Active
-
Resolution: Unresolved
-
Labels:
-
Message:Add tests to cover this branch.
-
List of parameters:
- key = minimumBranchCoverageRatio
- description = The minimum required branch coverage ratio.
- default = 65.0
-
Default Severity:Critical
-
Impact:High
-
Likelihood:Low
-
Legacy Key:InsufficientBranchCoverage
-
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 uncovered condition
-
Linear Factor:5min
-
Analysis Scope:Main Sources
An issue is created on a file as soon as the branch coverage on this file is less than the required threshold. It gives the number of branches to be covered in order to reach the required threshold.
- is implemented by
-
CPP-707 Create Objective-C rules repository containing targeted rules
-
- Closed
-