Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.0
-
Fix Version/s: None
-
Component/s: Differential Views, Issues
-
Labels:None
-
Number of attachments :
Description
Current algorithm depends only on size of block (SONAR-3072), whereas would be better also take into account difference in position of lines.
As an example:
version 1
line 1: A line 2: B // violation line 3: B // violation
version 2
line 1: C line 2: A line 3: B // violation line 4: B // violation
Current algorithm can create association between version 1 line 2 and version 2 line 4 or version 1 line 2 and version 2 line 3, depending on order of violations in lists, because size of block is the same (3 unmodified lines).
Issue Links
- relates to
-
SONAR-3072
Create a new algorithm for detecting new violations based on block recognition
-
-
SONAR-3389
Improve the violation tracking mechanism to handle case where the line associated to a violation is updated without fixing the violation
-