No config file found, using default configuration

Report

2642 statements analysed.

Messages by category

type number previous difference
convention 0 0 =
refactor 1 1 =
warning 0 0 =
error 0 0 =

Messages

message id occurrences
R0801 1

Global evaluation

Your code has been rated at 10.00/10 (previous run: 10.00/10)

Duplication

  now previous difference
nb duplicated lines 40 40 =
percent duplicated lines 0.604 0.604 =

Raw metrics

type number % previous difference
code 3051 48.51 3051 =
docstring 1687 26.82 1687 =
comment 860 13.67 860 =
empty 691 10.99 691 =

Statistics by type

type number old number difference %documented %badname
module 32 32 = 100.00 0.00
class 64 64 = 100.00 0.00
method 293 293 = 100.00 22.18
function 48 48 = 100.00 0.00

External dependencies

StringIO (occi.wsgi)
json (occi.protocol.json_rendering)
logging (occi.wsgi)
occi 
  \-VERSION (occi.wsgi)
  \-backend (tests.occi_backend_test)
  | \-ActionBackend (tests.occi_handlers_test,occi.wsgi,tests.occi_protocol_occi_rendering_test,tests.occi_backend_test,tests.occi_registry_test,tests.occi_wsgi_test,tests.occi_workflow_test,occi.registry)
  | \-KindBackend (tests.occi_handlers_test,occi.wsgi,tests.occi_protocol_occi_rendering_test,tests.occi_security_test,tests.occi_backend_test,tests.occi_registry_test,tests.occi_wsgi_test,tests.occi_workflow_test,occi.registry)
  | \-MixinBackend (tests.occi_handlers_test,occi.wsgi,tests.occi_protocol_occi_rendering_test,tests.occi_registry_test,tests.occi_wsgi_test,tests.occi_workflow_test,occi.registry)
  | \-UserDefinedMixinBackend (occi.workflow)
  \-core_model 
  | \-Action (tests.occi_protocol_html_rendering_test,tests.occi_protocol_occi_rendering_test,tests.occi_backend_test,tests.occi_protocol_json_rendering_test,occi.extensions.infrastructure,tests.occi_registry_test,tests.occi_core_model_test,tests.occi_workflow_test,tests.occi_protocol_occi_parser_test)
  | \-Category (occi.protocol.html_rendering,tests.occi_core_model_test,occi.protocol.occi_parser)
  | \-Entity (tests.occi_security_test)
  | \-Kind (tests.occi_protocol_html_rendering_test,tests.occi_protocol_occi_rendering_test,tests.occi_backend_test,tests.occi_protocol_json_rendering_test,occi.extensions.infrastructure,tests.occi_registry_test,tests.occi_core_model_test,tests.occi_workflow_test,occi.protocol.occi_parser,tests.occi_protocol_occi_parser_test)
  | \-Link (tests.occi_handlers_test,tests.occi_protocol_html_rendering_test,tests.occi_protocol_occi_rendering_test,tests.occi_backend_test,occi.workflow,tests.occi_protocol_json_rendering_test,occi.extensions.infrastructure,tests.occi_protocol_occi_parser_test,tests.occi_core_model_test,tests.occi_workflow_test,occi.protocol.occi_parser,occi.protocol.html_rendering,occi.protocol.occi_rendering)
  | \-Mixin (tests.occi_handlers_test,tests.occi_protocol_html_rendering_test,tests.occi_protocol_occi_rendering_test,tests.occi_security_test,occi.workflow,tests.occi_protocol_json_rendering_test,occi.extensions.infrastructure,tests.occi_registry_test,tests.occi_core_model_test,tests.occi_workflow_test,occi.protocol.occi_parser,tests.occi_protocol_occi_parser_test)
  | \-Resource (tests.occi_handlers_test,tests.occi_protocol_html_rendering_test,tests.occi_protocol_occi_rendering_test,tests.occi_backend_test,occi.workflow,tests.occi_registry_test,tests.occi_protocol_json_rendering_test,occi.extensions.infrastructure,tests.occi_protocol_occi_parser_test,tests.occi_core_model_test,occi.protocol.json_rendering,tests.occi_workflow_test,occi.protocol.html_rendering,occi.protocol.occi_rendering)
  \-exceptions 
  | \-HTTPError (tests.occi_handlers_test,occi.wsgi,tests.occi_security_test,occi.workflow,tests.occi_registry_test,tests.occi_workflow_test,occi.registry,occi.handlers,tests.occi_exceptions_test)
  \-extensions 
  | \-infrastructure 
  |   \-COMPUTE (tests.occi_security_test,tests.occi_handlers_test,tests.occi_wsgi_test)
  |   \-IPNETWORK (tests.occi_handlers_test)
  |   \-IPNETWORKINTERFACE (tests.occi_wsgi_test,tests.occi_handlers_test)
  |   \-NETWORK (tests.occi_handlers_test)
  |   \-NETWORKINTERFACE (tests.occi_handlers_test)
  |   \-START (tests.occi_wsgi_test,tests.occi_handlers_test)
  |   \-STORAGE (tests.occi_handlers_test)
  \-handlers 
  | \-ACCEPT (tests.occi_handlers_test,occi.wsgi)
  | \-ATTRIBUTE (occi.protocol.occi_rendering,tests.occi_handlers_test,occi.wsgi)
  | \-CATEGORY (occi.protocol.occi_rendering,tests.occi_handlers_test,occi.wsgi)
  | \-CONTENT_TYPE (tests.occi_protocol_occi_rendering_test,occi.protocol.occi_rendering,occi.protocol.json_rendering,tests.occi_handlers_test,occi.wsgi)
  | \-CollectionHandler (tests.occi_handlers_test,occi.wsgi)
  | \-LINK (occi.protocol.occi_rendering,tests.occi_handlers_test,occi.wsgi)
  | \-LOCATION (occi.protocol.occi_rendering,tests.occi_handlers_test,occi.wsgi)
  | \-QUERY_STRING (occi.protocol.html_rendering,occi.wsgi)
  | \-QueryHandler (tests.occi_handlers_test,occi.wsgi)
  | \-ResourceHandler (tests.occi_handlers_test,occi.wsgi)
  \-protocol 
  | \-html_rendering 
  | | \-HTMLRendering (tests.occi_wsgi_test,tests.occi_protocol_html_rendering_test,occi.wsgi)
  | \-json_rendering 
  | | \-JsonRendering (tests.occi_protocol_json_rendering_test,occi.wsgi)
  | \-occi_parser (tests.occi_protocol_occi_parser_test,tests.occi_security_test,occi.protocol.occi_rendering,tests.occi_handlers_test)
  | \-occi_rendering 
  | | \-Rendering (occi.registry,tests.occi_protocol_occi_rendering_test,tests.occi_registry_test)
  | | \-TextOcciRendering (tests.occi_protocol_occi_rendering_test,tests.occi_security_test,tests.occi_wsgi_test,tests.occi_handlers_test,occi.wsgi)
  | | \-TextPlainRendering (tests.occi_protocol_occi_rendering_test,tests.occi_wsgi_test,tests.occi_handlers_test,occi.wsgi)
  | | \-TextUriListRendering (tests.occi_protocol_occi_rendering_test,tests.occi_wsgi_test,tests.occi_handlers_test,occi.wsgi)
  | \-rendering 
  |   \-Rendering (occi.protocol.html_rendering,occi.protocol.json_rendering,occi.protocol.occi_rendering)
  \-registry 
  | \-NonePersistentRegistry (tests.occi_handlers_test,tests.occi_protocol_html_rendering_test,tests.occi_protocol_occi_rendering_test,tests.occi_security_test,occi.wsgi,tests.occi_protocol_json_rendering_test,tests.occi_registry_test,tests.occi_wsgi_test,tests.occi_workflow_test,tests.occi_protocol_occi_parser_test)
  | \-Registry (tests.occi_registry_test)
  \-workflow (occi.handlers,tests.occi_workflow_test)
  \-wsgi 
    \-Application (tests.occi_security_test,tests.occi_wsgi_test)
shlex (occi.protocol.occi_rendering)
unittest (tests.ssf_main_test,tests.occi_handlers_test,tests.occi_protocol_html_rendering_test,tests.occi_protocol_occi_rendering_test,tests.occi_security_test,tests.occi_backend_test,tests.occi_protocol_json_rendering_test,tests.occi_registry_test,tests.occi_wsgi_test,tests.occi_core_model_test,tests.occi_workflow_test,tests.occi_protocol_occi_parser_test,tests.occi_exceptions_test)
uuid (occi.workflow)

Messages

type module object line col_offset message
R0801 tests.occi_wsgi_test   1 0 Similar lines in 5 files ==tests.occi_handlers_test:236 ==tests.occi_handlers_test:456 ==tests.occi_handlers_test:708 ==tests.occi_workflow_test:239 ==tests.occi_workflow_test:61 def tearDown(self): for item in self.registry.get_resources(None): self.registry.delete_resource(item.identifier, None) for item in self.registry.get_categories(None): self.registry.delete_mixin(item, None) #========================================================================== # Failure #==========================================================================