Report

609 statements analysed.

Duplication

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

Raw metrics

type number % previous difference
code 689 77.50 689 =
docstring 129 14.51 129 =
comment 44 4.95 44 =
empty 27 3.04 27 =

External dependencies

MySQLdb (mythautoicon)

Statistics by type

type number old number difference %documented %badname
module 1 1 = 100.00 0.00
class 10 10 = 100.00 0.00
method 38 38 = 100.00 0.00
function 3 3 = 100.00 0.00

Total errors / warnings

type number previous difference
convention 0 0 =
refactor 9 9 =
warning 3 4 -1.00
error 0 0 =

Messages

message id occurences
W0121 2
R0915 2
R0914 2
R0913 2
R0912 2
W0201 1
R0904 1

Global evaluation

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

Messages

type module object line message
W mythautoicon LyngSatCountryRegion.grab_data 191 Attribute 'common_prefix' defined outside __init__
R mythautoicon LyngSatParser.__init__ 211 Too many arguments (6/5)
R mythautoicon LyngSatParser 209 Too many public methods (28/20)
R mythautoicon Matcher.__init__ 639 Too many arguments (6/5)
R mythautoicon Matcher.assign_icons 650 Too many local variables (20/15)
R mythautoicon Matcher.assign_icons 650 Too many branches (39/12)
R mythautoicon Matcher.assign_icons 650 Too many statements (112/50)
R mythautoicon main 862 Too many local variables (30/15)
W mythautoicon main 870 Use of the global statement
W mythautoicon main 891 Use of the global statement
R mythautoicon main 862 Too many branches (27/12)
R mythautoicon main 862 Too many statements (88/50)