Skip to content

Instantly share code, notes, and snippets.

@rmax
Created December 24, 2009 22:31
Show Gist options
  • Save rmax/263399 to your computer and use it in GitHub Desktop.
Save rmax/263399 to your computer and use it in GitHub Desktop.
************* Module gist
W0511: 24: TODO: handle exceptions
W0511: 56: TODO: extend usage examples
W0511: 84: TODO: allow username token by command line?
W0511:104: TODO: git clone option
W0511:114: TODO: maybe handle multiple files in gist
W0511:123: TODO: better way to known if gist exists
W0511:190: TODO: handle response errors
R0914: 37:main: Too many local variables (27/15)
R0912: 37:main: Too many branches (29/12)
R0915: 37:main: Too many statements (82/50)
Report
======
108 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 |132 |81.48 |132 |= |
+----------+-------+------+---------+-----------+
|docstring |8 |4.94 |8 |= |
+----------+-------+------+---------+-----------+
|comment |18 |11.11 |18 |= |
+----------+-------+------+---------+-----------+
|empty |4 |2.47 |4 |= |
+----------+-------+------+---------+-----------+
External dependencies
---------------------
::
optparse
\-OptionParser (gist)
\-make_option (gist)
Statistics by type
------------------
+---------+-------+-----------+-----------+------------+---------+
|type |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module |1 |1 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|class |0 |0 |= |0.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|method |0 |0 |= |0.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|function |5 |5 |= |100.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
Messages by category
--------------------
+-----------+-------+---------+-----------+
|type |number |previous |difference |
+===========+=======+=========+===========+
|convention |0 |0 |= |
+-----------+-------+---------+-----------+
|refactor |3 |3 |= |
+-----------+-------+---------+-----------+
|warning |7 |7 |= |
+-----------+-------+---------+-----------+
|error |0 |0 |= |
+-----------+-------+---------+-----------+
Messages
--------
+-----------+-----------+
|message id |occurences |
+===========+===========+
|W0511 |7 |
+-----------+-----------+
|R0915 |1 |
+-----------+-----------+
|R0914 |1 |
+-----------+-----------+
|R0912 |1 |
+-----------+-----------+
Global evaluation
-----------------
Your code has been rated at 9.07/10 (previous run: 9.07/10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment