Metric Tool for Python

Sylvain Thenault sylvain.thenault at
Mon Jul 5 14:46:07 CEST 2004

On Mon, 05 Jul 2004 14:41:38 +0200, Miguel Lopez wrote:

> Hello,
> is there a metric tool for python, which computes measures like cyclomatic
> complexity number, coupling, cohesion, Halstead,...?

you can take a look at pylint [1] which does some statistics on python
code. It doesn't compute all measures you wish but it shouldn't be that
hard to extend it to do so (And i would be happy to help and to include
such a contribution to the package ;)


Sylvain Thénault                               LOGILAB, Paris (France).

More information about the Python-list mailing list