(view as text)
No config file found, using default configuration
************* Module opensrf
src/python/opensrf.py:90: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
config_file = config_file, config_context = config_ctx)
^
src/python/opensrf.py:90: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
config_file = config_file, config_context = config_ctx)
^
src/python/opensrf.py:112: [C0325(superfluous-parens), ] Unnecessary parens after 'in' keyword
src/python/opensrf.py:84: [W0603(global-statement), do_init] Using the global statement
src/python/opensrf.py:84: [C0103(invalid-name), do_init] Invalid constant name "domain"
src/python/opensrf.py:85: [W0603(global-statement), do_init] Using the global statement
src/python/opensrf.py:85: [C0103(invalid-name), do_init] Invalid constant name "settings"
src/python/opensrf.py:162: [W0212(protected-access), do_start] Access to a protected member _exit of a client class
src/python/opensrf.py:131: [W0612(unused-variable), do_start] Unused variable 'alive'
src/python/opensrf.py:177: [W0603(global-statement), do_start_all] Using the global statement
src/python/opensrf.py:177: [C0103(invalid-name), do_start_all] Invalid constant name "as_daemon"
src/python/opensrf.py:211: [W0702(bare-except), do_stop] No exception type(s) specified
src/python/opensrf.py:218: [C0103(invalid-name), ] Invalid constant name "ops"
src/python/opensrf.py:218: [C0103(invalid-name), ] Invalid constant name "args"
src/python/opensrf.py:220: [C0103(invalid-name), ] Invalid constant name "ops"
src/python/opensrf.py:220: [C0103(invalid-name), ] Invalid constant name "args"
src/python/opensrf.py:221: [C0103(invalid-name), ] Invalid variable name "e"
src/python/opensrf.py:225: [C0103(invalid-name), ] Invalid constant name "options"
src/python/opensrf.py:230: [C0103(invalid-name), ] Invalid constant name "action"
src/python/opensrf.py:232: [C0103(invalid-name), ] Invalid constant name "config_file"
src/python/opensrf.py:233: [C0103(invalid-name), ] Invalid constant name "pid_dir"
src/python/opensrf.py:235: [C0103(invalid-name), ] Invalid constant name "service_name"
src/python/opensrf.py:236: [C0103(invalid-name), ] Invalid constant name "config_ctx"
src/python/opensrf.py:237: [C0103(invalid-name), ] Invalid constant name "as_localhost"
src/python/opensrf.py:238: [C0103(invalid-name), ] Invalid constant name "as_daemon"
src/python/opensrf.py:240: [C0103(invalid-name), ] Invalid constant name "domain"
src/python/opensrf.py:241: [C0103(invalid-name), ] Invalid constant name "settings"
src/python/opensrf.py:242: [C0103(invalid-name), ] Invalid constant name "services"
************* Module osrf.app
src/python/osrf/app.py:192: [W0511(fixme), ] XXX parse me
src/python/osrf/app.py:193: [W0511(fixme), ] XXX parse me
src/python/osrf/app.py:17: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/app.py:40: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/app.py:45: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/app.py:69: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/app.py:95: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/app.py:96: [C0326(bad-whitespace), ] Exactly one space required after assignment
kwargs['api_name'] += '.atomic'
^^
src/python/osrf/app.py:112: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/app.py:125: [C0301(line-too-long), ] Line too long (103/100)
src/python/osrf/app.py:128: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/app.py:142: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
api_name = 'opensrf.system.time',
^
src/python/osrf/app.py:143: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
method = 'sysmethod_time',
^
src/python/osrf/app.py:144: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
argc = 0,
^
src/python/osrf/app.py:146: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/app.py:148: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
api_name = 'opensrf.system.method',
^
src/python/osrf/app.py:149: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
method = 'sysmethod_introspect',
^
src/python/osrf/app.py:150: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
argc = 0,
^
src/python/osrf/app.py:151: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
stream = True
^
src/python/osrf/app.py:155: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
api_name = 'opensrf.system.method.all',
^
src/python/osrf/app.py:156: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
method = 'sysmethod_introspect',
^
src/python/osrf/app.py:157: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
argc = 0,
^
src/python/osrf/app.py:158: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
stream = True
^
src/python/osrf/app.py:162: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
api_name = 'opensrf.system.echo',
^
src/python/osrf/app.py:163: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
method = 'sysmethod_echo',
^
src/python/osrf/app.py:164: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
argc = 1,
^
src/python/osrf/app.py:165: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
stream = True
^
src/python/osrf/app.py:178: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/app.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/app.py:25: [C0111(missing-docstring), Method] Missing class docstring
src/python/osrf/app.py:81: [W0703(broad-except), Application.load] Catching too general exception Exception
src/python/osrf/app.py:80: [W0122(exec-used), Application.load] Use of exec
src/python/osrf/app.py:81: [C0103(invalid-name), Application.load] Invalid variable name "e"
src/python/osrf/app.py:92: [C0111(missing-docstring), Application.register_method] Missing method docstring
src/python/osrf/app.py:124: [W0703(broad-except), Application.handle_request] Catching too general exception Exception
src/python/osrf/app.py:124: [C0103(invalid-name), Application.handle_request] Invalid variable name "e"
src/python/osrf/app.py:128: [E1101(no-member), Application.handle_request] Class 'NetworkObject' has no 'osrfMethodException' member
src/python/osrf/app.py:168: [W0613(unused-argument), Application.sysmethod_time] Unused argument 'request'
src/python/osrf/app.py:168: [R0201(no-self-use), Application.sysmethod_time] Method could be a function
src/python/osrf/app.py:174: [C0103(invalid-name), Application.sysmethod_echo] Invalid variable name "a"
src/python/osrf/app.py:172: [R0201(no-self-use), Application.sysmethod_echo] Method could be a function
************* Module osrf.cache
src/python/osrf/cache.py:21: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/cache.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/cache.py:8: [W0105(pointless-string-statement), ] String statement has no effect
src/python/osrf/cache.py:10: [C0103(invalid-name), ] Invalid constant name "_client"
src/python/osrf/cache.py:11: [C0103(invalid-name), ] Invalid constant name "defaultTimeout"
src/python/osrf/cache.py:13: [C0111(missing-docstring), CacheException] Missing class docstring
src/python/osrf/cache.py:14: [W0231(super-init-not-called), CacheException.__init__] __init__ method from base class 'Exception' is not called
src/python/osrf/cache.py:19: [C0111(missing-docstring), CacheClient] Missing class docstring
src/python/osrf/cache.py:25: [W0602(global-variable-not-assigned), CacheClient.__init__] Using global for '_client' but no assignment is done
src/python/osrf/cache.py:25: [C0103(invalid-name), CacheClient.__init__] Invalid constant name "_client"
src/python/osrf/cache.py:36: [C0111(missing-docstring), CacheClient.put] Missing method docstring
src/python/osrf/cache.py:37: [W0602(global-variable-not-assigned), CacheClient.put] Using global for 'defaultTimeout' but no assignment is done
src/python/osrf/cache.py:37: [C0103(invalid-name), CacheClient.put] Invalid constant name "defaultTimeout"
src/python/osrf/cache.py:45: [C0111(missing-docstring), CacheClient.get] Missing method docstring
src/python/osrf/cache.py:50: [C0111(missing-docstring), CacheClient.delete] Missing method docstring
src/python/osrf/cache.py:55: [C0111(missing-docstring), CacheClient.connect] Missing method docstring
src/python/osrf/cache.py:56: [W0603(global-statement), CacheClient.connect] Using the global statement
src/python/osrf/cache.py:56: [C0103(invalid-name), CacheClient.connect] Invalid constant name "_client"
src/python/osrf/cache.py:61: [C0111(missing-docstring), CacheClient.get_client] Missing method docstring
src/python/osrf/cache.py:62: [W0602(global-variable-not-assigned), CacheClient.get_client] Using global for '_client' but no assignment is done
src/python/osrf/cache.py:62: [C0103(invalid-name), CacheClient.get_client] Invalid constant name "_client"
************* Module osrf.conf
src/python/osrf/conf.py:4: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/conf.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/conf.py:28: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/conf.py:36: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/conf.py:58: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/conf.py:62: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/conf.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/conf.py:27: [W0622(redefined-builtin), Config.__init__] Redefining built-in 'file'
src/python/osrf/conf.py:33: [C0111(missing-docstring), Config.parse_config] Missing method docstring
src/python/osrf/conf.py:37: [C0111(missing-docstring), Config.get_value] Missing method docstring
src/python/osrf/conf.py:70: [W0702(bare-except), get_no_ex] No exception type(s) specified
************* Module osrf.const
src/python/osrf/const.py:4: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/const.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/const.py:36: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_APP_SESSION_CONNECTED = 0
^
src/python/osrf/const.py:37: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_APP_SESSION_CONNECTING = 1
^
src/python/osrf/const.py:44: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/const.py:44: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_MESSAGE_TYPE_STATUS = 'STATUS'
^
src/python/osrf/const.py:45: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_MESSAGE_TYPE_RESULT = 'RESULT'
^
src/python/osrf/const.py:52: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_CONTINUE = 100
^
src/python/osrf/const.py:53: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_OK = 200
^
src/python/osrf/const.py:54: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_ACCEPTED = 202
^
src/python/osrf/const.py:55: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_COMPLETE = 205
^
src/python/osrf/const.py:56: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_REDIRECTED = 307
^
src/python/osrf/const.py:57: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_BADREQUEST = 400
^
src/python/osrf/const.py:58: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_UNAUTHORIZED = 401
^
src/python/osrf/const.py:59: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_FORBIDDEN = 403
^
src/python/osrf/const.py:60: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_NOTFOUND = 404
^
src/python/osrf/const.py:61: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_NOTALLOWED = 405
^
src/python/osrf/const.py:62: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_TIMEOUT = 408
^
src/python/osrf/const.py:63: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_EXPFAILED = 417
^
src/python/osrf/const.py:64: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_INTERNALSERVERERROR = 500
^
src/python/osrf/const.py:65: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_NOTIMPLEMENTED = 501
^
src/python/osrf/const.py:66: [C0326(bad-whitespace), ] Exactly one space required before assignment
OSRF_STATUS_VERSIONNOTSUPPORTED = 505
^
src/python/osrf/const.py:1: [C0111(missing-docstring), ] Missing module docstring
************* Module osrf.ex
src/python/osrf/ex.py:4: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ex.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ex.py:14: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ex.py:16: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ex.py:46: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ex.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/ex.py:22: [W0231(super-init-not-called), OSRFException.__init__] __init__ method from base class 'Exception' is not called
src/python/osrf/ex.py:28: [C0111(missing-docstring), NetworkException] Missing class docstring
src/python/osrf/ex.py:44: [C0111(missing-docstring), OSRFNetworkObjectException] Missing class docstring
************* Module osrf.gateway
src/python/osrf/gateway.py:26: [C0326(bad-whitespace), ] Exactly one space required after assignment
response =urllib2.urlopen(request)
^
src/python/osrf/gateway.py:31: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/gateway.py:36: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/gateway.py:121: [W0301(unnecessary-semicolon), ] Unnecessary semicolon
src/python/osrf/gateway.py:132: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/gateway.py:144: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/gateway.py:193: [W0301(unnecessary-semicolon), ] Unnecessary semicolon
src/python/osrf/gateway.py:226: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/gateway.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/gateway.py:8: [C0103(invalid-name), ] Invalid constant name "defaultHost"
src/python/osrf/gateway.py:10: [C0111(missing-docstring), GatewayRequest] Missing class docstring
src/python/osrf/gateway.py:10: [C1001(old-style-class), GatewayRequest] Old-style class defined.
src/python/osrf/gateway.py:11: [W0102(dangerous-default-value), GatewayRequest.__init__] Dangerous default value [] as argument
src/python/osrf/gateway.py:18: [C0103(invalid-name), GatewayRequest.setPath] Invalid method name "setPath"
src/python/osrf/gateway.py:18: [C0111(missing-docstring), GatewayRequest.setPath] Missing method docstring
src/python/osrf/gateway.py:21: [C0111(missing-docstring), GatewayRequest.send] Missing method docstring
src/python/osrf/gateway.py:27: [C0103(invalid-name), GatewayRequest.send] Invalid variable name "e"
src/python/osrf/gateway.py:32: [E1101(no-member), GatewayRequest.send] Instance of 'GatewayRequest' has no 'handleResponse' member
src/python/osrf/gateway.py:34: [C0103(invalid-name), GatewayRequest.buildPOSTParams] Invalid method name "buildPOSTParams"
src/python/osrf/gateway.py:34: [C0111(missing-docstring), GatewayRequest.buildPOSTParams] Missing method docstring
src/python/osrf/gateway.py:39: [E1101(no-member), GatewayRequest.buildPOSTParams] Instance of 'GatewayRequest' has no 'getFormat' member
src/python/osrf/gateway.py:40: [E1101(no-member), GatewayRequest.buildPOSTParams] Instance of 'GatewayRequest' has no 'getInputFormat' member
src/python/osrf/gateway.py:43: [C0103(invalid-name), GatewayRequest.buildPOSTParams] Invalid variable name "p"
src/python/osrf/gateway.py:44: [E1101(no-member), GatewayRequest.buildPOSTParams] Instance of 'GatewayRequest' has no 'encodeParam' member
src/python/osrf/gateway.py:47: [C0103(invalid-name), GatewayRequest.setDefaultHost] Invalid method name "setDefaultHost"
src/python/osrf/gateway.py:47: [C0111(missing-docstring), GatewayRequest.setDefaultHost] Missing method docstring
src/python/osrf/gateway.py:48: [W0603(global-statement), GatewayRequest.setDefaultHost] Using the global statement
src/python/osrf/gateway.py:48: [C0103(invalid-name), GatewayRequest.setDefaultHost] Invalid constant name "defaultHost"
src/python/osrf/gateway.py:52: [C0103(invalid-name), GatewayRequest.buildURL] Invalid method name "buildURL"
src/python/osrf/gateway.py:67: [C0111(missing-docstring), JSONGatewayRequest] Missing class docstring
src/python/osrf/gateway.py:71: [C0103(invalid-name), JSONGatewayRequest.getFormat] Invalid method name "getFormat"
src/python/osrf/gateway.py:71: [C0111(missing-docstring), JSONGatewayRequest.getFormat] Missing method docstring
src/python/osrf/gateway.py:71: [R0201(no-self-use), JSONGatewayRequest.getFormat] Method could be a function
src/python/osrf/gateway.py:74: [C0103(invalid-name), JSONGatewayRequest.getInputFormat] Invalid method name "getInputFormat"
src/python/osrf/gateway.py:74: [C0111(missing-docstring), JSONGatewayRequest.getInputFormat] Missing method docstring
src/python/osrf/gateway.py:77: [C0103(invalid-name), JSONGatewayRequest.handleResponse] Invalid method name "handleResponse"
src/python/osrf/gateway.py:77: [C0111(missing-docstring), JSONGatewayRequest.handleResponse] Missing method docstring
src/python/osrf/gateway.py:89: [C0103(invalid-name), JSONGatewayRequest.handleResponse] Invalid variable name "p"
src/python/osrf/gateway.py:90: [C0321(multiple-statements), JSONGatewayRequest.handleResponse] More than one statement on a single line
src/python/osrf/gateway.py:91: [C0321(multiple-statements), JSONGatewayRequest.handleResponse] More than one statement on a single line
src/python/osrf/gateway.py:94: [C0103(invalid-name), JSONGatewayRequest.encodeParam] Invalid method name "encodeParam"
src/python/osrf/gateway.py:94: [C0111(missing-docstring), JSONGatewayRequest.encodeParam] Missing method docstring
src/python/osrf/gateway.py:94: [R0201(no-self-use), JSONGatewayRequest.encodeParam] Method could be a function
src/python/osrf/gateway.py:97: [C0111(missing-docstring), XMLGatewayRequest] Missing class docstring
src/python/osrf/gateway.py:102: [C0103(invalid-name), XMLGatewayRequest.getFormat] Invalid method name "getFormat"
src/python/osrf/gateway.py:102: [C0111(missing-docstring), XMLGatewayRequest.getFormat] Missing method docstring
src/python/osrf/gateway.py:102: [R0201(no-self-use), XMLGatewayRequest.getFormat] Method could be a function
src/python/osrf/gateway.py:105: [C0103(invalid-name), XMLGatewayRequest.getInputFormat] Invalid method name "getInputFormat"
src/python/osrf/gateway.py:105: [C0111(missing-docstring), XMLGatewayRequest.getInputFormat] Missing method docstring
src/python/osrf/gateway.py:109: [W0621(redefined-outer-name), XMLGatewayRequest.handleResponse] Redefining name 'handler' from outer scope (line 2)
src/python/osrf/gateway.py:108: [C0103(invalid-name), XMLGatewayRequest.handleResponse] Invalid method name "handleResponse"
src/python/osrf/gateway.py:108: [C0111(missing-docstring), XMLGatewayRequest.handleResponse] Missing method docstring
src/python/osrf/gateway.py:114: [W0703(broad-except), XMLGatewayRequest.handleResponse] Catching too general exception Exception
src/python/osrf/gateway.py:114: [C0103(invalid-name), XMLGatewayRequest.handleResponse] Invalid variable name "e"
src/python/osrf/gateway.py:108: [R0201(no-self-use), XMLGatewayRequest.handleResponse] Method could be a function
src/python/osrf/gateway.py:120: [C0103(invalid-name), XMLGatewayRequest.encodeParam] Invalid method name "encodeParam"
src/python/osrf/gateway.py:120: [C0111(missing-docstring), XMLGatewayRequest.encodeParam] Missing method docstring
src/python/osrf/gateway.py:120: [R0201(no-self-use), XMLGatewayRequest.encodeParam] Method could be a function
src/python/osrf/gateway.py:132: [C0103(invalid-name), XMLGatewayParser.__init__] Invalid attribute name "charsPending"
src/python/osrf/gateway.py:128: [C0103(invalid-name), XMLGatewayParser.__init__] Invalid attribute name "keyStack"
src/python/osrf/gateway.py:129: [C0103(invalid-name), XMLGatewayParser.__init__] Invalid attribute name "posStack"
src/python/osrf/gateway.py:127: [C0103(invalid-name), XMLGatewayParser.__init__] Invalid attribute name "objStack"
src/python/osrf/gateway.py:123: [C0111(missing-docstring), XMLGatewayParser] Missing class docstring
src/python/osrf/gateway.py:125: [W0231(super-init-not-called), XMLGatewayParser.__init__] __init__ method from base class 'ContentHandler' is not called
src/python/osrf/gateway.py:134: [C0103(invalid-name), XMLGatewayParser.getResult] Invalid method name "getResult"
src/python/osrf/gateway.py:134: [C0111(missing-docstring), XMLGatewayParser.getResult] Missing method docstring
src/python/osrf/gateway.py:137: [C0103(invalid-name), XMLGatewayParser.__getAttr] Invalid method name "__getAttr"
src/python/osrf/gateway.py:137: [C0111(missing-docstring), XMLGatewayParser.__getAttr] Missing method docstring
src/python/osrf/gateway.py:138: [C0103(invalid-name), XMLGatewayParser.__getAttr] Invalid variable name "v"
src/python/osrf/gateway.py:137: [R0201(no-self-use), XMLGatewayParser.__getAttr] Method could be a function
src/python/osrf/gateway.py:143: [R0911(too-many-return-statements), XMLGatewayParser.startElement] Too many return statements (7/6)
src/python/osrf/gateway.py:188: [C0103(invalid-name), XMLGatewayParser.appendChild] Invalid method name "appendChild"
src/python/osrf/gateway.py:188: [C0111(missing-docstring), XMLGatewayParser.appendChild] Missing method docstring
src/python/osrf/gateway.py:193: [C0321(multiple-statements), XMLGatewayParser.appendChild] More than one statement on a single line
src/python/osrf/gateway.py:1: [W0611(unused-import), ] Unused minidom imported from xml.dom
src/python/osrf/gateway.py:2: [W0611(unused-import), ] Unused saxutils imported from xml.sax
src/python/osrf/gateway.py:6: [W0611(unused-import), ] Unused import re
************* Module osrf.http_translator
src/python/osrf/http_translator.py:248: [W0511(fixme), ] XXX auth token?
src/python/osrf/http_translator.py:8: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:51: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:55: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:60: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:88: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:102: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:111: [C0301(line-too-long), ] Line too long (102/100)
src/python/osrf/http_translator.py:119: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:122: [C0326(bad-whitespace), ] Exactly one space required after comma
for k,v in apreq.headers_in.iteritems():
^
src/python/osrf/http_translator.py:131: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:162: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:190: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:192: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:196: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:215: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:230: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:245: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:259: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:260: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:275: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:282: [C0330(bad-continuation), ] Wrong continued indentation.
"[%s] without a session" % (self.remote_host, self.recipient))
^ |
src/python/osrf/http_translator.py:285: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:299: [C0330(bad-continuation), ] Wrong continued indentation.
" drone [%s]" % (self.thread, self.remote_host, net_msg.sender))
^ |
src/python/osrf/http_translator.py:303: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:304: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:308: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:320: [C0330(bad-continuation), ] Wrong continued indentation.
"dropping TIMEOUT message" % net_msg.thread)
^ |
src/python/osrf/http_translator.py:322: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:348: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/http_translator.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/http_translator.py:2: [F0401(import-error), ] Unable to import 'mod_python'
src/python/osrf/http_translator.py:23: [W0105(pointless-string-statement), ] String statement has no effect
src/python/osrf/http_translator.py:60: [W0621(redefined-outer-name), child_init] Redefining name 'osrf' from outer scope (line 3)
src/python/osrf/http_translator.py:54: [W0603(global-statement), child_init] Using the global statement
src/python/osrf/http_translator.py:60: [W0404(reimported), child_init] Reimport 'osrf.system' (imported line 3)
src/python/osrf/http_translator.py:105: [C0111(missing-docstring), HTTPTranslator] Missing class docstring
src/python/osrf/http_translator.py:105: [R0902(too-many-instance-attributes), HTTPTranslator] Too many instance attributes (16/7)
src/python/osrf/http_translator.py:122: [C0103(invalid-name), HTTPTranslator.__init__] Invalid variable name "v"
src/python/osrf/http_translator.py:131: [W0703(broad-except), HTTPTranslator.__init__] Catching too general exception Exception
src/python/osrf/http_translator.py:131: [C0103(invalid-name), HTTPTranslator.__init__] Invalid variable name "e"
src/python/osrf/http_translator.py:160: [C0111(missing-docstring), HTTPTranslator.process] Missing method docstring
src/python/osrf/http_translator.py:160: [R0911(too-many-return-statements), HTTPTranslator.process] Too many return statements (8/6)
src/python/osrf/http_translator.py:160: [R0912(too-many-branches), HTTPTranslator.process] Too many branches (16/12)
src/python/osrf/http_translator.py:286: [C0111(missing-docstring), HTTPTranslator.init_headers] Missing method docstring
************* Module osrf.json
src/python/osrf/json.py:33: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/json.py:36: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/json.py:39: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/json.py:62: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/json.py:71: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/json.py:161: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/json.py:187: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/json.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/json.py:9: [C0103(invalid-name), ] Invalid constant name "_use_cjson"
src/python/osrf/json.py:11: [C0103(invalid-name), ] Invalid constant name "_use_cjson"
src/python/osrf/json.py:13: [C0103(invalid-name), ] Invalid constant name "_use_cjson"
src/python/osrf/json.py:18: [E0202(method-hidden), NetworkEncoder.default] An attribute defined in simplejson.encoder line 225 hides this method
************* Module osrf.log
src/python/osrf/log.py:4: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/log.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/log.py:36: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/log.py:41: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/log.py:51: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/log.py:63: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/log.py:66: [C0326(bad-whitespace), ] Exactly one space required after assignment
_xid = ''
^
src/python/osrf/log.py:101: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/log.py:121: [C0301(line-too-long), ] Line too long (120/100)
src/python/osrf/log.py:171: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/log.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/log.py:28: [C0103(invalid-name), ] Invalid constant name "_xid"
src/python/osrf/log.py:29: [C0103(invalid-name), ] Invalid constant name "_xid_pfx"
src/python/osrf/log.py:30: [C0103(invalid-name), ] Invalid constant name "_xid_ctr"
src/python/osrf/log.py:31: [C0103(invalid-name), ] Invalid constant name "_xid_is_client"
src/python/osrf/log.py:36: [W0603(global-statement), initialize] Using the global statement
src/python/osrf/log.py:36: [C0103(invalid-name), initialize] Invalid constant name "_xid_is_client"
src/python/osrf/log.py:43: [W0612(unused-variable), initialize] Unused variable 'syslog'
src/python/osrf/log.py:56: [C0111(missing-docstring), make_xid] Missing function docstring
src/python/osrf/log.py:57: [W0602(global-variable-not-assigned), make_xid] Using global for '_xid_is_client' but no assignment is done
src/python/osrf/log.py:57: [C0103(invalid-name), make_xid] Invalid constant name "_xid"
src/python/osrf/log.py:57: [C0103(invalid-name), make_xid] Invalid constant name "_xid_pfx"
src/python/osrf/log.py:57: [C0103(invalid-name), make_xid] Invalid constant name "_xid_is_client"
src/python/osrf/log.py:57: [C0103(invalid-name), make_xid] Invalid constant name "_xid_ctr"
src/python/osrf/log.py:64: [C0111(missing-docstring), clear_xid] Missing function docstring
src/python/osrf/log.py:65: [W0603(global-statement), clear_xid] Using the global statement
src/python/osrf/log.py:65: [C0103(invalid-name), clear_xid] Invalid constant name "_xid"
src/python/osrf/log.py:68: [C0111(missing-docstring), set_xid] Missing function docstring
src/python/osrf/log.py:69: [W0603(global-statement), set_xid] Using the global statement
src/python/osrf/log.py:69: [C0103(invalid-name), set_xid] Invalid constant name "_xid"
src/python/osrf/log.py:72: [C0111(missing-docstring), get_xid] Missing function docstring
src/python/osrf/log.py:78: [C0111(missing-docstring), log_internal] Missing function docstring
src/python/osrf/log.py:80: [C0111(missing-docstring), log_debug] Missing function docstring
src/python/osrf/log.py:82: [C0111(missing-docstring), log_info] Missing function docstring
src/python/osrf/log.py:84: [C0111(missing-docstring), log_warn] Missing function docstring
src/python/osrf/log.py:86: [C0111(missing-docstring), log_error] Missing function docstring
src/python/osrf/log.py:88: [C0111(missing-docstring), log_activity] Missing function docstring
src/python/osrf/log.py:93: [W0602(global-variable-not-assigned), __log] Using global for 'LOG_LEVEL' but no assignment is done
src/python/osrf/log.py:93: [W0602(global-variable-not-assigned), __log] Using global for 'LOG_TYPE' but no assignment is done
src/python/osrf/log.py:97: [W0702(bare-except), __log] No exception type(s) specified
src/python/osrf/log.py:102: [C0321(multiple-statements), __log] More than one statement on a single line
src/python/osrf/log.py:105: [C0103(invalid-name), __log] Invalid variable name "tb"
src/python/osrf/log.py:106: [C0103(invalid-name), __log] Invalid variable name "tb"
src/python/osrf/log.py:96: [W0612(unused-variable), __log] Unused variable 'syslog'
src/python/osrf/log.py:153: [W0603(global-statement), __log_file] Using the global statement
src/python/osrf/log.py:162: [W0702(bare-except), __log_file] No exception type(s) specified
************* Module osrf.net_obj
src/python/osrf/net_obj.py:14: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:17: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:25: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:83: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:87: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:98: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:100: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:100: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:132: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:134: [C0326(bad-whitespace), ] No space allowed before comma
setattr(NetworkObject, hint , cls)
^
src/python/osrf/net_obj.py:144: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:154: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:163: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:167: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:169: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:176: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:215: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:235: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:277: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net_obj.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/net_obj.py:27: [C0111(missing-docstring), NetworkRegistry.get_registry] Missing method docstring
src/python/osrf/net_obj.py:11: [R0903(too-few-public-methods), NetworkRegistry] Too few public methods (1/2)
src/python/osrf/net_obj.py:45: [C0321(multiple-statements), NetworkObject.__init__] More than one statement on a single line
src/python/osrf/net_obj.py:66: [C0111(missing-docstring), NetworkObject.set_field] Missing method docstring
src/python/osrf/net_obj.py:69: [C0111(missing-docstring), NetworkObject.get_field] Missing method docstring
src/python/osrf/net_obj.py:81: [W0212(protected-access), NetworkObject.shallow_clone] Access to a protected member _data of a client class
src/python/osrf/net_obj.py:92: [W0122(exec-used), new_object_from_hint] Use of exec
src/python/osrf/net_obj.py:95: [E1101(no-member), new_object_from_hint] Class 'NetworkObject' has no '__unknown' member
src/python/osrf/net_obj.py:95: [W0212(protected-access), new_object_from_hint] Access to a protected member __unknown of a client class
src/python/osrf/net_obj.py:101: [C0111(missing-docstring), __make_network_accessor.accessor] Missing function docstring
src/python/osrf/net_obj.py:103: [W0212(protected-access), __make_network_accessor.accessor] Access to a protected member _data of a client class
src/python/osrf/net_obj.py:104: [W0212(protected-access), __make_network_accessor.accessor] Access to a protected member _data of a client class
src/python/osrf/net_obj.py:108: [W0622(redefined-builtin), register_hint] Redefining built-in 'type'
src/python/osrf/net_obj.py:122: [W0122(exec-used), register_hint] Use of exec
src/python/osrf/net_obj.py:126: [W0122(exec-used), register_hint] Use of exec
src/python/osrf/net_obj.py:146: [C0111(missing-docstring), parse_net_object] Missing function docstring
src/python/osrf/net_obj.py:176: [W0122(exec-used), parse_net_object] Use of exec
src/python/osrf/net_obj.py:196: [R0911(too-many-return-statements), __to_xml] Too many return statements (7/6)
src/python/osrf/net_obj.py:196: [R0912(too-many-branches), __to_xml] Too many branches (15/12)
src/python/osrf/net_obj.py:275: [W0702(bare-except), find_object_path] No exception type(s) specified
************* Module osrf.net
src/python/osrf/net.py:4: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:38: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:107: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:125: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:138: [C0330(bad-continuation), ] Wrong continued indentation.
"port=%s, username=%s" % (self.jid.as_utf8(), args['host'], \
^ |
src/python/osrf/net.py:158: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:179: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:182: [C0326(bad-whitespace), ] Exactly one space required around comparison
if stanza.get_type()=="headline":
^^
src/python/osrf/net.py:185: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:186: [C0330(bad-continuation), ] Wrong continued indentation.
% (stanza.get_from().as_utf8(), stanza.get_body()))
^ |
src/python/osrf/net.py:195: [C0330(bad-continuation), ] Wrong continued indentation.
% (err.get_condition().name,err.serialize()))
^ |
src/python/osrf/net.py:195: [C0326(bad-whitespace), ] Exactly one space required after comma
% (err.get_condition().name,err.serialize()))
^
src/python/osrf/net.py:203: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:204: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:220: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:220: [W0311(bad-indentation), ] Bad indentation. Found 19 spaces, expected 20
src/python/osrf/net.py:229: [C0330(bad-continuation), ] Wrong continued indentation.
"act=%s, queue size=%d" % (str(endtime), act, len(self.queue)))
^ |
src/python/osrf/net.py:253: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/net.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/net.py:18: [F0401(import-error), ] Unable to import 'pyxmpp.jabber.client'
src/python/osrf/net.py:19: [F0401(import-error), ] Unable to import 'pyxmpp.message'
src/python/osrf/net.py:20: [F0401(import-error), ] Unable to import 'pyxmpp.jid'
src/python/osrf/net.py:45: [C0111(missing-docstring), XMPPNoConnection] Missing class docstring
src/python/osrf/net.py:103: [C0111(missing-docstring), NetworkMessage.from_xml] Missing method docstring
src/python/osrf/net.py:127: [C0111(missing-docstring), Network] Missing class docstring
src/python/osrf/net.py:148: [C0111(missing-docstring), Network.connect] Missing method docstring
src/python/osrf/net.py:151: [E1101(no-member), Network.connect] Instance of 'Network' has no 'get_stream' member
src/python/osrf/net.py:154: [E1101(no-member), Network.connect] Instance of 'Network' has no 'idle' member
src/python/osrf/net.py:162: [C0111(missing-docstring), Network.session_started] Missing method docstring
src/python/osrf/net.py:164: [E1101(no-member), Network.session_started] Instance of 'Network' has no 'authenticated' member
src/python/osrf/net.py:165: [E1101(no-member), Network.session_started] Instance of 'Network' has no 'stream' member
src/python/osrf/net.py:166: [E1101(no-member), Network.session_started] Instance of 'Network' has no 'stream' member
src/python/osrf/net.py:174: [E1101(no-member), Network.send] Instance of 'Network' has no 'stream' member
src/python/osrf/net.py:176: [C0111(missing-docstring), Network.error_received] Missing method docstring
src/python/osrf/net.py:190: [C0111(missing-docstring), Network.stream_closed] Missing method docstring
src/python/osrf/net.py:190: [W0613(unused-argument), Network.stream_closed] Unused argument 'stream'
src/python/osrf/net.py:190: [R0201(no-self-use), Network.stream_closed] Method could be a function
src/python/osrf/net.py:193: [C0111(missing-docstring), Network.stream_error] Missing method docstring
src/python/osrf/net.py:193: [R0201(no-self-use), Network.stream_error] Method could be a function
src/python/osrf/net.py:197: [C0111(missing-docstring), Network.disconnected] Missing method docstring
src/python/osrf/net.py:197: [R0201(no-self-use), Network.disconnected] Method could be a function
src/python/osrf/net.py:218: [E1101(no-member), Network.recv] Instance of 'Network' has no 'get_stream' member
src/python/osrf/net.py:237: [E1101(no-member), Network.recv] Instance of 'Network' has no 'idle' member
src/python/osrf/net.py:251: [C0103(invalid-name), Network.flush_inbound_data] Invalid variable name "cb"
src/python/osrf/net.py:253: [C0321(multiple-statements), Network.flush_inbound_data] More than one statement on a single line
************* Module osrf.server
src/python/osrf/server.py:20: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:29: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:34: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:35: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:52: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:53: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:101: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
resource = '%s_listener' % self.service,
^
src/python/osrf/server.py:102: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
service = self.service
^
src/python/osrf/server.py:105: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:123: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:147: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:154: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:164: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:174: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:175: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:201: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:219: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:227: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:228: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:256: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:269: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:270: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:298: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:336: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
recipient = target,
^
src/python/osrf/server.py:337: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
body = 'registering...',
^
src/python/osrf/server.py:338: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
router_command = 'register',
^
src/python/osrf/server.py:339: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
router_class = self.service
^
src/python/osrf/server.py:350: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
recipient = target,
^
src/python/osrf/server.py:351: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
body = 'un-registering...',
^
src/python/osrf/server.py:352: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
router_command = 'unregister',
^
src/python/osrf/server.py:353: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
router_class = self.service
^
src/python/osrf/server.py:356: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:373: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:461: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:462: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:485: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/server.py:485: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
resource = '%s_drone' % self.controller.service,
^
src/python/osrf/server.py:486: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
service = self.controller.service
^
src/python/osrf/server.py:33: [R0902(too-many-instance-attributes), Controller] Too many instance attributes (13/7)
src/python/osrf/server.py:76: [W0212(protected-access), Controller.cleanup] Access to a protected member _exit of a client class
src/python/osrf/server.py:82: [W0613(unused-argument), Controller.handle_signals.handler] Unused argument 'frame'
src/python/osrf/server.py:82: [W0613(unused-argument), Controller.handle_signals.handler] Unused argument 'signum'
src/python/osrf/server.py:147: [W0703(broad-except), Controller.run] Catching too general exception Exception
src/python/osrf/server.py:162: [W0703(broad-except), Controller.write_child] Catching too general exception Exception
src/python/osrf/server.py:232: [W0612(unused-variable), Controller.reap_children] Unused variable 'status'
src/python/osrf/server.py:261: [W0702(bare-except), Controller.cleanup_child] No exception type(s) specified
src/python/osrf/server.py:264: [W0702(bare-except), Controller.cleanup_child] No exception type(s) specified
src/python/osrf/server.py:308: [W0212(protected-access), Controller.spawn_child] Access to a protected member _exit of a client class
src/python/osrf/server.py:462: [E1101(no-member), Child.keepalive_loop] Class 'NetworkObject' has no 'osrfConnectStatus' member
************* Module osrf.ses
src/python/osrf/ses.py:4: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:28: [C0301(line-too-long), ] Line too long (106/100)
src/python/osrf/ses.py:40: [W0301(unnecessary-semicolon), ] Unnecessary semicolon
src/python/osrf/ses.py:78: [W0301(unnecessary-semicolon), ] Unnecessary semicolon
src/python/osrf/ses.py:79: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:81: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
recipient = self.remote_id,
^
src/python/osrf/ses.py:82: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
body = osrf.json.to_json(omessages),
^
src/python/osrf/ses.py:83: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
thread = self.thread,
^
src/python/osrf/ses.py:84: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
locale = self.locale,
^
src/python/osrf/ses.py:98: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:115: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:116: [C0330(bad-continuation), ] Wrong continued indentation.
str(random.randint(100,100000)), str(time.time()),threading.currentThread().getName().lower())
^ |
src/python/osrf/ses.py:116: [C0301(line-too-long), ] Line too long (106/100)
src/python/osrf/ses.py:116: [C0326(bad-whitespace), ] Exactly one space required after comma
str(random.randint(100,100000)), str(time.time()),threading.currentThread().getName().lower())
^
src/python/osrf/ses.py:116: [C0326(bad-whitespace), ] Exactly one space required after comma
str(random.randint(100,100000)), str(time.time()),threading.currentThread().getName().lower())
^
src/python/osrf/ses.py:119: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:121: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:131: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:134: [C0301(line-too-long), ] Line too long (107/100)
src/python/osrf/ses.py:138: [C0301(line-too-long), ] Line too long (112/100)
src/python/osrf/ses.py:166: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:167: [C0326(bad-whitespace), ] No space allowed after bracket
{ 'threadTrace' : 0,
^
src/python/osrf/ses.py:169: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:177: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:180: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:190: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:191: [C0326(bad-whitespace), ] No space allowed after bracket
{ 'threadTrace' : 0,
^
src/python/osrf/ses.py:193: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:199: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:207: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:212: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:213: [C0301(line-too-long), ] Line too long (109/100)
src/python/osrf/ses.py:241: [C0326(bad-whitespace), ] Exactly one space required before assignment
self.rid = rid # my unique request ID
^
src/python/osrf/ses.py:246: [C0326(bad-whitespace), ] Exactly one space required after assignment
self.complete_time = 0 # time at which the request was completed
^
src/python/osrf/ses.py:251: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:256: [C0326(bad-whitespace), ] Exactly one space required before assignment
self.queue = [] # response queue
^
src/python/osrf/ses.py:265: [C0326(bad-whitespace), ] No space allowed after bracket
method = osrf.net_obj.NetworkObject.osrfMethod( {
^
src/python/osrf/ses.py:268: [C0326(bad-whitespace), ] No space allowed before bracket
} )
^
src/python/osrf/ses.py:271: [C0326(bad-whitespace), ] No space allowed after bracket
message = osrf.net_obj.NetworkObject.osrfMessage( {
^
src/python/osrf/ses.py:276: [C0326(bad-whitespace), ] No space allowed before bracket
} )
^
src/python/osrf/ses.py:283: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:305: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:331: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:353: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:354: [C0326(bad-whitespace), ] No space allowed after bracket
{ 'threadTrace' : thread_trace,
^
src/python/osrf/ses.py:358: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:363: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:370: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:411: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:437: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:444: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:458: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:461: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:462: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:467: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/ses.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/ses.py:38: [W0105(pointless-string-statement), Session] String statement has no effect
src/python/osrf/ses.py:51: [C0111(missing-docstring), Session.find_or_create] Missing method docstring
src/python/osrf/ses.py:57: [C0111(missing-docstring), Session.ingress] Missing method docstring
src/python/osrf/ses.py:62: [C0111(missing-docstring), Session.set_remote_id] Missing method docstring
src/python/osrf/ses.py:66: [R0201(no-self-use), Session.wait] Method could be a function
src/python/osrf/ses.py:94: [R0902(too-many-instance-attributes), ClientSession] Too many instance attributes (8/7)
src/python/osrf/ses.py:127: [C0111(missing-docstring), ClientSession.reset_request_timeout] Missing method docstring
src/python/osrf/ses.py:166: [E1101(no-member), ClientSession.connect] Class 'NetworkObject' has no 'osrfMessage' member
src/python/osrf/ses.py:190: [E1101(no-member), ClientSession.disconnect] Class 'NetworkObject' has no 'osrfMessage' member
src/python/osrf/ses.py:212: [W0703(broad-except), ClientSession.push_response_queue] Catching too general exception Exception
src/python/osrf/ses.py:212: [C0103(invalid-name), ClientSession.push_response_queue] Invalid variable name "e"
src/python/osrf/ses.py:224: [C0111(missing-docstring), ClientSession.atomic_request] Missing method docstring
src/python/osrf/ses.py:238: [C0111(missing-docstring), Request] Missing class docstring
src/python/osrf/ses.py:239: [W0102(dangerous-default-value), Request.__init__] Dangerous default value [] as argument
src/python/osrf/ses.py:239: [R0913(too-many-arguments), Request.__init__] Too many arguments (6/5)
src/python/osrf/ses.py:238: [R0903(too-few-public-methods), Request] Too few public methods (0/2)
src/python/osrf/ses.py:254: [W0102(dangerous-default-value), ClientRequest.__init__] Dangerous default value [] as argument
src/python/osrf/ses.py:254: [R0913(too-many-arguments), ClientRequest.__init__] Too many arguments (6/5)
src/python/osrf/ses.py:265: [E1101(no-member), ClientRequest.send] Class 'NetworkObject' has no 'osrfMethod' member
src/python/osrf/ses.py:271: [E1101(no-member), ClientRequest.send] Class 'NetworkObject' has no 'osrfMessage' member
src/python/osrf/ses.py:292: [C0103(invalid-name), ClientRequest.recv] Invalid variable name "s"
src/python/osrf/ses.py:351: [C0111(missing-docstring), ServerSession.send_status] Missing method docstring
src/python/osrf/ses.py:353: [E1101(no-member), ServerSession.send_status] Class 'NetworkObject' has no 'osrfMessage' member
src/python/osrf/ses.py:362: [C0111(missing-docstring), ServerSession.send_connect_ok] Missing method docstring
src/python/osrf/ses.py:363: [E1101(no-member), ServerSession.send_connect_ok] Class 'NetworkObject' has no 'osrfConnectStatus' member
src/python/osrf/ses.py:369: [C0111(missing-docstring), ServerSession.send_method_not_found] Missing method docstring
src/python/osrf/ses.py:370: [E1101(no-member), ServerSession.send_method_not_found] Class 'NetworkObject' has no 'osrfConnectStatus' member
src/python/osrf/ses.py:377: [W0622(redefined-builtin), ServerSession.run_callback] Redefining built-in 'type'
src/python/osrf/ses.py:377: [C0111(missing-docstring), ServerSession.run_callback] Missing method docstring
src/python/osrf/ses.py:381: [W0622(redefined-builtin), ServerSession.register_callback] Redefining built-in 'type'
src/python/osrf/ses.py:381: [C0111(missing-docstring), ServerSession.register_callback] Missing method docstring
src/python/osrf/ses.py:389: [C0111(missing-docstring), ServerRequest] Missing class docstring
src/python/osrf/ses.py:391: [W0102(dangerous-default-value), ServerRequest.__init__] Dangerous default value [] as argument
src/python/osrf/ses.py:395: [C0111(missing-docstring), ServerRequest._build_response_msg] Missing method docstring
src/python/osrf/ses.py:396: [E1101(no-member), ServerRequest._build_response_msg] Class 'NetworkObject' has no 'osrfResult' member
src/python/osrf/ses.py:402: [E1101(no-member), ServerRequest._build_response_msg] Class 'NetworkObject' has no 'osrfMessage' member
src/python/osrf/ses.py:409: [C0111(missing-docstring), ServerRequest._build_complete_msg] Missing method docstring
src/python/osrf/ses.py:411: [E1101(no-member), ServerRequest._build_complete_msg] Class 'NetworkObject' has no 'osrfConnectStatus' member
src/python/osrf/ses.py:417: [E1101(no-member), ServerRequest._build_complete_msg] Class 'NetworkObject' has no 'osrfMessage' member
src/python/osrf/ses.py:472: [C0103(invalid-name), MultiSession.Container.__init__] Invalid attribute name "id"
src/python/osrf/ses.py:469: [C0111(missing-docstring), MultiSession.Container] Missing class docstring
src/python/osrf/ses.py:469: [R0903(too-few-public-methods), MultiSession.Container] Too few public methods (0/2)
src/python/osrf/ses.py:478: [C0111(missing-docstring), MultiSession.request] Missing method docstring
src/python/osrf/ses.py:497: [C0321(multiple-statements), MultiSession.recv] More than one statement on a single line
src/python/osrf/ses.py:499: [C0321(multiple-statements), MultiSession.recv] More than one statement on a single line
************* Module osrf.set
src/python/osrf/set.py:4: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/set.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/set.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/set.py:20: [C0103(invalid-name), ] Invalid constant name "__config"
src/python/osrf/set.py:22: [C0111(missing-docstring), get] Missing function docstring
src/python/osrf/set.py:23: [W0602(global-variable-not-assigned), get] Using global for '__config' but no assignment is done
src/python/osrf/set.py:23: [C0103(invalid-name), get] Invalid constant name "__config"
src/python/osrf/set.py:30: [C0111(missing-docstring), load] Missing function docstring
src/python/osrf/set.py:31: [W0603(global-statement), load] Using the global statement
src/python/osrf/set.py:31: [C0103(invalid-name), load] Invalid constant name "__config"
************* Module osrf.stack
src/python/osrf/stack.py:4: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/stack.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/stack.py:44: [C0330(bad-continuation), ] Wrong continued indentation.
"type %s" % message.type())
^ |
src/python/osrf/stack.py:65: [C0330(bad-continuation), ] Wrong continued indentation.
"status_code = %d" % status_code)
^ |
src/python/osrf/stack.py:70: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/stack.py:113: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/stack.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/stack.py:19: [C0111(missing-docstring), push] Missing function docstring
src/python/osrf/stack.py:41: [C0111(missing-docstring), handle_message] Missing function docstring
src/python/osrf/stack.py:54: [C0111(missing-docstring), handle_client] Missing function docstring
src/python/osrf/stack.py:102: [C0111(missing-docstring), handle_server] Missing function docstring
************* Module osrf.system
src/python/osrf/system.py:4: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/system.py:9: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/system.py:45: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/system.py:53: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
host = osrf.conf.get('domain'),
^
src/python/osrf/system.py:54: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
port = osrf.conf.get('port'),
^
src/python/osrf/system.py:55: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/system.py:55: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
username = osrf.conf.get('username'),
^
src/python/osrf/system.py:56: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
password = osrf.conf.get('passwd'),
^
src/python/osrf/system.py:57: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
resource = kwargs.get('resource'))
^
src/python/osrf/system.py:72: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/system.py:101: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/system.py:106: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/system.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/system.py:21: [C0111(missing-docstring), System] Missing class docstring
src/python/osrf/system.py:27: [C0111(missing-docstring), System.net_connect] Missing method docstring
src/python/osrf/system.py:29: [W0105(pointless-string-statement), System.net_connect] String statement has no effect
src/python/osrf/system.py:66: [C0111(missing-docstring), System.net_disconnect] Missing method docstring
src/python/osrf/system.py:103: [W0105(pointless-string-statement), System] String statement has no effect
src/python/osrf/system.py:105: [C0111(missing-docstring), System.daemonize] Missing method docstring
src/python/osrf/system.py:120: [W0212(protected-access), System.daemonize] Access to a protected member _exit of a client class
src/python/osrf/system.py:17: [W0611(unused-import), ] Unused set_network_handle imported from osrf.net
************* Module osrf.xml_obj
src/python/osrf/xml_obj.py:38: [C0330(bad-continuation), ] Wrong continued indentation.
dict([(attr.name, attr.value)]))
^ |
src/python/osrf/xml_obj.py:39: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/xml_obj.py:42: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/xml_obj.py:45: [C0326(bad-whitespace), ] Exactly one space required after comma
data = unicode(text_node.nodeValue).replace('^\s*','')
^
src/python/osrf/xml_obj.py:46: [C0326(bad-whitespace), ] Exactly one space required after comma
data = data.replace('\s*$','')
^
src/python/osrf/xml_obj.py:59: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/xml_obj.py:79: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/xml_obj.py:82: [C0326(bad-whitespace), ] No space allowed after bracket
obj[node_name][child_name] = [ val, sub_obj[child_name] ]
^
src/python/osrf/xml_obj.py:82: [C0326(bad-whitespace), ] No space allowed before bracket
obj[node_name][child_name] = [ val, sub_obj[child_name] ]
^
src/python/osrf/xml_obj.py:102: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/xml_obj.py:114: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/xml_obj.py:125: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/xml_obj.py:138: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/xml_obj.py:45: [W1401(anomalous-backslash-in-string), ] Anomalous backslash in string: '\s'. String constant might be missing an r prefix.
src/python/osrf/xml_obj.py:46: [W1401(anomalous-backslash-in-string), ] Anomalous backslash in string: '\s'. String constant might be missing an r prefix.
src/python/osrf/xml_obj.py:96: [W1401(anomalous-backslash-in-string), ] Anomalous backslash in string: '\s'. String constant might be missing an r prefix.
src/python/osrf/xml_obj.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/xml_obj.py:97: [C0111(missing-docstring), XMLFlattener.Handler] Missing class docstring
src/python/osrf/xml_obj.py:98: [W0231(super-init-not-called), XMLFlattener.Handler.__init__] __init__ method from base class 'ContentHandler' is not called
src/python/osrf/xml_obj.py:118: [E1101(no-member), XMLFlattener.Handler.characters] Instance of 'dict' has no 'append' member
src/python/osrf/xml_obj.py:129: [C0111(missing-docstring), XMLFlattener.Handler._decode] Missing method docstring
src/python/osrf/xml_obj.py:134: [C0111(missing-docstring), XMLFlattener.Handler._encode] Missing method docstring
src/python/osrf/xml_obj.py:141: [W0231(super-init-not-called), XMLFlattener.__init__] __init__ method from base class 'ContentHandler' is not called
src/python/osrf/xml_obj.py:154: [C0103(invalid-name), XMLFlattener.parse] Invalid variable name "e"
src/python/osrf/xml_obj.py:3: [W0611(unused-import), ] Unused saxutils imported from xml.sax
************* Module osrf.apps.example
src/python/osrf/apps/example.py:17: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/apps/example.py:31: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
api_name = 'opensrf.py-example.reverse', # published API name for the method
^
src/python/osrf/apps/example.py:32: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
method = 'reverse', # name of def that implements this method
^
src/python/osrf/apps/example.py:33: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
argc = 1, # expects a single argument
^
src/python/osrf/apps/example.py:34: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
stream = True # returns a stream of results. can be called atomic-ly
^
src/python/osrf/apps/example.py:42: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/apps/example.py:54: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
api_name = 'opensrf.stateful_session_test',
^
src/python/osrf/apps/example.py:55: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
method = 'session_test',
^
src/python/osrf/apps/example.py:56: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
argc = 0
^
src/python/osrf/apps/example.py:68: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
api_name = 'opensrf.session_callback_test',
^
src/python/osrf/apps/example.py:69: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
method = 'callback_test',
^
src/python/osrf/apps/example.py:70: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
argc = 0
^
src/python/osrf/apps/example.py:74: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/apps/example.py:100: [C0303(trailing-whitespace), ] Trailing whitespace
src/python/osrf/apps/example.py:1: [C0111(missing-docstring), ] Missing module docstring
src/python/osrf/apps/example.py:40: [R0201(no-self-use), Example.reverse] Method could be a function
src/python/osrf/apps/example.py:59: [C0111(missing-docstring), Example.session_test] Missing method docstring
src/python/osrf/apps/example.py:60: [C0103(invalid-name), Example.session_test] Invalid variable name "c"
src/python/osrf/apps/example.py:59: [R0201(no-self-use), Example.session_test] Method could be a function
src/python/osrf/apps/example.py:73: [C0111(missing-docstring), Example.callback_test] Missing method docstring
src/python/osrf/apps/example.py:75: [C0111(missing-docstring), Example.callback_test.pre_req_cb] Missing function docstring
src/python/osrf/apps/example.py:78: [C0111(missing-docstring), Example.callback_test.post_req_cb] Missing function docstring
src/python/osrf/apps/example.py:81: [C0111(missing-docstring), Example.callback_test.disconnect_cb] Missing function docstring
src/python/osrf/apps/example.py:84: [C0111(missing-docstring), Example.callback_test.death_cb] Missing function docstring
src/python/osrf/apps/example.py:94: [C0103(invalid-name), Example.callback_test] Invalid variable name "c"
src/python/osrf/apps/example.py:73: [R0201(no-self-use), Example.callback_test] Method could be a function
Report
======
2024 statements analysed.
Statistics by type
------------------
+---------+-------+-----------+-----------+------------+---------+
|type |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module |19 |19 |= |10.53 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|class |38 |38 |= |55.26 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|method |165 |165 |= |66.67 |9.09 |
+---------+-------+-----------+-----------+------------+---------+
|function |62 |62 |= |64.52 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
External dependencies
---------------------
::
dns
\-resolver (opensrf)
memcache (osrf.cache)
osrf
\-app (opensrf,osrf.apps.example,osrf.stack,osrf.server)
\-cache (osrf.system,osrf.http_translator)
\-conf (osrf.ses,osrf.system,osrf.http_translator,osrf.server)
\-const (osrf.net_obj,osrf.set,osrf.server,osrf.log,osrf.json,osrf.stack,osrf.http_translator,osrf.ses)
\-ex (osrf.ses,osrf.set,osrf.net,osrf.stack,osrf.conf)
\-json (osrf.ses,opensrf,osrf.app,osrf.xml_obj,osrf.cache,osrf.stack,osrf.gateway,osrf.http_translator)
\-log (osrf.ses,osrf.net,osrf.cache,osrf.system,osrf.app,osrf.server,osrf.apps.example,osrf.json,osrf.stack,osrf.gateway,osrf.http_translator)
\-net (osrf.ses,osrf.system,osrf.http_translator,osrf.server)
\-net_obj (osrf.gateway,osrf.json,osrf.set,osrf.ses,osrf.conf)
\-server (opensrf)
\-ses (osrf.set,osrf.app,osrf.stack)
\-set (opensrf,osrf.system,osrf.http_translator)
\-stack (osrf.system,osrf.server)
\-system (opensrf,osrf.http_translator,osrf.server)
\-xml_obj (osrf.conf)
Raw metrics
-----------
+----------+-------+------+---------+-----------+
|type |number |% |previous |difference |
+==========+=======+======+=========+===========+
|code |2237 |67.93 |2237 |= |
+----------+-------+------+---------+-----------+
|docstring |391 |11.87 |391 |= |
+----------+-------+------+---------+-----------+
|comment |345 |10.48 |345 |= |
+----------+-------+------+---------+-----------+
|empty |320 |9.72 |320 |= |
+----------+-------+------+---------+-----------+
Duplication
-----------
+-------------------------+------+---------+-----------+
| |now |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines |0 |0 |= |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |0.000 |= |
+-------------------------+------+---------+-----------+
Messages by category
--------------------
+-----------+-------+---------+-----------+
|type |number |previous |difference |
+===========+=======+=========+===========+
|convention |493 |493 |= |
+-----------+-------+---------+-----------+
|refactor |28 |28 |= |
+-----------+-------+---------+-----------+
|warning |90 |90 |= |
+-----------+-------+---------+-----------+
|error |28 |28 |= |
+-----------+-------+---------+-----------+
% errors / warnings by module
-----------------------------
+---------------------+------+--------+---------+-----------+
|module |error |warning |refactor |convention |
+=====================+======+========+=========+===========+
|osrf.ses |39.29 |10.00 |21.43 |15.42 |
+---------------------+------+--------+---------+-----------+
|osrf.net |28.57 |2.22 |10.71 |6.09 |
+---------------------+------+--------+---------+-----------+
|osrf.gateway |14.29 |11.11 |25.00 |11.36 |
+---------------------+------+--------+---------+-----------+
|osrf.net_obj |3.57 |11.11 |10.71 |5.27 |
+---------------------+------+--------+---------+-----------+
|osrf.server |3.57 |10.00 |3.57 |7.71 |
+---------------------+------+--------+---------+-----------+
|osrf.app |3.57 |6.67 |7.14 |6.49 |
+---------------------+------+--------+---------+-----------+
|osrf.xml_obj |3.57 |6.67 |0.00 |3.65 |
+---------------------+------+--------+---------+-----------+
|osrf.json |3.57 |0.00 |0.00 |2.23 |
+---------------------+------+--------+---------+-----------+
|osrf.log |0.00 |12.22 |0.00 |7.10 |
+---------------------+------+--------+---------+-----------+
|osrf.http_translator |0.00 |6.67 |10.71 |7.10 |
+---------------------+------+--------+---------+-----------+
|opensrf |0.00 |6.67 |0.00 |4.46 |
+---------------------+------+--------+---------+-----------+
|osrf.cache |0.00 |6.67 |0.00 |3.04 |
+---------------------+------+--------+---------+-----------+
|osrf.system |0.00 |4.44 |0.00 |3.45 |
+---------------------+------+--------+---------+-----------+
|osrf.conf |0.00 |2.22 |0.00 |1.83 |
+---------------------+------+--------+---------+-----------+
|osrf.set |0.00 |2.22 |0.00 |1.62 |
+---------------------+------+--------+---------+-----------+
|osrf.ex |0.00 |1.11 |0.00 |1.62 |
+---------------------+------+--------+---------+-----------+
|osrf.apps.example |0.00 |0.00 |10.71 |4.67 |
+---------------------+------+--------+---------+-----------+
|osrf.const |0.00 |0.00 |0.00 |4.67 |
+---------------------+------+--------+---------+-----------+
|osrf.stack |0.00 |0.00 |0.00 |2.23 |
+---------------------+------+--------+---------+-----------+
Messages
--------
+------------------------------+------------+
|message id |occurrences |
+==============================+============+
|trailing-whitespace |181 |
+------------------------------+------------+
|missing-docstring |111 |
+------------------------------+------------+
|bad-whitespace |90 |
+------------------------------+------------+
|invalid-name |82 |
+------------------------------+------------+
|no-member |27 |
+------------------------------+------------+
|no-self-use |15 |
+------------------------------+------------+
|global-statement |11 |
+------------------------------+------------+
|bad-continuation |11 |
+------------------------------+------------+
|protected-access |8 |
+------------------------------+------------+
|multiple-statements |8 |
+------------------------------+------------+
|line-too-long |8 |
+------------------------------+------------+
|global-variable-not-assigned |7 |
+------------------------------+------------+
|broad-except |7 |
+------------------------------+------------+
|bare-except |7 |
+------------------------------+------------+
|unused-import |5 |
+------------------------------+------------+
|super-init-not-called |5 |
+------------------------------+------------+
|pointless-string-statement |5 |
+------------------------------+------------+
|exec-used |5 |
+------------------------------+------------+
|unused-variable |4 |
+------------------------------+------------+
|unused-argument |4 |
+------------------------------+------------+
|unnecessary-semicolon |4 |
+------------------------------+------------+
|redefined-builtin |4 |
+------------------------------+------------+
|import-error |4 |
+------------------------------+------------+
|dangerous-default-value |4 |
+------------------------------+------------+
|too-many-return-statements |3 |
+------------------------------+------------+
|too-many-instance-attributes |3 |
+------------------------------+------------+
|too-few-public-methods |3 |
+------------------------------+------------+
|fixme |3 |
+------------------------------+------------+
|anomalous-backslash-in-string |3 |
+------------------------------+------------+
|too-many-branches |2 |
+------------------------------+------------+
|too-many-arguments |2 |
+------------------------------+------------+
|redefined-outer-name |2 |
+------------------------------+------------+
|superfluous-parens |1 |
+------------------------------+------------+
|reimported |1 |
+------------------------------+------------+
|old-style-class |1 |
+------------------------------+------------+
|method-hidden |1 |
+------------------------------+------------+
|bad-indentation |1 |
+------------------------------+------------+
Global evaluation
-----------------
Your code has been rated at 6.29/10 (previous run: 6.29/10, +0.00)