| blib/lib/Circle/Collection.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 49 | 34.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 180 | 2 | 2 | 0 | exists $attrs{$_}{'default'} and $$item{$_} = $attrs{$_}{'default'} |
| 182 | 2 | 2 | 0 | defined $$opts{$_} and $$item{$_} = $$opts{$_} |
| 216 | 0 | 0 | 0 | exists $$opts{$_} and $mod{$_} = $$opts{$_} |
| 217 | 0 | 0 | 0 | exists $$opts{"no-$_"} and $mod{$_} = $attrs{$_}{'default'} |
| 307 | 0 | 0 | 0 | $method_load and $self->can($method_load) |
| 323 | 0 | 0 | 0 | defined $$item{$_} and $$n{$_} = $$item{$_} |
| 325 | 0 | 0 | 0 | $method_store and $self->can($method_store) |
| line | l | !l | condition |
|---|---|---|---|
| 264 | 52 | 12 | defined $commands{$_} or delete $commands{$_} |
| 281 | 4 | 8 | $$config{'type'} || 'array' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 29 | 0 | 16 | 0 | $args{'desc_plural'} || $name |
| 30 | 0 | 0 | 16 | $args{'desc_single'} || do { $_ = $name; s/s$//; $_ } |
| 152 | 24 | 0 | 8 | $attrs{$_}{'desc'} || $_ |
| 280 | 8 | 4 | 4 | not defined $config or $config |
| 284 | 8 | 4 | 0 | $type_array or $type_hash |
| 307 | 0 | 0 | 0 | ref $method_load or $method_load and $self->can($method_load) |
| 317 | 0 | 0 | 0 | $$ynode{$name} ||= $type_array ? [] : 'YAML::Node'->new({}) |
| 325 | 0 | 0 | 0 | ref $method_store or $method_store and $self->can($method_store) |