Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jplindstrom (594)

jplindstrom
  (email not shown publicly)

Journal of jplindstrom (594)

Monday November 26, 2007
04:14 PM

Crappy code

[ #34981 ]

Google Video of Alberto Savoia on Crappy Code.

The basic premise of the CRAP metric is:
Complexity bad
Tests good

Test coverage is measured eminently with Devel::Cover. But how do we measure complexity of Perl code?

Perl::Critic implements the McCabe cyclomatic complexity thingy.

Does anyone have any actual experience whether that makes sense and is a useful metric? In general? For Perl?

Or what else can we use to indicate the crappiness of Perl code?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.