No config file found, using default configuration

Report

2643 statements analysed.

Duplication

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

Raw metrics

type number % previous difference
code 3054 48.20 3054 =
docstring 1691 26.69 1691 =
comment 897 14.16 897 =
empty 694 10.95 694 =

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

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)

External dependencies

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,tests.occi_wsgi_test,tests.occi_protocol_occi_rendering_test,occi.wsgi,tests.occi_registry_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_protocol_occi_parser_test,tests.occi_core_model_test,tests.occi_workflow_test,tests.occi_registry_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_protocol_occi_parser_test,tests.occi_core_model_test,tests.occi_workflow_test,occi.protocol.occi_parser,tests.occi_registry_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_protocol_occi_parser_test,tests.occi_core_model_test,tests.occi_workflow_test,occi.protocol.occi_parser,tests.occi_registry_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_protocol_json_rendering_test,tests.occi_protocol_occi_parser_test,occi.extensions.infrastructure,tests.occi_registry_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_wsgi_test,tests.occi_handlers_test,tests.occi_security_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_registry_test,tests.occi_protocol_occi_rendering_test)
  | | \-TextOcciRendering (tests.occi_protocol_occi_rendering_test,tests.occi_wsgi_test,tests.occi_security_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_protocol_occi_parser_test,tests.occi_wsgi_test,tests.occi_workflow_test,tests.occi_registry_test)
  | \-Registry (tests.occi_registry_test)
  \-workflow (occi.handlers,tests.occi_workflow_test)
  \-wsgi 
    \-Application (tests.occi_wsgi_test,tests.occi_security_test)

Messages

type module object line col_offset message
R0801 tests.occi_handlers_test   1 0 Similar lines in 5 files ==tests.occi_handlers_test:237 ==tests.occi_handlers_test:457 ==tests.occi_handlers_test:709 ==tests.occi_workflow_test:243 ==tests.occi_workflow_test:65 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) #========================================================================== # Sanity #==========================================================================