| lib/Spoon/ContentObject.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 22 | 27.2 |
| line | true | false | branch |
|---|---|---|---|
| 10 | 2 | 2 | if (@_) |
| 38 | 0 | 4 | if (not $self->is_readable) |
| 45 | 0 | 0 | if (not $self->is_writable) |
| 59 | 4 | 0 | $self->active ? : |
| 67 | 0 | 0 | unless my $metadata = $$self{'metadata'} |
| 75 | 0 | 0 | unless $self->store_content |
| 77 | 0 | 0 | if $self->force |
| 83 | 2 | 0 | if ($content) |
| 88 | 0 | 2 | unless ($self->force) |
| 89 | 0 | 0 | if $file->exists and $content eq $file->all |
| 97 | 0 | 0 | unless my $metadata = $$self{'metadata'} |