Report

2051 statements analysed.

Statistics by type

type number old number difference %documented %badname
module 44 NC NC 90.91 4.55
class 38 NC NC 78.95 0.00
method 176 NC NC 81.82 14.20
function 63 NC NC 93.65 17.46

External dependencies

interface (interface.pgcli)
  \-const (interface.gui.gui_window,plugins.mapControlpygame)
  \-gui 
  | \-gui_elements (plugins.mapControlpygame)
  \-interface (interface.pgcli,interface.cursescli)
  \-utils (interface.pgcli,plugins.mapControlpygame,interface.test_utils)
parsing 
  \-actions_parser (parsing.interactions_parser,parsing.test_actions_parser)
  \-entity_parser (parsing.test_entity_parser)
  \-global_parsing (shared.world)
  \-gui_parser (interface.gui.gui_window)
  \-interactions_parser (parsing.test_interactions_parser)
  \-parsing_utils (parsing.actions_parser,parsing.objects_parser,parsing.images_parser,parsing.test_parsing_utils,parsing.gui_parser,parsing.entity_parser,parsing.map_parser,parsing.world_parser,parsing.interactions_parser)
plugins 
  \-plugin (interface.gui.gui_window,plugins.mapControl,plugins.chat)
  \-plugincurses (plugins.chatcurses,plugins.menucurses)
  \-pluginpygame (plugins.mapControlpygame)
pygame (interface.pgcli,interface.gui.gui_elements,interface.gui.nontravistest_gui,interface.test_utils,interface.utils,plugins.mapControlpygame,interface.applymatrix,plugins.pluginpygame)
  \-locals (interface.pgcli,interface.gui.nontravistest_gui,plugins.mapControlpygame,interface.gui.gui_elements)
shared 
  \-world (shared.test_world)

Raw metrics

type number % previous difference
code 2257 62.83 NC NC
docstring 721 20.07 NC NC
comment 109 3.03 NC NC
empty 505 14.06 NC NC

Duplication

  now previous difference
nb duplicated lines 0 NC NC
percent duplicated lines 0.000 NC NC

Messages by category

type number previous difference
convention 585 NC NC
refactor 13 NC NC
warning 85 NC NC
error 88 NC NC

% errors / warnings by module

module error warning refactor convention
interface.gui.gui_elements 28.41 2.35 0.00 4.10
interface.pgcli 23.86 24.71 15.38 16.75
interface.cursescli 11.36 9.41 0.00 21.71
path 5.68 3.53 15.38 0.85
interface.gui.gui_window 4.55 2.35 0.00 1.20
plugins.chatcurses 4.55 1.18 0.00 0.68
shared.world 3.41 22.35 23.08 9.91
interface.gui.nontravistest_gui 3.41 1.18 0.00 9.74
interface.interactions 2.27 5.88 0.00 0.85
management.actions 2.27 0.00 0.00 0.51
interface.applymatrix 1.14 0.00 7.69 6.50
plugins.mapControlpygame 1.14 0.00 0.00 5.81
shared.tools 1.14 0.00 0.00 0.00
shared.orders 1.14 0.00 0.00 0.00
shared.network 1.14 0.00 0.00 0.00
server 1.14 0.00 0.00 0.00
pylintrc 1.14 0.00 0.00 0.00
parsing.global_parsing 1.14 0.00 0.00 0.00
client 1.14 0.00 0.00 0.00
plugins.plugin 0.00 9.41 0.00 2.22
management.console 0.00 4.71 7.69 2.91
plugins.plugincurses 0.00 4.71 7.69 0.17
interface.const 0.00 2.35 0.00 2.05
plugins.pluginpygame 0.00 1.18 7.69 0.17
parsing.test_actions_parser 0.00 1.18 0.00 2.56
parsing.test_interactions_parser 0.00 1.18 0.00 1.03
parsing.test_parsing_utils 0.00 1.18 0.00 0.68
interface.utils 0.00 1.18 0.00 0.51
interface.interface 0.00 0.00 7.69 1.71
parsing.gui_parser 0.00 0.00 7.69 0.34
shared.test_world 0.00 0.00 0.00 2.56
parsing.test_entity_parser 0.00 0.00 0.00 2.56
plugins.menucurses 0.00 0.00 0.00 1.54
plugins.mapControl 0.00 0.00 0.00 0.17
interface.test_utils 0.00 0.00 0.00 0.17

Messages

message id occurrences
invalid-name 268
bad-whitespace 131
missing-docstring 48
bad-continuation 46
no-member 36
multiple-statements 36
no-name-in-module 25
attribute-defined-outside-init 22
line-too-long 20
trailing-whitespace 17
fixme 14
unused-import 13
eval-used 10
too-many-function-args 9
unused-variable 8
syntax-error 7
no-self-use 7
wrong-import-order 6
unused-argument 5
unidiomatic-typecheck 5
undefined-variable 5
trailing-newlines 4
import-error 4
unused-wildcard-import 3
too-many-branches 3
parse-error 3
wrong-import-position 2
ungrouped-imports 2
too-many-format-args 2
redefined-variable-type 2
exec-used 2
bare-except 2
wildcard-import 1
too-many-instance-attributes 1
pointless-statement 1
global-statement 1
expression-not-assigned 1
duplicate-key 1
arguments-differ 1

Global evaluation

Your code has been rated at 4.52/10