| 1 |
.. Radon documentation master file, created by |
| 2 |
sphinx-quickstart on Thu Oct 11 16:08:21 2012. |
| 3 |
You can adapt this file completely to your liking, but it should at least |
| 4 |
contain the root `toctree` directive. |
| 5 |
|
| 6 |
Welcome to Radon's documentation! |
| 7 |
================================= |
| 8 |
|
| 9 |
.. image:: http://img.shields.io/travis/rubik/radon/master.svg?style=flat |
| 10 |
:alt: Travis-CI badge |
| 11 |
:target: https://travis-ci.org/rubik/radon |
| 12 |
|
| 13 |
.. image:: http://img.shields.io/coveralls/rubik/radon/master.svg?style=flat |
| 14 |
:alt: Coveralls badge |
| 15 |
:target: https://coveralls.io/r/rubik/radon?branch=master |
| 16 |
|
| 17 |
.. image:: https://pypip.in/v/radon/badge.png?style=flat |
| 18 |
:alt: PyPI latest version badge |
| 19 |
:target: https://pypi.python.org/pypi/radon |
| 20 |
|
| 21 |
.. image:: https://pypip.in/d/radon/badge.png?style=flat |
| 22 |
:alt: PyPI downloads badge |
| 23 |
:target: https://pypi.python.org/pypi/radon |
| 24 |
|
| 25 |
.. image:: https://pypip.in/format/radon/badge.svg?style=flat |
| 26 |
:target: http://pythonwheels.com/ |
| 27 |
:alt: Download format |
| 28 |
|
| 29 |
.. image:: https://pypip.in/license/radon/badge.png?style=flat |
| 30 |
:alt: Radon license |
| 31 |
:target: https://pypi.python.org/pypi/radon |
| 32 |
|
| 33 |
|
| 34 |
---- |
| 35 |
|
| 36 |
Radon is a Python tool which computes various code metrics. Supported metrics are: |
| 37 |
|
| 38 |
* raw metrics: SLOC, comment lines, blank lines, &c. |
| 39 |
* Cyclomatic Complexity (i.e. McCabe's Complexity) |
| 40 |
* Halstead metrics (all of them) |
| 41 |
* the Maintainability Index (a Visual Studio metric) |
| 42 |
|
| 43 |
Radon can be used either from the command line or programmatically through its |
| 44 |
API. |
| 45 |
|
| 46 |
Contents: |
| 47 |
|
| 48 |
.. toctree:: |
| 49 |
:maxdepth: 2 |
| 50 |
|
| 51 |
intro |
| 52 |
commandline |
| 53 |
flake8 |
| 54 |
api |
| 55 |
changelog |
| 56 |
|
| 57 |
|
| 58 |
Indices and tables |
| 59 |
================== |
| 60 |
|
| 61 |
* :ref:`genindex` |
| 62 |
* :ref:`modindex` |
| 63 |
* :ref:`search` |
| 64 |
|