0
|
1 |
'\" te
|
|
2 |
.\"
|
11
|
3 |
.\" Copyright 2010 Sun Microsystems, Inc. All rights reserved.
|
0
|
4 |
.\" Use is subject to license terms.
|
|
5 |
.\"
|
11
|
6 |
.\" ident "@(#)symilar.1.sunman 1.2 10/03/16 SMI"
|
0
|
7 |
.\"
|
|
8 |
.TH symilar 1 "9 Jun 2009"
|
|
9 |
.SH NAME
|
|
10 |
.B symilar
|
|
11 |
\- finds copy pasted blocks in a set of files
|
|
12 |
|
|
13 |
.SH SYNOPSIS
|
|
14 |
.B /usr/bin/symilar
|
|
15 |
[
|
|
16 |
.I OPTIONS
|
|
17 |
] file...
|
|
18 |
|
|
19 |
.SH DESCRIPTION
|
|
20 |
.B symilar
|
|
21 |
is a helper script for pylint. Symilar will display information
|
|
22 |
about duplicate lines in a file. The output lists the total number of lines,
|
|
23 |
how many duplicate lines found and what percentage of the lines are duplicates.
|
|
24 |
|
|
25 |
.SH OPTIONS
|
|
26 |
.IP "--duplicates, -dl min_duplicated_line"
|
|
27 |
sets a minimum threshhold for duplicated lines
|
|
28 |
.IP "--help, -h"
|
|
29 |
displays help message
|
|
30 |
.IP "--ignore-comments"
|
|
31 |
do not include duplicates found in comment blocks
|
|
32 |
|
|
33 |
.SH USAGE
|
|
34 |
symilar [-d|--duplicates min_duplicated_lines] [--ignore-comments] file..
|
|
35 |
|
|
36 |
.SH FILES
|
|
37 |
/usr/lib/python2.6/vendor-packages/pylint
|
|
38 |
|
|
39 |
.SH SUPPORT
|
|
40 |
[email protected]
|
|
41 |
|
|
42 |
.SH SEE ALSO
|
|
43 |
.IR pylint (1),
|
|
44 |
.IR logilab-common (3),
|
|
45 |
.IR logilab-astng (1)
|
|
46 |
|
|
47 |
.SH ATTRIBUTES
|
|
48 |
See
|
|
49 |
.BR attributes (5)
|
|
50 |
for descriptions of the following attributes:
|
|
51 |
.sp
|
|
52 |
.TS
|
|
53 |
box;
|
|
54 |
cbp-1 | cbp-1
|
|
55 |
l | l .
|
|
56 |
ATTRIBUTE TYPE ATTRIBUTE VALUE
|
|
57 |
=
|
11
|
58 |
Availability developer/python/pylint
|
0
|
59 |
=
|
|
60 |
Interface Stability Uncommitted
|
|
61 |
.TE
|
|
62 |
.SH NOTES
|
|
63 |
Documentation for pylint is available at http://www.logilab.org/project/pylint
|
|
64 |
|
|
65 |
Source for pylint is available on http://opensolaris.org.
|