blib/lib/Catalyst/Helper.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 35 | 40.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
29 | 3 | 0 | 0 | -d 'inc/.author' and -f 'lib/Catalyst/Helper.pm' |
245 | 25 | 3 | 5 | -e $file and -s _ |
line | l | !l | condition |
---|---|---|---|
106 | 2 | 0 | $ENV{'AUTHOR'} || eval { |
140 | 0 | 0 | $ENV{'AUTHOR'} || eval { |
160 | 0 | 0 | shift() || 'Missing name for model/view/controller' |
309 | 4 | 19 | $vars ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
85 | 0 | 0 | 2 | $name =~ /[^\w:]/ or $name =~ /^\d/ |
0 | 0 | 2 | $name =~ /[^\w:]/ or $name =~ /^\d/ or $name =~ /\b:\b|:{3,}/ | |
106 | 0 | 2 | 0 | $self->{'author'} ||= $ENV{'AUTHOR'} || eval { |
111 | 1 | 0 | 1 | $self->{'scripts'} || $self->{'makefile'} |
142 | 0 | 0 | 0 | $self->{'base'} ||= dir($FindBin::Bin, '..') |
250 | 0 | 5 | 0 | $self->{'.newfiles'} or $self->{'scripts'} |
5 | 0 | 0 | $self->{'.newfiles'} or $self->{'scripts'} or $self->{'makefile'} |