lib/HTML/TokeParser/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 18 | 83.3 |
line | true | false | branch |
---|---|---|---|
36 | 11 | 8 | 1 == @args ? : |
49 | 0 | 2 | if $@ |
51 | 1 | 1 | unless defined $content |
56 | 1 | 7 | unless (exists $sources{$source_type}) |
66 | 3 | 223 | unless defined $token |
67 | 223 | 0 | if (my $factory_class = $FACTORY_CLASSES{$$token[0]}) { } |
80 | 0 | 12 | unless defined $token |
81 | 2 | 10 | $$token[0] =~ m[^/] ? : |
90 | 1 | 6 | unless ($count =~ /^\d+$/) |