Report

4177 statements analysed.

Messages by category

type number previous difference
convention 55 NC NC
refactor 95 NC NC
warning 321 NC NC
error 7 NC NC

% errors / warnings by module

module error warning refactor convention
BombermanClient 28.57 18.69 11.58 1.82
IA_Bomberman 28.57 6.85 2.11 16.36
SimpleGame 28.57 4.36 4.21 0.00
AffichPygame 14.29 5.92 7.37 0.00
BombermanServer 0.00 12.15 6.32 1.82
scanf 0.00 8.41 49.47 69.09
IRCserver 0.00 5.30 3.16 0.00
PyZenity 0.00 5.30 0.00 5.45
Board 0.00 3.74 4.21 0.00
IRCclient 0.00 3.74 1.05 0.00
ParseMessageIn 0.00 3.74 0.00 0.00
ANSIColors 0.00 3.74 0.00 0.00
Constants 0.00 3.43 0.00 0.00
KeyBinding 0.00 3.12 3.16 0.00
ParseMessageOut 0.00 2.49 0.00 0.00
Player 0.00 2.18 2.11 0.00
PyRlwrap 0.00 1.87 2.11 3.64
Matrix 0.00 1.25 1.05 0.00
ParseCommandArgs 0.00 1.25 0.00 0.00
Bomb 0.00 0.62 2.11 0.00
conf 0.00 0.62 0.00 1.82
ToolReadline 0.00 0.62 0.00 0.00
ConfigClient 0.00 0.31 0.00 0.00
Bonus 0.00 0.31 0.00 0.00

Messages

message id occurrences
W0511 72
C0111 53
R0801 44
W0702 37
W0212 29
W0622 28
W0612 26
W0703 24
F0401 23
W0401 17
W0404 16
W0102 16
R0912 15
W0142 13
R0914 12
W0122 11
W0613 10
R0915 10
W0231 8
W0611 5
R0911 5
R0903 4
W0105 3
R0902 3
E1121 3
W0402 2
E0602 2
E0102 2
C0302 2
W0601 1
W0301 1
W0107 1
W0101 1
R0904 1
R0201 1

Global evaluation

Your code has been rated at 8.79/10 That's pretty good. Good work mate.

Raw metrics

type number % previous difference
code 4636 52.92 NC NC
docstring 2336 26.66 NC NC
comment 839 9.58 NC NC
empty 950 10.84 NC NC

Statistics by type

type number old number difference %documented %badname
module 25 NC NC 88.00 4.00
class 22 NC NC 86.36 0.00
method 114 NC NC 82.46 26.32
function 158 NC NC 82.91 35.44

Duplication

  now previous difference
nb duplicated lines 406 NC NC
percent duplicated lines 4.517 NC NC

External dependencies

ANSIColors (Bomb,BombermanServer,IRCserver,BombermanClient,KeyBinding,AffichPygame,Player,SimpleGame,IRCclient,Board,ParseMessageOut,Constants,ParseMessageIn)
Board (BombermanClient,SimpleGame,BombermanServer)
Bomb (BombermanClient,Player)
Constants (Bonus)
  \-PORT_INIT (IRCclient)
  \-SERVEUR_INIT (IRCclient)
KeyBinding (SimpleGame)
Matrix (BombermanClient,SimpleGame,Board,BombermanServer)
ParseCommandArgs (SimpleGame)
ParseMessageIn 
  \-try_unpickling (SimpleGame)
ParseMessageOut (Player,SimpleGame)
Player (SimpleGame)
PyZenity (IRCserver,IRCclient)
argparse (ParseCommandArgs)
scanf (ParseMessageIn)