Search found 5 matches

by tostme
Fri Jun 20, 2008 12:29 am
Forum: Compare It! - Suggestions
Topic: Moved lines detection
Replies: 3
Views: 10970

Here is an example. This whole method (and actually many more code above and below it) were moved (or basically the class and the file were renamed). I inserted "---" to show boundaries of detected move blocks. Ideally I would want to see it all as a single moved block. Lines starting with "xxx" are...
by tostme
Thu Jun 19, 2008 8:12 pm
Forum: Compare It! - Suggestions
Topic: Moved lines in reports
Replies: 3
Views: 10456

If you are interested, then what I am doing is trying to maintain two copies of code in sync. One original copy is C# and another is a close port (almost line by line) of it in Java. While working on C# code we add, delete, change and move lines. Refactorings are rampant so lines could easily move b...
by tostme
Thu Jun 19, 2008 8:05 pm
Forum: Compare It! - Suggestions
Topic: Moved lines in reports
Replies: 3
Views: 10456

Thank you for looking into this. The minimum I need is to be able to find both legs of a moved block. So if this is an HTML report, then a hyperlink between two parts of a move will be enough. Color for moved out and moved in text should also be different from simple deletion and insertion. Actual t...
by tostme
Thu Jun 19, 2008 11:29 am
Forum: Compare It! - Suggestions
Topic: Moved lines detection
Replies: 3
Views: 10970

Moved lines detection

Hi, Here is one more question about moved lines. I know detecting moved lines in source code is not a trivial algorithm, but I hope you can improve it a little. In my case when I compare two source code files it detects most of moved lines okay, but there are two little problems: 1. If a continuous ...
by tostme
Thu Jun 19, 2008 10:28 am
Forum: Compare It! - Suggestions
Topic: Moved lines in reports
Replies: 3
Views: 10456

Moved lines in reports

Hi, I really need a tool that can detect moved lines in source code. Your tool seems to do that well, but when exporting a report in any of the formats - the moved lines are indistinguishable from simple additions or deletions. I would like to have a way to clearly distinguish moves from additions o...