Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ************* Module dnf_zsync
- C: 77, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
- C: 78, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
- C: 1, 0: Missing module docstring (missing-docstring)
- E: 6, 0: Unable to import 'dnf' (import-error)
- C: 9, 0: Missing class docstring (missing-docstring)
- C: 17,38: Invalid variable name "FNULL" (invalid-name)
- W: 27, 8: No exception type(s) specified (bare-except)
- C: 27,16: More than one statement on a single line (multiple-statements)
- R: 22, 4: Method could be a function (no-self-use)
- C: 29, 4: Invalid argument name "s" (invalid-name)
- R: 29, 4: Method could be a function (no-self-use)
- C: 35, 4: Missing method docstring (missing-docstring)
- C: 45, 4: Missing method docstring (missing-docstring)
- C: 46, 8: Missing function docstring (missing-docstring)
- W: 84,12: No exception type(s) specified (bare-except)
- W: 79,37: Unused variable 'ex' (unused-variable)
- C: 93, 0: Missing class docstring (missing-docstring)
- C:103, 4: Missing method docstring (missing-docstring)
- R: 93, 0: Too few public methods (1/2) (too-few-public-methods)
- Report
- ======
- 64 statements analysed.
- Statistics by type
- ------------------
- +---------+-------+-----------+-----------+------------+---------+
- |type |number |old number |difference |%documented |%badname |
- +=========+=======+===========+===========+============+=========+
- |module |1 |NC |NC |0.00 |0.00 |
- +---------+-------+-----------+-----------+------------+---------+
- |class |2 |NC |NC |0.00 |0.00 |
- +---------+-------+-----------+-----------+------------+---------+
- |method |9 |NC |NC |66.67 |0.00 |
- +---------+-------+-----------+-----------+------------+---------+
- |function |1 |NC |NC |0.00 |0.00 |
- +---------+-------+-----------+-----------+------------+---------+
- Raw metrics
- -----------
- +----------+-------+------+---------+-----------+
- |type |number |% |previous |difference |
- +==========+=======+======+=========+===========+
- |code |79 |73.15 |NC |NC |
- +----------+-------+------+---------+-----------+
- |docstring |8 |7.41 |NC |NC |
- +----------+-------+------+---------+-----------+
- |comment |4 |3.70 |NC |NC |
- +----------+-------+------+---------+-----------+
- |empty |17 |15.74 |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 |12 |NC |NC |
- +-----------+-------+---------+-----------+
- |refactor |3 |NC |NC |
- +-----------+-------+---------+-----------+
- |warning |3 |NC |NC |
- +-----------+-------+---------+-----------+
- |error |1 |NC |NC |
- +-----------+-------+---------+-----------+
- Messages
- --------
- +-----------------------+------------+
- |message id |occurrences |
- +=======================+============+
- |missing-docstring |7 |
- +-----------------------+------------+
- |superfluous-parens |2 |
- +-----------------------+------------+
- |no-self-use |2 |
- +-----------------------+------------+
- |invalid-name |2 |
- +-----------------------+------------+
- |bare-except |2 |
- +-----------------------+------------+
- |unused-variable |1 |
- +-----------------------+------------+
- |too-few-public-methods |1 |
- +-----------------------+------------+
- |multiple-statements |1 |
- +-----------------------+------------+
- |import-error |1 |
- +-----------------------+------------+
- Global evaluation
- -----------------
- Your code has been rated at 6.41/10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement