line |
!l |
l&&!r |
l&&r |
condition |
290
|
10 |
13 |
1 |
defined $self->path and $path ne $self->path
|
|
10 |
0 |
13 |
defined $self->path and $path eq $self->path
|
|
5 |
1 |
4 |
$opts{'overwrite'} and -d $path
|
439
|
0 |
0 |
22 |
defined $filename and defined $data
|
467
|
17 |
1 |
1 |
is_string($opts{'md5'}) and not $opts{'md5'} =~ /^[0-9a-f]{32}$/
|
544
|
0 |
0 |
4 |
defined $url and $size =~ /^[0-9]+$/
|
|
0 |
0 |
4 |
defined $url and $size =~ /^[0-9]+$/ and defined $filename
|
586
|
0 |
0 |
1 |
defined $fetch and ref $fetch
|
|
0 |
0 |
1 |
defined $fetch and ref $fetch and ref($fetch) =~ /^Catmandu::BagIt::Fetch/
|
615
|
0 |
0 |
188 |
defined $name and defined $values
|
730
|
0 |
0 |
10 |
$self->version and $self->version =~ /^[0-9]+\.[0-9]+$/
|
735
|
0 |
0 |
10 |
$self->encoding and $self->encoding eq 'UTF-8'
|
763
|
1 |
0 |
9 |
$self->errors == 0 and @missing == 0
|
777
|
0 |
0 |
74 |
defined $path and -d $path
|
1226
|
0 |
20 |
3 |
defined $fetch_str and length $fetch_str
|