Branch Coverage

lib/HTML/Object/Declaration.pm
Criterion Covered Total %
branch 2 10 20.0


line true false branch
32 0 18 unless exists $self->{'name'} and length $self->{'name'}
35 0 18 unless $self->SUPER::init(@_)
43 0 0 if (not $self->original->is_empty) { }
50 0 0 defined $name && length "$name" ? :
61 0 0 if (my $rv = $self->original->match(qr/^<!DOCTYPE[[:blank:]\h]+(\w+)/))