Perl::Metrics::Simple 0.031

2006-12-14 Thread Matisse Enzer
By the way - I've put a bug-fix version up on the CPAN: http://search.cpan.org/dist/Perl-Metrics-Simple/ Thecountperl script in 0.031 fixes the bug Ovid found. -Matisse

Re: Perl::Metrics::Simple 0.30

2006-12-14 Thread Matisse Enzer
On Dec 14, 2006, at 3:05 PM, Michael G Schwern wrote: Matisse Enzer wrote: sub complexity_of_six { my $bar = shift; my $total = 0; my $type = ref $bar; if ( ! $type ) { $total = $bar; } elsif ( $type eq 'ARRAY' ) { foreach my $

Re: Perl::Metrics::Simple 0.30

2006-12-14 Thread Michael G Schwern
Matisse Enzer wrote: >sub complexity_of_six { >my $bar = shift; >my $total = 0; >my $type = ref $bar; >if ( ! $type ) { >$total = $bar; >} >elsif ( $type eq 'ARRAY' ) { >foreach my $baz ( @{$bar} ) { >$total

Re: Perl::Metrics::Simple 0.30

2006-12-14 Thread Matisse Enzer
On Dec 10, 2006, at 1:16 AM, Ovid wrote: --- Matisse Enzer <[EMAIL PROTECTED]> wrote: McCabe Complexity - Code not in any subroutine:: min: 1 max 10 mean: 1.00 std. deviation: 2.54 median: 1.00 Subroutines/