forked from xsgordon/duplo-fork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
duplo.1
47 lines (46 loc) · 923 Bytes
/
duplo.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.TH DUPLO 1 "April 20, 2012" "Version 0.2.0"
.SH NAME
Duplo 0.2.0 - duplicate source code block finder
.SH SYNOPSIS
.B duplo
.I [OPTIONS] -i [INTPUT_FILELIST] -o [OUTPUT_FILE]
.SH DESCRIPTION
Duplo is a tool to find duplicated code blocks in large
C/C++/Java/C#/VB.Net software systems.
.SH OPTIONS
.TP
\-ml
minimal block size in lines (default is 4)
.TP
\-mc
minimal characters in line (default is 3)
lines with less characters are ignored
.TP
\-ip
ignore preprocessor directives
.TP
\-d
ignore file pairs with same name
.TP
\-xml
output file in XML
.TP
-i INTPUT_FILELIST
input filelist
.TP
-i OUTPUT_FILE
output file
.SH EXAMPLE
Find all Java files in, or under, the current directory and run
.B duplo
on them:
.PP
$ find . -name '*.java' > filelist.txt
.PP
$ duplo -i filelist.txt -o results.txt
.SH VERSION
0.2.0
.SH AUTHORS
Christian M. Ammann ([email protected])
.PP
Trevor D'Arcy-Evans ([email protected])