1symilar(1) General Commands Manual symilar(1)
2
3
4
6 symilar - tool for checking similarities in different files
7
8
10 symilar [ options ] [ <files> ]
11
12
14 symilar is a tool for searching blocks of identical lines in different
15 files. It can be used to find copy pasted blocks of code, or stuff that
16 could be refactored. Differences concerning only stuff behind a '#'
17 (Python comments) can be ignored. The size of identical blocks can be
18 optionally modified. symilar ´s functionality is integrated in pylint
19 with the refactoring message 'R0801'.
20
21
23 -h, --help
24 show help message and exit
25
26 -d <min_duplicated_lines>, --duplicates <min_duplicated_lines>
27 minimum number of identical lines that should trigger a similar‐
28 ity message. Default is 4. So if it finds 3 identical lines,
29 there will be no message, but 4 identical lines will be men‐
30 tioned.
31
32 -i, --ignore-comments
33 ignore differences concerning only stuff behind a '#' (Python
34 comments). This means that if just a comment was added, the mes‐
35 sage will still be triggered.
36
37
38
39
40symilar December 15, 2010 symilar(1)