hdlc_tx_frm.pylint-0.6.4.log

download

No config file found, using default configuration
************* Module hdlc_tx_frm
W: 28:Counter: Missing docstring
W: 36:Counter.incr: Missing docstring
W: 39:Counter.set: Missing docstring
W: 42:Counter.update: Missing docstring
W: 48:Data: Missing docstring
W: 57:Data.__init__: Used builtin function 'map'
W: 69:Data.is_empty: Missing docstring
W: 72:Data.update: Missing docstring
C: 91:State_tx_frm: Invalid name "State_tx_frm" (should match [A-Z_][a-zA-Z0-9]+$)
W: 91:State_tx_frm: Missing docstring
W: 98:State_tx_frm.__init__.Dummy: Class has no __init__ method
W: 98:State_tx_frm.__init__.Dummy: Missing docstring
R: 98:State_tx_frm.__init__.Dummy: Not enough public methods (0/2)
C:109:State_tx_frm.__call__: Invalid name "Di_ser" (should match [a-z_][a-z0-9_]*$)
E:109:State_tx_frm.__call__: Undefined variable 'data'
E:116:State_tx_frm.__call__: Undefined variable 'cnt'
E:122:State_tx_frm.__call__: Undefined variable 'interfill'
E:193:State_tx_frm.__call__: Undefined variable 'do_abort_frame'
E:203:State_tx_frm.__call__: Undefined variable 'enable_zero_insertion'
E:267:State_tx_frm.__call__: Undefined variable 'notimplemented'
R:105:State_tx_frm.__call__: Too many branches (37/12)
R:105:State_tx_frm.__call__: Too many statements (119/50)
W:273:State_tx_frm.update: Missing docstring
R: 91:State_tx_frm: Not enough public methods (1/2)
W:278:main: Redefining name 'vector' from outer scope (line 331)
W:278:main: Missing docstring
W:280:main: Undefined global 'interfill'
W:280:main: Use of the global statement
W:281:main: Use of the global statement
W:281:main: Undefined global 'data'
W:281:main: Undefined global 'cnt'
W:281:main: Undefined global 'stm'
W:282:main: Undefined global 'do_abort_frame'
W:282:main: Undefined global 'enable_zero_insertion'
W:282:main: Use of the global statement
W:293:main.NotFinished: Missing docstring
C:294:main.NotFinished.__init__: Too short name "n"
R:293:main.NotFinished: Not enough public methods (0/2)

Report
======
205 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 |234 |90.35 |234 |= |
+----------+-------+------+---------+-----------+
|docstring |15 |5.79 |15 |= |
+----------+-------+------+---------+-----------+
|comment |3 |1.16 |3 |= |
+----------+-------+------+---------+-----------+
|empty |7 |2.70 |7 |= |
+----------+-------+------+---------+-----------+

Statistics by type
------------------

+---------+-------+-----------+-----------+------------+---------+
|type |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module |1 |1 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|class |5 |5 |= |0.00 |20.00 |
+---------+-------+-----------+-----------+------------+---------+
|method |14 |14 |= |57.14 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|function |2 |2 |= |50.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+

Total errors / warnings
-----------------------

+-----------+-------+---------+-----------+
|type |number |previous |difference |
+===========+=======+=========+===========+
|convention |3 |3 |= |
+-----------+-------+---------+-----------+
|refactor |5 |5 |= |
+-----------+-------+---------+-----------+
|warning |24 |24 |= |
+-----------+-------+---------+-----------+
|error |6 |6 |= |
+-----------+-------+---------+-----------+

Messages
--------

+-----------+-----------+
|message id |occurences |
+===========+===========+
|W0131 |12 |
+-----------+-----------+
|W0601 |6 |
+-----------+-----------+
|E0602 |6 |
+-----------+-----------+
|W0121 |3 |
+-----------+-----------+
|R0903 |3 |
+-----------+-----------+
|C0103 |2 |
+-----------+-----------+
|W0621 |1 |
+-----------+-----------+
|W0232 |1 |
+-----------+-----------+
|W0141 |1 |
+-----------+-----------+
|R0915 |1 |
+-----------+-----------+
|R0912 |1 |
+-----------+-----------+
|C0101 |1 |
+-----------+-----------+

Global evaluation
-----------------
Your code has been rated at 6.98/10 (previous run: 6.98/10)