source: sasview/sanscalculator/docs/sans_calculator_pylint.txt @ bef2377

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since bef2377 was a225dc7, checked in by Jae Cho <jhjcho@…>, 13 years ago

doc out to sans calculator

  • Property mode set to 100644
File size: 4.1 KB
RevLine 
[d267aed]1Microsoft Windows XP [Version 5.1.2600]
2(C) Copyright 1985-2001 Microsoft Corp.
3
4C:\Documents and Settings\galina\workspace>pylint sans.calculator
5No config file found, using default configuration
6************* Module sans.calculator
7C:  1: Missing docstring
8************* Module sans.calculator.slit_length_calculator
9C: 75: Line too long (87/80)
10C: 91: Line too long (83/80)
11C: 16:SlitlengthCalculator.__init__: Invalid name "y" (should match [a-z_][a-z0-
129_]{2,30}$)
13C: 14:SlitlengthCalculator.__init__: Invalid name "x" (should match [a-z_][a-z0-
149_]{2,30}$)
15C: 25:SlitlengthCalculator.set_data: Invalid name "x" (should match [a-z_][a-z0-
169_]{2,30}$)
17C: 25:SlitlengthCalculator.set_data: Invalid name "y" (should match [a-z_][a-z0-
189_]{2,30}$)
19C: 25:SlitlengthCalculator.set_data: Invalid name "x" (should match [a-z_][a-z0-
209_]{2,30}$)
21C: 25:SlitlengthCalculator.set_data: Invalid name "y" (should match [a-z_][a-z0-
229_]{2,30}$)
23C: 46:SlitlengthCalculator.calculate_slit_length: Invalid name "y" (should match
24 [a-z_][a-z0-9_]{2,30}$)
25C: 47:SlitlengthCalculator.calculate_slit_length: Invalid name "x" (should match
26 [a-z_][a-z0-9_]{2,30}$)
27C: 62:SlitlengthCalculator.calculate_slit_length: More than one statement on a s
28ingle line
29
30
31Report
32======
3345 statements analysed.
34
35Statistics by type
36------------------
37
38+---------+-------+-----------+-----------+------------+---------+
39|type     |number |old number |difference |%documented |%badname |
40+=========+=======+===========+===========+============+=========+
41|module   |2      |2          |=          |50.00       |0.00     |
42+---------+-------+-----------+-----------+------------+---------+
43|class    |1      |1          |=          |100.00      |0.00     |
44+---------+-------+-----------+-----------+------------+---------+
45|method   |4      |4          |=          |100.00      |0.00     |
46+---------+-------+-----------+-----------+------------+---------+
47|function |0      |0          |=          |0           |0        |
48+---------+-------+-----------+-----------+------------+---------+
49
50
51
52Raw metrics
53-----------
54
55+----------+-------+------+---------+-----------+
56|type      |number |%     |previous |difference |
57+==========+=======+======+=========+===========+
58|code      |46     |50.55 |45       |+1.00      |
59+----------+-------+------+---------+-----------+
60|docstring |23     |25.27 |23       |=          |
61+----------+-------+------+---------+-----------+
62|comment   |15     |16.48 |14       |+1.00      |
63+----------+-------+------+---------+-----------+
64|empty     |7      |7.69  |6        |+1.00      |
65+----------+-------+------+---------+-----------+
66
67
68
69Duplication
70-----------
71
72+-------------------------+------+---------+-----------+
73|                         |now   |previous |difference |
74+=========================+======+=========+===========+
75|nb duplicated lines      |0     |0        |=          |
76+-------------------------+------+---------+-----------+
77|percent duplicated lines |0.000 |0.000    |=          |
78+-------------------------+------+---------+-----------+
79
80
81
82Messages by category
83--------------------
84
85+-----------+-------+---------+-----------+
86|type       |number |previous |difference |
87+===========+=======+=========+===========+
88|convention |12     |14       |-2.00      |
89+-----------+-------+---------+-----------+
90|refactor   |0      |0        |=          |
91+-----------+-------+---------+-----------+
92|warning    |0      |494      |-494.00    |
93+-----------+-------+---------+-----------+
94|error      |0      |0        |=          |
95+-----------+-------+---------+-----------+
96
97
98
99Messages
100--------
101
102+-----------+------------+
103|message id |occurrences |
104+===========+============+
105|C0103      |8           |
106+-----------+------------+
107|C0301      |2           |
108+-----------+------------+
109|C0321      |1           |
110+-----------+------------+
111|C0111      |1           |
112+-----------+------------+
113
114
115
116Global evaluation
117-----------------
118Your code has been rated at 7.33/10 (previous run: -100.43/10)
119
120
121C:\Documents and Settings\galina\workspace>
Note: See TracBrowser for help on using the repository browser.