-
Type:
Code Smell Detection
-
Status: Active
-
Resolution: Unresolved
-
Labels:
-
Message:{} duplicated blocks of code must be removed.
-
Default Severity:Critical
-
Impact:High
-
Likelihood:Low
-
Default Quality Profiles:Sonar way
-
Legacy Key:DuplicatedBlocks
-
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 with offset
-
Linear Argument Description:per duplicate block
-
Linear Factor:10min
-
Linear Offset:10min
-
Analysis Scope:Main Sources
-
Checkstyle:StrictDuplicateCode
-
Pylint:R0801
An issue is created on a file as soon as there is at least one block of duplicated code on this file.
- is implemented by
-
SONARRPG-8 Rule "Source files should not have any duplicated blocks"
-
- Closed
-
-
SONARSWIFT-57 Rule: Source files should not have any duplicated blocks
-
- Closed
-
-
CPP-707 Create Objective-C rules repository containing targeted rules
-
- Closed
-
-
SONARABAP-206 Integrate the two rules "Insufficient comment density" and "Duplicated blocks should be removed "
-
- Closed
-
- relates to
-
CPP-2807 DuplicatedBlocks: Demonstrate the duplicate blocks as secondary locations
-
- Closed
-
1.
|
JavaScript | RSPEC-3911 |
|
Active | Unassigned |