line |
l |
!l&&r |
!l&&!r |
condition |
72
|
3 |
0 |
177 |
$path and $path =~ m[^https?://] or blessed $path and $path->isa('URI')
|
80
|
0 |
0 |
3 |
$type || do {
croak("Unable to determine type of $uri") unless 'File::Assets::Util'->parse_type($uri->path)
}
|
93
|
65 |
103 |
0 |
$type || 'File::Assets::Util'->parse_type($path)
|
125
|
26 |
89 |
0 |
$$self{'uri'} ||= $self->rsc->uri
|
137
|
204 |
128 |
0 |
$$self{'file'} ||= $self->rsc->file
|
149
|
105 |
112 |
0 |
$$self{'path'} ||= $self->rsc->path
|
160
|
13 |
59 |
0 |
$$self{'content'} || $self->_content->content
|
192
|
14 |
117 |
0 |
$$self{'digest'} || $self->_content->digest
|
244
|
219 |
126 |
0 |
$$self{'_content'} ||= do {
if (my $cache = $$self{'cache'}) {
$cache->content($self->file);
}
else {
'File::Assets::Asset::Content'->new($self->file);
}
}
|
262
|
212 |
0 |
12 |
$self->path || $self->uri || ($$self{'key'} ||= '%' . $self->digest)
|