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
- Compiler style. Looks like C compiler warning list - one self-contained message in one line. Useful for integration with Microsoft Visual Studio or other IDE.
- Brief. Shows only file names and line numbers - no actual fragment text.
- Normal. File names, line numbers, first and last lines from each found text fragment.
- Verbose. Adds list of excluded files and explanation of processing options to Normal report style.
- Full. Shows every possible detail, including full fragment of text and all line numbers without restrictions.