Advertisement
Guest User

Untitled

a guest
May 31st, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 KB | None | 0 0
  1. ************* Module dnf_zsync
  2. C: 77, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
  3. C: 78, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
  4. C: 1, 0: Missing module docstring (missing-docstring)
  5. E: 6, 0: Unable to import 'dnf' (import-error)
  6. C: 9, 0: Missing class docstring (missing-docstring)
  7. C: 17,38: Invalid variable name "FNULL" (invalid-name)
  8. W: 27, 8: No exception type(s) specified (bare-except)
  9. C: 27,16: More than one statement on a single line (multiple-statements)
  10. R: 22, 4: Method could be a function (no-self-use)
  11. C: 29, 4: Invalid argument name "s" (invalid-name)
  12. R: 29, 4: Method could be a function (no-self-use)
  13. C: 35, 4: Missing method docstring (missing-docstring)
  14. C: 45, 4: Missing method docstring (missing-docstring)
  15. C: 46, 8: Missing function docstring (missing-docstring)
  16. W: 84,12: No exception type(s) specified (bare-except)
  17. W: 79,37: Unused variable 'ex' (unused-variable)
  18. C: 93, 0: Missing class docstring (missing-docstring)
  19. C:103, 4: Missing method docstring (missing-docstring)
  20. R: 93, 0: Too few public methods (1/2) (too-few-public-methods)
  21.  
  22.  
  23. Report
  24. ======
  25. 64 statements analysed.
  26.  
  27. Statistics by type
  28. ------------------
  29.  
  30. +---------+-------+-----------+-----------+------------+---------+
  31. |type |number |old number |difference |%documented |%badname |
  32. +=========+=======+===========+===========+============+=========+
  33. |module |1 |NC |NC |0.00 |0.00 |
  34. +---------+-------+-----------+-----------+------------+---------+
  35. |class |2 |NC |NC |0.00 |0.00 |
  36. +---------+-------+-----------+-----------+------------+---------+
  37. |method |9 |NC |NC |66.67 |0.00 |
  38. +---------+-------+-----------+-----------+------------+---------+
  39. |function |1 |NC |NC |0.00 |0.00 |
  40. +---------+-------+-----------+-----------+------------+---------+
  41.  
  42.  
  43.  
  44. Raw metrics
  45. -----------
  46.  
  47. +----------+-------+------+---------+-----------+
  48. |type |number |% |previous |difference |
  49. +==========+=======+======+=========+===========+
  50. |code |79 |73.15 |NC |NC |
  51. +----------+-------+------+---------+-----------+
  52. |docstring |8 |7.41 |NC |NC |
  53. +----------+-------+------+---------+-----------+
  54. |comment |4 |3.70 |NC |NC |
  55. +----------+-------+------+---------+-----------+
  56. |empty |17 |15.74 |NC |NC |
  57. +----------+-------+------+---------+-----------+
  58.  
  59.  
  60.  
  61. Duplication
  62. -----------
  63.  
  64. +-------------------------+------+---------+-----------+
  65. | |now |previous |difference |
  66. +=========================+======+=========+===========+
  67. |nb duplicated lines |0 |NC |NC |
  68. +-------------------------+------+---------+-----------+
  69. |percent duplicated lines |0.000 |NC |NC |
  70. +-------------------------+------+---------+-----------+
  71.  
  72.  
  73.  
  74. Messages by category
  75. --------------------
  76.  
  77. +-----------+-------+---------+-----------+
  78. |type |number |previous |difference |
  79. +===========+=======+=========+===========+
  80. |convention |12 |NC |NC |
  81. +-----------+-------+---------+-----------+
  82. |refactor |3 |NC |NC |
  83. +-----------+-------+---------+-----------+
  84. |warning |3 |NC |NC |
  85. +-----------+-------+---------+-----------+
  86. |error |1 |NC |NC |
  87. +-----------+-------+---------+-----------+
  88.  
  89.  
  90.  
  91. Messages
  92. --------
  93.  
  94. +-----------------------+------------+
  95. |message id |occurrences |
  96. +=======================+============+
  97. |missing-docstring |7 |
  98. +-----------------------+------------+
  99. |superfluous-parens |2 |
  100. +-----------------------+------------+
  101. |no-self-use |2 |
  102. +-----------------------+------------+
  103. |invalid-name |2 |
  104. +-----------------------+------------+
  105. |bare-except |2 |
  106. +-----------------------+------------+
  107. |unused-variable |1 |
  108. +-----------------------+------------+
  109. |too-few-public-methods |1 |
  110. +-----------------------+------------+
  111. |multiple-statements |1 |
  112. +-----------------------+------------+
  113. |import-error |1 |
  114. +-----------------------+------------+
  115.  
  116.  
  117.  
  118. Global evaluation
  119. -----------------
  120. Your code has been rated at 6.41/10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement