[TIP] McCabe Cyclomatic complexity

Stefano Masini stefano.masini at pragma2000.com
Mon Apr 28 02:55:05 PDT 2008


On Mon, Apr 28, 2008 at 11:34 AM, Michał Kwiatkowski
<constant.beta at gmail.com> wrote:
>  There is a tool written in Python for calculating cyclomatic
>  complexity of Python code. You can find it here:
>  http://www.traceback.org/2008/03/31/measuring-cyclomatic-complexity-of-python-code/
>  . It uses the compiler module to parse Python source code.

Thanks!
That's exactly what I was looking for.

Cheers
Stefano


More information about the testing-in-python mailing list