vigiboard / pylint_results @ 8cb5da40
History | View | Annotate | Download (28.9 KB)
1 | 52661754 | Thomas ANDREJAK | ************* Module setup |
---|---|---|---|
2 | C0111: 1: Missing docstring |
||
3 | 8cb5da40 | Thomas ANDREJAK | ************* Module pylint_vigiboard |
4 | C0301: 31: Line too long (83/80) |
||
5 | C0301: 45: Line too long (87/80) |
||
6 | C0301: 47: Line too long (81/80) |
||
7 | 52661754 | Thomas ANDREJAK | C0103: 19: Invalid name "FILES" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
8 | C0103: 21: Invalid name "FILES" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
||
9 | C0103: 30: Invalid name "SUPRESSED_MESSAGES" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
||
10 | 8cb5da40 | Thomas ANDREJAK | C0103: 54: Invalid name "PARAMS" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
11 | 52661754 | Thomas ANDREJAK | ************* Module ez_setup.__init__ |
12 | C0301: 18: Line too long (86/80) |
||
13 | C0301: 89: Line too long (81/80) |
||
14 | W0511: 98: XXX could we install in a subprocess here? |
||
15 | ************* Module ez_setup |
||
16 | C0103: 17: Invalid name "DEFAULT_VERSION" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
||
17 | C0103: 18: Invalid name "DEFAULT_URL" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
||
18 | W0404: 50: Reimport 'sys' (imported line 16) |
||
19 | C0111: 52:_validate_md5: Missing docstring |
||
20 | C0323: 57:_validate_md5: Operator not followed by a space |
||
21 | print >>sys.stderr, ( |
||
22 | ^ |
||
23 | "md5 validation of %s failed! (Possible download problem?)" |
||
24 | % egg_name |
||
25 | C0323: 83:use_setuptools: Operator not followed by a space |
||
26 | print >>sys.stderr, ( |
||
27 | ^ |
||
28 | "You have an obsolete version of setuptools installed. Please\n" |
||
29 | C0321: 91:use_setuptools: More than one statement on a single line |
||
30 | C0103: 97:use_setuptools: Invalid name "e" (should match [a-z_][a-z0-9_]{2,30}$) |
||
31 | C0323: 99:use_setuptools: Operator not followed by a space |
||
32 | print >>sys.stderr, ( |
||
33 | ^ |
||
34 | "The required version of setuptools (>=%s) is not available, and\n" |
||
35 | "can't be installed while this script is running. Please install\n" |
||
36 | " a more recent version first.\n\n(Currently using %r)" |
||
37 | ) % (version, e.args[0]) |
||
38 | C0324:118:download_setuptools: Comma not followed by a space |
||
39 | egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) |
||
40 | ^^ |
||
41 | C0321:141:download_setuptools: More than one statement on a single line |
||
42 | C0321:147:download_setuptools: More than one statement on a single line |
||
43 | C0321:149:download_setuptools: More than one statement on a single line |
||
44 | C0321:150:download_setuptools: More than one statement on a single line |
||
45 | W0612:117:download_setuptools: Unused variable 'shutil' |
||
46 | W0621:163:main: Redefining name 'main' from outer scope (line 153) |
||
47 | C0324:162:main: Comma not followed by a space |
||
48 | sys.path.insert(0,egg) |
||
49 | ^^ |
||
50 | W0404:179:main: Reimport 'main' (imported line 163) |
||
51 | W0404:186:main: Reimport 'main' (imported line 163) |
||
52 | C0324:189:main: Comma not followed by a space |
||
53 | print "Setuptools version",version,"or greater has been installed." |
||
54 | ^^ |
||
55 | C0103:202:update_md5: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$) |
||
56 | C0103:212:update_md5: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$) |
||
57 | C0321:212:update_md5: More than one statement on a single line |
||
58 | C0323:216:update_md5: Operator not followed by a space |
||
59 | print >>sys.stderr, "Internal error!" |
||
60 | ^ |
||
61 | C0103:220:update_md5: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$) |
||
62 | C0322:225: Operator not preceded by a space |
||
63 | if __name__=='__main__': |
||
64 | ^^ |
||
65 | ************* Module ui_dialog |
||
66 | 8cb5da40 | Thomas ANDREJAK | W0232: 35:JQueryUIDialog: Class has no __init__ method |
67 | E1002: 68:JQueryUIDialog.update_params: Use super on an old style class |
||
68 | E1101: 99:JQueryUIDialog.update_params: Instance of 'JQueryUIDialog' has no 'add_call' member |
||
69 | R0903: 35:JQueryUIDialog: Too few public methods (1/2) |
||
70 | 52661754 | Thomas ANDREJAK | ************* Module vigiboard.websetup |
71 | C0301: 42: Line too long (90/80) |
||
72 | W0622: 16:setup_app: Redefining built-in 'vars' |
||
73 | W0613: 16:setup_app: Unused argument 'vars' |
||
74 | W0613: 16:setup_app: Unused argument 'command' |
||
75 | ************* Module vigiboard.model |
||
76 | C0103: 13: Invalid name "DBSession" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
||
77 | C0103: 18: Invalid name "DeclarativeBase" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
||
78 | ************* Module vigiboard.model.auth |
||
79 | W0232: 60:Group: Class has no __init__ method |
||
80 | R0903: 60:Group: Too few public methods (0/2) |
||
81 | W0232: 99:User: Class has no __init__ method |
||
82 | C0103:141:User.permissions: Invalid name "g" (should match [a-z_][a-z0-9_]{2,30}$) |
||
83 | E1101:141:User.permissions: Instance of 'User' has no 'groups' member |
||
84 | W0622:166:User._set_password: Redefining built-in 'hash' |
||
85 | W1001:182:User: Use of "property" on an old style class |
||
86 | W0232:204:Permission: Class has no __init__ method |
||
87 | R0903:204:Permission: Too few public methods (0/2) |
||
88 | ************* Module vigiboard.model.vigiboard_bdd.service |
||
89 | R0903: 31:Service: Too few public methods (0/2) |
||
90 | ************* Module vigiboard.model.vigiboard_bdd.graphtogroups |
||
91 | 8cb5da40 | Thomas ANDREJAK | R0903: 33:GraphToGroups: Too few public methods (0/2) |
92 | 52661754 | Thomas ANDREJAK | ************* Module vigiboard.model.vigiboard_bdd.graphgroups |
93 | R0903: 26:GraphGroups: Too few public methods (0/2) |
||
94 | ************* Module vigiboard.model.vigiboard_bdd.servicetopo |
||
95 | R0903: 30:ServiceTopo: Too few public methods (0/2) |
||
96 | ************* Module vigiboard.model.vigiboard_bdd.host |
||
97 | R0902: 44:Host: Too many instance attributes (9/7) |
||
98 | R0913: 50:Host.__init__: Too many arguments (10/5) |
||
99 | R0903: 44:Host: Too few public methods (0/2) |
||
100 | ************* Module vigiboard.model.vigiboard_bdd.graph |
||
101 | R0903: 30:Graph: Too few public methods (0/2) |
||
102 | ************* Module vigiboard.model.vigiboard_bdd.grouppermissions |
||
103 | R0903: 29:GroupPermissions: Too few public methods (0/2) |
||
104 | ************* Module vigiboard.model.vigiboard_bdd.groups |
||
105 | R0903: 28:Groups: Too few public methods (0/2) |
||
106 | ************* Module vigiboard.model.vigiboard_bdd.servicegroups |
||
107 | R0903: 33:ServiceGroups: Too few public methods (0/2) |
||
108 | ************* Module vigiboard.model.vigiboard_bdd.hostgroups |
||
109 | R0903: 30:HostGroups: Too few public methods (0/2) |
||
110 | ************* Module vigiboard.model.vigiboard_bdd.eventhistory |
||
111 | R0913: 50:EventHistory.__init__: Too many arguments (6/5) |
||
112 | R0903: 46:EventHistory: Too few public methods (0/2) |
||
113 | ************* Module vigiboard.model.vigiboard_bdd.events |
||
114 | R0902: 57:Events: Too many instance attributes (15/7) |
||
115 | R0913: 63:Events.__init__: Too many arguments (16/5) |
||
116 | R0914: 63:Events.__init__: Too many local variables (16/15) |
||
117 | W0612:114:Events.get_since_date: Unused variable 'seconds' |
||
118 | ************* Module vigiboard.model.vigiboard_bdd.perfdatasource |
||
119 | R0913: 51:PerfDataSource.__init__: Too many arguments (7/5) |
||
120 | R0903: 45:PerfDataSource: Too few public methods (0/2) |
||
121 | ************* Module vigiboard.model.vigiboard_bdd.servicehautniveau |
||
122 | R0903: 33:ServiceHautNiveau: Too few public methods (0/2) |
||
123 | ************* Module vigiboard.widgets.edit_event |
||
124 | 8cb5da40 | Thomas ANDREJAK | W0232: 15:EditEventForm: Class has no __init__ method |
125 | R0903: 15:EditEventForm: Too few public methods (0/2) |
||
126 | W0232: 32:SearchForm: Class has no __init__ method |
||
127 | R0903: 32:SearchForm: Too few public methods (0/2) |
||
128 | 52661754 | Thomas ANDREJAK | ************* Module vigiboard.lib.base |
129 | W0232: 15:BaseController: Class has no __init__ method |
||
130 | R0903: 15:BaseController: Too few public methods (0/2) |
||
131 | W0611: 6: Unused import render |
||
132 | W0611: 9: Unused import WidgetBunch |
||
133 | W0611: 8: Unused import N_ |
||
134 | W0611: 10: Unused import model |
||
135 | W0611: 8: Unused import ungettext |
||
136 | W0611: 8: Unused import _ |
||
137 | ************* Module vigiboard.lib.helpers |
||
138 | W0611: 5: Unused import html |
||
139 | W0611: 5: Unused import feedgenerator |
||
140 | W0611: 5: Unused import date |
||
141 | W0611: 5: Unused import text |
||
142 | W0611: 5: Unused import misc |
||
143 | W0611: 5: Unused import number |
||
144 | ************* Module vigiboard.lib |
||
145 | C0111: 1: Missing docstring |
||
146 | ************* Module vigiboard.lib.app_globals |
||
147 | R0903: 8:Globals: Too few public methods (0/2) |
||
148 | ************* Module vigiboard.controllers.template |
||
149 | W0232: 9:TemplateController: Class has no __init__ method |
||
150 | E0602: 35:TemplateController.view: Undefined variable 'abort' |
||
151 | W0613: 33:TemplateController.view: Unused argument 'url' |
||
152 | R0903: 9:TemplateController: Too few public methods (1/2) |
||
153 | ************* Module vigiboard.controllers.error |
||
154 | W0613: 22:ErrorController.document: Unused argument 'kwargs' |
||
155 | W0613: 22:ErrorController.document: Unused argument 'args' |
||
156 | R0903: 9:ErrorController: Too few public methods (1/2) |
||
157 | ************* Module vigiboard.controllers.secure |
||
158 | C0301: 20: Line too long (87/80) |
||
159 | W0232: 15:SecureController: Class has no __init__ method |
||
160 | ************* Module vigiboard.controllers.root |
||
161 | W0232: 21:RootController: Class has no __init__ method |
||
162 | W0613: 60:RootController.manage_permission_only: Unused argument 'kw' |
||
163 | W0613: 66:RootController.editor_user_only: Unused argument 'kw' |
||
164 | ************* Module vigiboard.controllers.vigiboard_ctl.vigiboardrequest |
||
165 | 8cb5da40 | Thomas ANDREJAK | R0902: 15:VigiboardRequest: Too many instance attributes (17/7) |
166 | R0902:422:VigiboardRequestPlugin: Too many instance attributes (8/7) |
||
167 | R0913:428:VigiboardRequestPlugin.__init__: Too many arguments (9/5) |
||
168 | W0702:454:VigiboardRequestPlugin.__show__: No exception type(s) specified |
||
169 | W0613:456:VigiboardRequestPlugin.show: Unused argument 'event' |
||
170 | R0903:422:VigiboardRequestPlugin: Too few public methods (1/2) |
||
171 | 52661754 | Thomas ANDREJAK | ************* Module vigiboard.controllers.vigiboard_ctl.vigiboard_ctl |
172 | 8cb5da40 | Thomas ANDREJAK | W0232: 32:VigiboardController: Class has no __init__ method |
173 | W0613: 39:VigiboardController.process_form_errors: Unused argument 'kwargv' |
||
174 | W0613: 39:VigiboardController.process_form_errors: Unused argument 'argv' |
||
175 | R0913: 55:VigiboardController.default: Too many arguments (6/5) |
||
176 | R0903: 81:VigiboardController.default.PluginSHN: Too few public methods (1/2) |
||
177 | 52661754 | Thomas ANDREJAK | ************* Module vigiboard.tests |
178 | C0103: 49:TestController.setUp: Invalid name "setUp" (should match [a-z_][a-z0-9_]{2,30}$) |
||
179 | C0103: 61:TestController.tearDown: Invalid name "tearDown" (should match [a-z_][a-z0-9_]{2,30}$) |
||
180 | ************* Module vigiboard.tests.models.test_vigiboard |
||
181 | 8cb5da40 | Thomas ANDREJAK | W0232: 13:TestEventHistory: Class has no __init__ method |
182 | R0903: 13:TestEventHistory: Too few public methods (1/2) |
||
183 | W0232: 30:TestEvent: Class has no __init__ method |
||
184 | E1101: 48:TestEvent.test_get_date: Instance of 'TestEvent' has no 'obj' member |
||
185 | E1101: 49:TestEvent.test_get_date: Instance of 'TestEvent' has no 'obj' member |
||
186 | E1101: 54:TestEvent.test_get_since_date: Instance of 'TestEvent' has no 'obj' member |
||
187 | W0232: 56:TestGraph: Class has no __init__ method |
||
188 | R0903: 56:TestGraph: Too few public methods (0/2) |
||
189 | W0232: 62:TestGraphToGroups: Class has no __init__ method |
||
190 | R0903: 62:TestGraphToGroups: Too few public methods (1/2) |
||
191 | W0232: 76:TestGraphGroups: Class has no __init__ method |
||
192 | R0903: 76:TestGraphGroups: Too few public methods (0/2) |
||
193 | W0232: 82:TestGroupPermissions: Class has no __init__ method |
||
194 | R0903: 82:TestGroupPermissions: Too few public methods (1/2) |
||
195 | W0232: 95:TestGroups: Class has no __init__ method |
||
196 | R0903: 95:TestGroups: Too few public methods (0/2) |
||
197 | W0232:101:TestHost: Class has no __init__ method |
||
198 | R0903:101:TestHost: Too few public methods (0/2) |
||
199 | W0232:107:TestHostGroups: Class has no __init__ method |
||
200 | R0903:107:TestHostGroups: Too few public methods (1/2) |
||
201 | W0232:121:TestPerfDataSource: Class has no __init__ method |
||
202 | R0903:121:TestPerfDataSource: Too few public methods (1/2) |
||
203 | W0232:137:TestServiceGroups: Class has no __init__ method |
||
204 | R0903:137:TestServiceGroups: Too few public methods (1/2) |
||
205 | W0232:151:TestServiceHautNiveau: Class has no __init__ method |
||
206 | R0903:151:TestServiceHautNiveau: Too few public methods (1/2) |
||
207 | W0232:164:TestService: Class has no __init__ method |
||
208 | R0903:164:TestService: Too few public methods (0/2) |
||
209 | W0232:170:TestServiceTopo: Class has no __init__ method |
||
210 | R0903:170:TestServiceTopo: Too few public methods (1/2) |
||
211 | 52661754 | Thomas ANDREJAK | ************* Module vigiboard.tests.models.test_auth |
212 | W0232: 8:TestGroup: Class has no __init__ method |
||
213 | R0903: 8:TestGroup: Too few public methods (0/2) |
||
214 | W0232: 17:TestUser: Class has no __init__ method |
||
215 | E1101: 28:TestUser.test_obj_creation_username: Instance of 'TestUser' has no 'obj' member |
||
216 | E1101: 32:TestUser.test_obj_creation_email: Instance of 'TestUser' has no 'obj' member |
||
217 | E1101: 36:TestUser.test_no_permissions_by_default: Instance of 'TestUser' has no 'obj' member |
||
218 | E1101: 41:TestUser.test_getting_by_email: Instance of 'TestUser' has no 'obj' member |
||
219 | W0232: 44:TestPermission: Class has no __init__ method |
||
220 | R0903: 44:TestPermission: Too few public methods (0/2) |
||
221 | ************* Module vigiboard.tests.models.__init__ |
||
222 | 8cb5da40 | Thomas ANDREJAK | C0301: 43: Line too long (115/80) |
223 | 52661754 | Thomas ANDREJAK | ************* Module vigiboard.tests.models |
224 | 8cb5da40 | Thomas ANDREJAK | C0111: 26:ModelTest.setup: Missing docstring |
225 | E1102: 31:ModelTest.setup: self.klass is not callable |
||
226 | C0103: 39:ModelTest.tearDown: Invalid name "tearDown" (should match [a-z_][a-z0-9_]{2,30}$) |
||
227 | C0111: 39:ModelTest.tearDown: Missing docstring |
||
228 | C0111: 46:ModelTest.test_create_obj: Missing docstring |
||
229 | C0111: 49:ModelTest.test_query_obj: Missing docstring |
||
230 | W0201: 31:ModelTest.setup: Attribute 'obj' defined outside __init__ |
||
231 | 52661754 | Thomas ANDREJAK | ************* Module vigiboard.tests.functional.test_userutils |
232 | 8cb5da40 | Thomas ANDREJAK | W0232: 17:TestUserUtils: Class has no __init__ method |
233 | C0103: 20:TestUserUtils.tearDown: Invalid name "tearDown" (should match [a-z_][a-z0-9_]{2,30}$) |
||
234 | E1101: 56:TestUserUtils.test_get_user_groups: Instance of 'TestUserUtils' has no 'app' member |
||
235 | E1101: 72:TestUserUtils.test_get_user_groups: Instance of 'TestUserUtils' has no 'app' member |
||
236 | 52661754 | Thomas ANDREJAK | ************* Module vigiboard.tests.functional.test_root |
237 | C0111: 18:TestRootController: Missing docstring |
||
238 | W0232: 18:TestRootController: Class has no __init__ method |
||
239 | C0111: 19:TestRootController.test_index: Missing docstring |
||
240 | E1101: 20:TestRootController.test_index: Instance of 'TestRootController' has no 'app' member |
||
241 | E1101: 37:TestRootController.test_secc_with_manager: Instance of 'TestRootController' has no 'app' member |
||
242 | E1101: 43:TestRootController.test_secc_with_editor: Instance of 'TestRootController' has no 'app' member |
||
243 | E1101: 48:TestRootController.test_secc_with_anonymous: Instance of 'TestRootController' has no 'app' member |
||
244 | ************* Module vigiboard.tests.functional.test_authentication |
||
245 | C0301: 51: Line too long (81/80) |
||
246 | W0232: 13:TestAuthentication: Class has no __init__ method |
||
247 | E1101: 38:TestAuthentication.test_forced_login: Instance of 'TestAuthentication' has no 'app' member |
||
248 | E1101: 58:TestAuthentication.test_voluntary_login: Instance of 'TestAuthentication' has no 'app' member |
||
249 | E1101: 74:TestAuthentication.test_logout: Instance of 'TestAuthentication' has no 'app' member |
||
250 | E1101: 80:TestAuthentication.test_logout: Instance of 'TestAuthentication' has no 'app' member |
||
251 | ************* Module vigiboard.tests.functional.test_vigiboardrequest |
||
252 | 8cb5da40 | Thomas ANDREJAK | W0232: 18:TestVigiboardRequest: Class has no __init__ method |
253 | C0103: 21:TestVigiboardRequest.tearDown: Invalid name "tearDown" (should match [a-z_][a-z0-9_]{2,30}$) |
||
254 | E1101: 97:TestVigiboardRequest.test_creation_requete: Instance of 'TestVigiboardRequest' has no 'app' member |
||
255 | W0232:105:TestVigiboardRequest.test_creation_requete.MonPlugin: Class has no __init__ method |
||
256 | R0903:105:TestVigiboardRequest.test_creation_requete.MonPlugin: Too few public methods (1/2) |
||
257 | E1101:139:TestVigiboardRequest.test_creation_requete: Instance of 'TestVigiboardRequest' has no 'app' member |
||
258 | 52661754 | Thomas ANDREJAK | ************* Module vigiboard.config.app_cfg |
259 | E1101: 37: Module 'vigiboard' has no 'model' member |
||
260 | E1101: 38: Module 'vigiboard' has no 'model' member |
||
261 | W0611: 20: Unused import helpers |
||
262 | W0611: 20: Unused import app_globals |
||
263 | ************* Module vigiboard.config.middleware |
||
264 | W0312: 39: Found indentation with tabs instead of spaces |
||
265 | W0613: 15:make_app: Unused argument 'full_stack' |
||
266 | ************* Module vigiboard.config |
||
267 | C0111: 1: Missing docstring |
||
268 | 8cb5da40 | Thomas ANDREJAK | ************* Module bootstrap |
269 | W0122: 34: Use of the exec statement |
||
270 | C0111: 41:quote: Missing docstring |
||
271 | C0103: 41:quote: Invalid name "c" (should match [a-z_][a-z0-9_]{2,30}$) |
||
272 | C0103: 41:quote: Invalid name "c" (should match [a-z_][a-z0-9_]{2,30}$) |
||
273 | C0111: 47:quote: Missing docstring |
||
274 | C0103: 47:quote: Invalid name "c" (should match [a-z_][a-z0-9_]{2,30}$) |
||
275 | C0103: 47:quote: Invalid name "c" (should match [a-z_][a-z0-9_]{2,30}$) |
||
276 | C0103: 54: Invalid name "VERSION" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
||
277 | C0103: 57: Invalid name "VERSION" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
||
278 | 52661754 | Thomas ANDREJAK | R0401: 1: Cyclic import (vigiboard.model -> vigiboard.model.auth) |
279 | 8cb5da40 | Thomas ANDREJAK | |
280 | |||
281 | Report |
||
282 | ====== |
||
283 | 1287 statements analysed. |
||
284 | |||
285 | Raw metrics |
||
286 | ----------- |
||
287 | |||
288 | +----------+-------+------+---------+-----------+ |
||
289 | |type |number |% |previous |difference | |
||
290 | +==========+=======+======+=========+===========+ |
||
291 | |code |1934 |59.04 |1934 |= | |
||
292 | +----------+-------+------+---------+-----------+ |
||
293 | |docstring |697 |21.28 |697 |= | |
||
294 | +----------+-------+------+---------+-----------+ |
||
295 | |comment |332 |10.13 |332 |= | |
||
296 | +----------+-------+------+---------+-----------+ |
||
297 | |empty |313 |9.55 |313 |= | |
||
298 | +----------+-------+------+---------+-----------+ |
||
299 | |||
300 | |||
301 | |||
302 | Duplication |
||
303 | ----------- |
||
304 | |||
305 | +-------------------------+------+---------+-----------+ |
||
306 | | |now |previous |difference | |
||
307 | +=========================+======+=========+===========+ |
||
308 | |nb duplicated lines |71 |71 |= | |
||
309 | +-------------------------+------+---------+-----------+ |
||
310 | |percent duplicated lines |1.939 |1.939 |= | |
||
311 | +-------------------------+------+---------+-----------+ |
||
312 | |||
313 | |||
314 | |||
315 | External dependencies |
||
316 | --------------------- |
||
317 | :: |
||
318 | |||
319 | easy_install (ez_setup) |
||
320 | ez_setup (setup) |
||
321 | nose |
||
322 | \-tools (vigiboard.tests,vigiboard.tests.models.test_vigiboard,vigiboard.tests.models.test_auth,vigiboard.tests.models,vigiboard.tests.functional.test_userutils,vigiboard.tests.functional.test_root,vigiboard.tests.functional.test_vigiboardrequest) |
||
323 | pkg_resources (ez_setup,bootstrap) |
||
324 | pylint |
||
325 | \-lint (pylint_vigiboard) |
||
326 | setuptools (setup,ez_setup) |
||
327 | \-command |
||
328 | \-easy_install (ez_setup) |
||
329 | vigiboard (vigiboard.config.app_cfg) |
||
330 | \-config |
||
331 | | \-app_cfg (vigiboard.config.environment,vigiboard.config.middleware) |
||
332 | | \-environment (vigiboard.websetup,vigiboard.config.middleware) |
||
333 | | \-vigiboard_config (vigiboard.model.vigiboard_bdd.service,vigiboard.model.vigiboard_bdd.graphtogroups,vigiboard.model.vigiboard_bdd.graphgroups,vigiboard.model.vigiboard_bdd.servicetopo,vigiboard.model.vigiboard_bdd.host,vigiboard.model.vigiboard_bdd.graph,vigiboard.model.vigiboard_bdd.grouppermissions,vigiboard.model.vigiboard_bdd.groups,vigiboard.model.vigiboard_bdd.servicegroups,vigiboard.model.vigiboard_bdd.hostgroups,vigiboard.model.vigiboard_bdd.eventhistory,vigiboard.model.vigiboard_bdd.events,vigiboard.model.vigiboard_bdd.perfdatasource,vigiboard.model.vigiboard_bdd.servicehautniveau,vigiboard.config.middleware) |
||
334 | \-controllers |
||
335 | | \-error (vigiboard.controllers.root) |
||
336 | | \-secure (vigiboard.controllers.root) |
||
337 | | \-vigiboard_ctl (vigiboard.controllers.root,vigiboard.tests.functional.test_userutils,vigiboard.tests.functional.test_vigiboardrequest) |
||
338 | | \-userutils (vigiboard.controllers.vigiboard_ctl.vigiboardrequest,vigiboard.controllers.vigiboard_ctl.vigiboard_ctl,vigiboard.controllers.vigiboard_ctl) |
||
339 | | \-vigiboard_ctl (vigiboard.controllers.vigiboard_ctl) |
||
340 | | \-vigiboardrequest (vigiboard.controllers.vigiboard_ctl.vigiboard_ctl,vigiboard.controllers.vigiboard_ctl) |
||
341 | \-lib |
||
342 | | \-app_globals (vigiboard.config.app_cfg) |
||
343 | | \-base (vigiboard.controllers.template,vigiboard.controllers.secure,vigiboard.controllers.root,vigiboard.controllers.vigiboard_ctl.vigiboard_ctl) |
||
344 | | \-helpers (vigiboard.config.app_cfg) |
||
345 | \-model (vigiboard.websetup,vigiboard.model.auth,vigiboard.model.vigiboard_bdd.service,vigiboard.model.vigiboard_bdd.graphtogroups,vigiboard.model.vigiboard_bdd.graphgroups,vigiboard.model.vigiboard_bdd.servicetopo,vigiboard.model.vigiboard_bdd.host,vigiboard.model.vigiboard_bdd.graph,vigiboard.model.vigiboard_bdd.grouppermissions,vigiboard.model.vigiboard_bdd.groups,vigiboard.model.vigiboard_bdd.servicegroups,vigiboard.model.vigiboard_bdd.hostgroups,vigiboard.model.vigiboard_bdd.eventhistory,vigiboard.model.vigiboard_bdd.events,vigiboard.model.vigiboard_bdd.perfdatasource,vigiboard.model.vigiboard_bdd.servicehautniveau,vigiboard.lib.base,vigiboard.controllers.root,vigiboard.controllers.vigiboard_ctl.userutils,vigiboard.controllers.vigiboard_ctl.vigiboardrequest,vigiboard.controllers.vigiboard_ctl.vigiboard_ctl,vigiboard.tests,vigiboard.tests.models.test_vigiboard,vigiboard.tests.models.test_auth,vigiboard.tests.models,vigiboard.tests.functional.test_userutils,vigiboard.tests.functional.test_vigiboardrequest,vigiboard.config.app_cfg) |
||
346 | | \-auth (vigiboard.model) |
||
347 | | \-vigiboard_bdd (vigiboard.model,vigiboard.controllers.vigiboard_ctl.vigiboardrequest,vigiboard.controllers.vigiboard_ctl.vigiboard_ctl) |
||
348 | | \-eventhistory (vigiboard.model.vigiboard_bdd) |
||
349 | | \-events (vigiboard.model.vigiboard_bdd) |
||
350 | | \-graph (vigiboard.model.vigiboard_bdd) |
||
351 | | \-graphgroups (vigiboard.model.vigiboard_bdd) |
||
352 | | \-graphtogroups (vigiboard.model.vigiboard_bdd) |
||
353 | | \-grouppermissions (vigiboard.model.vigiboard_bdd) |
||
354 | | \-groups (vigiboard.model.vigiboard_bdd) |
||
355 | | \-host (vigiboard.model.vigiboard_bdd) |
||
356 | | \-hostgroups (vigiboard.model.vigiboard_bdd) |
||
357 | | \-perfdatasource (vigiboard.model.vigiboard_bdd) |
||
358 | | \-service (vigiboard.model.vigiboard_bdd) |
||
359 | | \-servicegroups (vigiboard.model.vigiboard_bdd) |
||
360 | | \-servicehautniveau (vigiboard.model.vigiboard_bdd) |
||
361 | | \-servicetopo (vigiboard.model.vigiboard_bdd) |
||
362 | \-tests (vigiboard.tests.models,vigiboard.tests.functional.test_userutils,vigiboard.tests.functional.test_root,vigiboard.tests.functional.test_authentication,vigiboard.tests.functional.test_vigiboardrequest) |
||
363 | | \-models (vigiboard.tests.models.test_vigiboard,vigiboard.tests.models.test_auth) |
||
364 | \-widgets |
||
365 | \-edit_event (vigiboard.controllers.vigiboard_ctl.vigiboardrequest,vigiboard.controllers.vigiboard_ctl.vigiboard_ctl) |
||
366 | |||
367 | |||
368 | |||
369 | Statistics by type |
||
370 | ------------------ |
||
371 | |||
372 | +---------+-------+-----------+-----------+------------+---------+ |
||
373 | |type |number |old number |difference |%documented |%badname | |
||
374 | +=========+=======+===========+===========+============+=========+ |
||
375 | |module |54 |54 |= |94.44 |0.00 | |
||
376 | +---------+-------+-----------+-----------+------------+---------+ |
||
377 | |class |54 |54 |= |98.15 |0.00 | |
||
378 | +---------+-------+-----------+-----------+------------+---------+ |
||
379 | |method |101 |101 |= |95.05 |4.95 | |
||
380 | +---------+-------+-----------+-----------+------------+---------+ |
||
381 | |function |15 |15 |= |80.00 |0.00 | |
||
382 | +---------+-------+-----------+-----------+------------+---------+ |
||
383 | |||
384 | |||
385 | |||
386 | Messages by category |
||
387 | -------------------- |
||
388 | |||
389 | +-----------+-------+---------+-----------+ |
||
390 | |type |number |previous |difference | |
||
391 | +===========+=======+=========+===========+ |
||
392 | |convention |59 |59 |= | |
||
393 | +-----------+-------+---------+-----------+ |
||
394 | |refactor |52 |52 |= | |
||
395 | +-----------+-------+---------+-----------+ |
||
396 | |warning |72 |72 |= | |
||
397 | +-----------+-------+---------+-----------+ |
||
398 | |error |26 |26 |= | |
||
399 | +-----------+-------+---------+-----------+ |
||
400 | |||
401 | |||
402 | |||
403 | % errors / warnings by module |
||
404 | ----------------------------- |
||
405 | |||
406 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
407 | |module |error |warning |refactor |convention | |
||
408 | +=====================================================+======+========+=========+===========+ |
||
409 | |vigiboard.tests.models.test_auth |15.38 |4.17 |3.85 |0.00 | |
||
410 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
411 | |vigiboard.tests.functional.test_root |15.38 |1.39 |0.00 |3.39 | |
||
412 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
413 | |vigiboard.tests.functional.test_authentication |15.38 |1.39 |0.00 |1.69 | |
||
414 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
415 | |vigiboard.tests.models.test_vigiboard |11.54 |19.44 |25.00 |0.00 | |
||
416 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
417 | |vigiboard.tests.functional.test_vigiboardrequest |7.69 |2.78 |1.92 |1.69 | |
||
418 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
419 | |vigiboard.config.app_cfg |7.69 |2.78 |0.00 |0.00 | |
||
420 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
421 | |ui_dialog |7.69 |1.39 |1.92 |0.00 | |
||
422 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
423 | |vigiboard.tests.functional.test_userutils |7.69 |1.39 |0.00 |1.69 | |
||
424 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
425 | |vigiboard.model.auth |3.85 |6.94 |3.85 |1.69 | |
||
426 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
427 | |vigiboard.controllers.template |3.85 |2.78 |1.92 |0.00 | |
||
428 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
429 | |vigiboard.tests.models.__init__ |3.85 |1.39 |0.00 |10.17 | |
||
430 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
431 | |vigiboard.lib.base |0.00 |9.72 |1.92 |0.00 | |
||
432 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
433 | |ez_setup.__init__ |0.00 |8.33 |0.00 |38.98 | |
||
434 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
435 | |vigiboard.lib.helpers |0.00 |8.33 |0.00 |0.00 | |
||
436 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
437 | |vigiboard.controllers.vigiboard_ctl.vigiboard_ctl |0.00 |4.17 |3.85 |0.00 | |
||
438 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
439 | |vigiboard.websetup |0.00 |4.17 |0.00 |1.69 | |
||
440 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
441 | |vigiboard.controllers.root |0.00 |4.17 |0.00 |0.00 | |
||
442 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
443 | |vigiboard.controllers.vigiboard_ctl.vigiboardrequest |0.00 |2.78 |7.69 |0.00 | |
||
444 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
445 | |vigiboard.widgets.edit_event |0.00 |2.78 |3.85 |0.00 | |
||
446 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
447 | |vigiboard.controllers.error |0.00 |2.78 |1.92 |0.00 | |
||
448 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
449 | |vigiboard.config.middleware |0.00 |2.78 |0.00 |0.00 | |
||
450 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
451 | |vigiboard.model.vigiboard_bdd.events |0.00 |1.39 |5.77 |0.00 | |
||
452 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
453 | |bootstrap |0.00 |1.39 |1.92 |13.56 | |
||
454 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
455 | |vigiboard.controllers.secure |0.00 |1.39 |0.00 |1.69 | |
||
456 | +-----------------------------------------------------+------+--------+---------+-----------+ |
||
457 | |||
458 | |||
459 | |||
460 | Messages |
||
461 | -------- |
||
462 | |||
463 | +-----------+-----------+ |
||
464 | |message id |occurences | |
||
465 | +===========+===========+ |
||
466 | |R0903 |40 | |
||
467 | +-----------+-----------+ |
||
468 | |W0232 |33 | |
||
469 | +-----------+-----------+ |
||
470 | |C0103 |24 | |
||
471 | +-----------+-----------+ |
||
472 | |E1101 |23 | |
||
473 | +-----------+-----------+ |
||
474 | |W0611 |14 | |
||
475 | +-----------+-----------+ |
||
476 | |C0111 |12 | |
||
477 | +-----------+-----------+ |
||
478 | |W0613 |11 | |
||
479 | +-----------+-----------+ |
||
480 | |C0301 |9 | |
||
481 | +-----------+-----------+ |
||
482 | |R0913 |6 | |
||
483 | +-----------+-----------+ |
||
484 | |C0321 |6 | |
||
485 | +-----------+-----------+ |
||
486 | |R0902 |4 | |
||
487 | +-----------+-----------+ |
||
488 | |C0323 |4 | |
||
489 | +-----------+-----------+ |
||
490 | |W0404 |3 | |
||
491 | +-----------+-----------+ |
||
492 | |C0324 |3 | |
||
493 | +-----------+-----------+ |
||
494 | |W0622 |2 | |
||
495 | +-----------+-----------+ |
||
496 | |W0612 |2 | |
||
497 | +-----------+-----------+ |
||
498 | |W1001 |1 | |
||
499 | +-----------+-----------+ |
||
500 | |W0702 |1 | |
||
501 | +-----------+-----------+ |
||
502 | |W0621 |1 | |
||
503 | +-----------+-----------+ |
||
504 | |W0511 |1 | |
||
505 | +-----------+-----------+ |
||
506 | |W0312 |1 | |
||
507 | +-----------+-----------+ |
||
508 | |W0201 |1 | |
||
509 | +-----------+-----------+ |
||
510 | |W0122 |1 | |
||
511 | +-----------+-----------+ |
||
512 | |R0914 |1 | |
||
513 | +-----------+-----------+ |
||
514 | |R0401 |1 | |
||
515 | +-----------+-----------+ |
||
516 | |E1102 |1 | |
||
517 | +-----------+-----------+ |
||
518 | |E1002 |1 | |
||
519 | +-----------+-----------+ |
||
520 | |E0602 |1 | |
||
521 | +-----------+-----------+ |
||
522 | |C0322 |1 | |
||
523 | +-----------+-----------+ |
||
524 | |||
525 | |||
526 | |||
527 | Global evaluation |
||
528 | ----------------- |
||
529 | Your code has been rated at 7.57/10 (previous run: 7.57/10) |