Changes between Initial Version and Version 1 of WebInterface/CodeDuplicates


Ignore:
Timestamp:
May 15, 2012, 12:12:41 PM (13 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebInterface/CodeDuplicates

    v1 v1  
     1= Duplicate code analysis = 
     2This service is available under the ”Duplicate Codes” menu. 
     3 
     4[[Image(webinterface_dupcodes.jpg)]][[BR]] 
     5 
     6''Web interface showing the difference between two similar code parts.'' 
     7 
     8== Running and browsing an analysis == 
     9 
     10You can add files to run the analysis on either in the top textbox, and using the 'Add to list' button, or directly in the below textarea, separated by newlines. 
     11 
     12Parameters that can be configured for the analysis: 
     13* Min length: the minimum length of duplicates to be searched (length is in tokens) 
     14* Min number of dups: the minimum number of duplicates that has to be in the same group 
     15* Overlap amount: maximum length that duplicates can overlap each other (length is in tokens) 
     16 
     17After configuring, you can run the analysis with the "Run duplicate code analysis" button. 
     18 
     19The result will be shown below. 
     20By clicking on a result, the first two codes in that group will be shown in the two columns, with their similar parts highlighted. 
     21You can switch codes from that group with the dropdown lists over the columns. 
     22You can highlight the small differences in similar codes with the "Show differences" button. 
     23