Site menu:

Options

File language detection

The File language detection combo box allows you to select the way that the program determines the programming language of every file it is processing. By default, the program recognizes language from the file name extension. For example, the file "hello.cpp" will be considered C++ source code, file "hello.pas" will be considered Delphi source code, and file "readme.txt" will be considered plain text. Files with extensions that are unknown for programming will be excluded from processing. To force the program, treat all files as source code. For specified programming language, select corresponding line in File language detection combo box. For example, if Always C++ is selected, the program will process all files as if they were C++ sources, even though the file extension is either unknown or know as an extension for another language. Number of consecutive lines that must match Program will ignore similar fragments if they are shorter than specified number of lines. Default value is 8. Minimal value is 4, maximal value is 64.

Number of lines/words that must match

Program will ignore similar fragments if they are shorter than specified number of lines (or words). Default value is 8. Minimal value is 4, maximal value is 64.

Compress white spaces

When this checkbox is checked, the program will consider two fragments to be similar even though some lines have a different number of spaces, tab characters or if they have a different amount of empty lines. For example, this two plain text lines will be considered similar enough to include fragment in report:
   one two three
and
one    two    three
Default state is checked.

Ignore line breaks

When this checkbox is checked, the program will consider two fragments to be similar even if they have different amount and positions of line breaks. For example, these two C++ fragments will be considered similar enough to be included in a report:
if (a > b) b = a;
and
if (a > b)
   b = a;

Default state is unchecked.

Ignore comments

When this checkbox is checked, the program will consider two fragments to be similar even if they have different programming language-specific comments. For example, these two C++ lines will be considered similar enough to be included in a report:
printf("Hello, World!\n");
and
printf( /* inline comment */ "Hello, World!\n"); //end-of-line comment
Default state is checked.

Ignore strings

When this checkbox is checked, the program will consider two fragments to be similar even if they have different programming language-specific string constants. For example, these two C++ lines will be considered similar enough to be included in a report:
printf("Hello, World!\n");
and
printf("The quick brown fox jumps over the lazy dog.");
Default state is checked.

Exclude same name files

When this checkbox is checked, the program will exclude search files with the same name as already processed files that are located in different subdirectories. Default state is checked.

Report style

Fragment's test lines to show in report

Program will include the specified number of test lines from beginning and end of found fragment into the report. Default value is 4. Minimal value is 0 and maximal value unlimited.

Wrap long lines at the position

Program will wrap lines longer than the specified size.

Max. number of fragments to show

Maximum number of fragments to show in the report.