blib/lib/PPI/HTML/Fragment.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 18 | 55.5 |
line | true | false | branch |
---|---|---|---|
22 | 0 | 40 | ref $_[0] ? : |
23 | 40 | 0 | defined $_[0] ? : |
24 | 0 | 40 | unless my $css = shift() |
52 | 16 | 20 | unless $self->css |
58 | 4 | 0 | defined $_[0] ? : |
78 | 36 | 0 | defined $_[1] ? : |
89 | 0 | 20 | unless my $tag = shift() |
90 | 20 | 0 | ref $_[0] eq 'HASH' ? : |
91 | 20 | 0 | defined $attr{$_} ? : |