Ticket #55 (new enhancement)

Opened 2 years ago

Add cyclomatic complexity metric to the code kwalitee score

Reported by: mk Assigned to: mk
Priority: major Milestone:
Component: Code kwalitee index Version: 0.5
Keywords: Cc:

Description

Cyclomatic complexity can be useful for checking "understandability" and maintainability of a project, at least on the source code level (as opposed to general design level).

Check out wikipedia definition.

This paper on CC presents a sample of threshold values of CC compared to risk evaluation, which we may use to describe a meaning of a CC number.

There exist a sample implementation of CC metric for Python programs (written in Perl :). I attached an archive with this script to this ticket.

Attachments

complexity-of-python.tar.gz (2.9 kB) - added by mk on 04/13/07 08:51:48.
"Complexity" script for calculating CC of Python programs

Change History

04/13/07 08:51:48 changed by mk

  • attachment complexity-of-python.tar.gz added.

"Complexity" script for calculating CC of Python programs