Debian Codegraph @

debian/radon.1

raw
1 .\" Man page generated from reStructuredText.
2 .
3 .
4 .nr rst2man-indent-level 0
5 .
6 .de1 rstReportMargin
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
14 ..
15 .de1 INDENT
16 .\" .rstReportMargin pre:
17 . RS \\$1
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
20 .\" .rstReportMargin post:
21 ..
22 .de UNINDENT
23 . RE
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29 ..
30 .TH "" ""1"" "" "2.3.1"
31 .SH NAME
32 radon \- Python tool to compute code metrics
33 .SH DESCRIPTION
34 .sp
35 \fBradon\fP is a Python tool which computes various code metrics.
36 .SS Summary
37 .sp
38 Radon is a Python tool which computes various code metrics. Supported metrics are:
39 .INDENT 0.0
40 .IP \(bu 2
41 raw metrics: SLOC, comment lines, blank lines, etc.
42 .IP \(bu 2
43 Cyclomatic Complexity (i.e. McCabe\(aqs Complexity)
44 .IP \(bu 2
45 Halstead metrics (all of them)
46 .IP \(bu 2
47 the Maintainability Index (a Visual Studio metric)
48 .UNINDENT
49 .sp
50 Radon can be used either from the command line or programmatically through its API.
51 .SS Usage
52 .sp
53 radon [\-h] [\-v] {cc,raw,mi,hal} ...
54 .SS positional arguments
55 .INDENT 0.0
56 .INDENT 3.5
57 {cc,raw,mi,hal}
58 .INDENT 0.0
59 .INDENT 3.5
60 cc Analyze the given Python modules and compute Cyclomatic Complexity (CC).
61 .sp
62 raw Analyze the given Python modules and compute raw metrics.
63 .sp
64 mi Analyze the given Python modules and compute the Maintainability Index.
65 .sp
66 hal Analyze the given Python modules and compute their Halstead metrics.
67 .UNINDENT
68 .UNINDENT
69 .UNINDENT
70 .UNINDENT
71 .SS optional arguments
72 .INDENT 0.0
73 .INDENT 3.5
74 .INDENT 0.0
75 .TP
76 .B \-h\fP,\fB \-\-help
77 show this help message and exit
78 .TP
79 .B \-v\fP,\fB \-\-version
80 show program\(aqs version number and exit
81 .UNINDENT
82 .UNINDENT
83 .UNINDENT
84 .SS Links
85 .sp
86 <https://dzone.com/articles/what\-exactly\-is\-mccabe\-cyclomatic\-complexity>
87 .sp
88 Cyclomatic Complexity can be seen simply as the number of independent paths that exist between the input of the function and its output
89 .sp
90 \fBradon\fP output consists of columns. The first column indicates \fBF M C\fP \- or \fBfunction\fP \fBmethod\fP \fBclass\fP\&.
91 .sp
92 Use \-\-exclude \fB\(dq*/filename.py\(dq\fP to skip a particular file(s)
93 .SH COPYRIGHT
94 2012-2017 Michele Lacchia
95 .\" Generated by docutils manpage writer.
96 .