line |
true |
false |
branch |
39
|
3 |
3 |
unless ($self->_is_a($self->{'format'}, 'CSS::Object::Format'))
|
55
|
0 |
1 |
unless $self->_is_a($elem, 'CSS::Object::Element')
|
69
|
0 |
9 |
unless defined $rule
|
70
|
0 |
9 |
unless $self->_is_a($rule, 'CSS::Object::Rule')
|
81
|
0 |
2 |
if (@_)
|
84
|
0 |
0 |
unless $format =~ /^CSS\::Object\::Format/ or $self->_is_a($format, 'CSS::Object::Format')
|
104
|
0 |
1 |
if $self->_is_object($self->{'_builder'})
|
120
|
6 |
125 |
if (@_)
|
124
|
3 |
3 |
if (ref $val) { }
|
|
3 |
0 |
elsif (not ref $val and index($val, '::') != -1) { }
|
131
|
0 |
3 |
unless $self->_load_class($val)
|
142
|
0 |
0 |
unless (shift())->format($format)
|
152
|
0 |
1 |
unless $name
|
157
|
0 |
3 |
unless $rule->isa('CSS::Object::Rule')
|
162
|
1 |
4 |
if ($sel->name eq $name)
|
170
|
0 |
1 |
if (Want::want('OBJECT')) { }
|
|
0 |
1 |
elsif (Want::want('LIST')) { }
|
172
|
0 |
0 |
$found->length > 0 ? :
|
188
|
0 |
5 |
unless $self->_load_class("$parser_class")
|
203
|
0 |
0 |
unless defined $o
|
215
|
0 |
1 |
unless defined $o
|
223
|
0 |
5 |
unless defined $o
|
231
|
0 |
15 |
unless defined $o
|
240
|
0 |
26 |
unless defined $o
|
249
|
0 |
47 |
unless defined $o
|
257
|
0 |
0 |
unless defined $o
|
289
|
0 |
5 |
if (ref $path) { }
|
|
5 |
0 |
elsif ($path) { }
|
291
|
0 |
0 |
if (ref $path eq 'ARRAY')
|
305
|
5 |
0 |
if ($source)
|
322
|
0 |
0 |
if (ref $data) { }
|
|
0 |
0 |
elsif (length $data) { }
|
324
|
0 |
0 |
if (ref $data eq 'ARRAY')
|
340
|
27 |
0 |
$_->isa('CSS::Object::Rule') ? :
|