| lib/MooseX/Extended/Core.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 40 | 64 | 62.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 86 | 119 | 19 | 4 | exists $args->{$features} and not ref $args->{$features} |
| 281 | 0 | 5 | 0 | $^V and $^V lt $required->{'version'} |
| 374 | 3 | 0 | 20 | 1 == length $opt_for{$option} and 1 == $opt_for{$option} |
| 392 | 38 | 0 | 11 | exists $opt_for{'writer'} and defined $opt_for{'writer'} |
| 398 | 49 | 0 | 0 | not exists $opt_for{'accessor'} || exists $opt_for{'writer'} || exists $opt_for{'default'} || exists $opt_for{'builder'} || defined $opt_for{'init_arg'} and $opt_for{'is'} eq "ro" |
| 408 | 0 | 0 | 0 | $] ge "5.028" and warnings::enabled_at_level("MooseX::Extended::naked_fields", $call_level) |
| 429 | 2 | 0 | 2 | 1 == length $clone and 1 == $clone |
| line | l | !l | condition |
|---|---|---|---|
| 102 | 3 | 68 | $args->{'call_level'} //= 0 |
| 295 | 3 | 29 | $opt_for{'is'} //= "ro" |
| 296 | 7 | 25 | $opt_for{'required'} //= 1 |
| 297 | 0 | 32 | $opt_for{'_call_level'} //= 1 |
| 311 | 4 | 12 | $opt_for{'is'} //= "ro" |
| 312 | 0 | 16 | $opt_for{'_call_level'} //= 1 |
| 326 | 1 | 14 | $options{'init_arg'} //= undef |
| 328 | 1 | 11 | $options{'lazy'} //= 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 104 | 3 | 68 | 0 | $args->{'for_class'} // $package |
| 302 | 5 | 31 | 0 | $options{'init_arg'} //= $attr |
| 327 | 3 | 9 | 3 | $options{'builder'} or $options{'default'} |
| 398 | 1 | 28 | 0 | exists $opt_for{'accessor'} || exists $opt_for{'writer'} || exists $opt_for{'default'} || exists $opt_for{'builder'} || defined $opt_for{'init_arg'} |
| 449 | 0 | 4 | 0 | delete $opt_for{'reader'} // $name |
| 450 | 1 | 3 | 0 | delete $opt_for{'writer'} // $reader |
| 460 | 6 | 5 | 0 | $use_method || $use_coderef |
| 468 | 0 | 0 | 0 | $use_method || $use_coderef |
| 521 | 0 | 0 | 226 | $MooseX::Extended::Debug // $ENV{'MOOSEX_EXTENDED_DEBUG'} |