Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autopepped UTscapy.py #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Mamietti
Copy link

@Mamietti Mamietti commented Feb 7, 2017

BEFORE

Report

426 statements analysed.

Statistics by type

+---------+-------+-----------+-----------+------------+---------+
|type |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module |1 |NC |NC |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|class |8 |NC |NC |0.00 |12.50 |
+---------+-------+-----------+-----------+------------+---------+
|method |18 |NC |NC |44.44 |11.11 |
+---------+-------+-----------+-----------+------------+---------+
|function |22 |NC |NC |0.00 |22.73 |
+---------+-------+-----------+-----------+------------+---------+

External dependencies

::

scapy 
  \-all (scapy.tools.UTscapy)

Raw metrics

+----------+-------+------+---------+-----------+
|type |number |% |previous |difference |
+==========+=======+======+=========+===========+
|code |526 |77.47 |NC |NC |
+----------+-------+------+---------+-----------+
|docstring |34 |5.01 |NC |NC |
+----------+-------+------+---------+-----------+
|comment |27 |3.98 |NC |NC |
+----------+-------+------+---------+-----------+
|empty |92 |13.55 |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 |198 |NC |NC |
+-----------+-------+---------+-----------+
|refactor |13 |NC |NC |
+-----------+-------+---------+-----------+
|warning |8 |NC |NC |
+-----------+-------+---------+-----------+
|error |2 |NC |NC |
+-----------+-------+---------+-----------+

Messages

+-------------------------------+------------+
|message id |occurrences |
+===============================+============+
|invalid-name |75 |
+-------------------------------+------------+
|bad-whitespace |48 |
+-------------------------------+------------+
|missing-docstring |40 |
+-------------------------------+------------+
|trailing-whitespace |18 |
+-------------------------------+------------+
|line-too-long |9 |
+-------------------------------+------------+
|too-few-public-methods |4 |
+-------------------------------+------------+
|old-style-class |4 |
+-------------------------------+------------+
|no-init |4 |
+-------------------------------+------------+
|no-classmethod-decorator |3 |
+-------------------------------+------------+
|too-many-instance-attributes |2 |
+-------------------------------+------------+
|too-many-branches |2 |
+-------------------------------+------------+
|no-member |2 |
+-------------------------------+------------+
|multiple-imports |2 |
+-------------------------------+------------+
|bad-continuation |2 |
+-------------------------------+------------+
|unused-variable |1 |
+-------------------------------+------------+
|too-many-statements |1 |
+-------------------------------+------------+
|too-many-locals |1 |
+-------------------------------+------------+
|redefined-builtin |1 |
+-------------------------------+------------+
|broad-except |1 |
+-------------------------------+------------+
|attribute-defined-outside-init |1 |
+-------------------------------+------------+

Global evaluation

Your code has been rated at 4.62/10

AFTER AUTOPEP

Report

434 statements analysed.

Statistics by type

+---------+-------+-----------+-----------+------------+---------+
|type |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module |1 |1 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|class |8 |8 |= |0.00 |12.50 |
+---------+-------+-----------+-----------+------------+---------+
|method |18 |18 |= |44.44 |11.11 |
+---------+-------+-----------+-----------+------------+---------+
|function |22 |54 |-32.00 |0.00 |22.73 |
+---------+-------+-----------+-----------+------------+---------+

External dependencies

::

scapy 
  \-all (scapy.tools.UTscapy)

Raw metrics

+----------+-------+------+---------+-----------+
|type |number |% |previous |difference |
+==========+=======+======+=========+===========+
|code |538 |74.52 |1009 |-471.00 |
+----------+-------+------+---------+-----------+
|docstring |37 |5.12 |43 |-6.00 |
+----------+-------+------+---------+-----------+
|comment |27 |3.74 |37 |-10.00 |
+----------+-------+------+---------+-----------+
|empty |120 |16.62 |209 |-89.00 |
+----------+-------+------+---------+-----------+

Duplication

+-------------------------+------+---------+-----------+
| |now |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines |0 |0 |= |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |0.000 |= |
+-------------------------+------+---------+-----------+

Messages by category

+-----------+-------+---------+-----------+
|type |number |previous |difference |
+===========+=======+=========+===========+
|convention |126 |220 |-94.00 |
+-----------+-------+---------+-----------+
|refactor |13 |14 |-1.00 |
+-----------+-------+---------+-----------+
|warning |8 |16 |-8.00 |
+-----------+-------+---------+-----------+
|error |2 |39 |-37.00 |
+-----------+-------+---------+-----------+

Messages

+-------------------------------+------------+
|message id |occurrences |
+===============================+============+
|invalid-name |75 |
+-------------------------------+------------+
|missing-docstring |40 |
+-------------------------------+------------+
|line-too-long |6 |
+-------------------------------+------------+
|too-few-public-methods |4 |
+-------------------------------+------------+
|old-style-class |4 |
+-------------------------------+------------+
|no-init |4 |
+-------------------------------+------------+
|no-classmethod-decorator |3 |
+-------------------------------+------------+
|too-many-instance-attributes |2 |
+-------------------------------+------------+
|too-many-branches |2 |
+-------------------------------+------------+
|no-member |2 |
+-------------------------------+------------+
|unused-variable |1 |
+-------------------------------+------------+
|trailing-whitespace |1 |
+-------------------------------+------------+
|too-many-statements |1 |
+-------------------------------+------------+
|too-many-locals |1 |
+-------------------------------+------------+
|redefined-builtin |1 |
+-------------------------------+------------+
|broad-except |1 |
+-------------------------------+------------+
|attribute-defined-outside-init |1 |
+-------------------------------+------------+

Global evaluation

Your code has been rated at 6.38/10 (previous run: 3.79/10, +2.59)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant