blib/lib/Rose/HTML/Object.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 41 | 56 | 73.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
294 | 0 | 805 | 1055 | $children && @$children |
311 | 462 | 1 | 1 | $old_parent and &Scalar::Util::refaddr($old_parent) != &Scalar::Util::refaddr($new_parent) |
532 | 1 | 0 | 1 | @_ == 1 and ref $_[0] eq "HASH" |
589 | 71 | 2 | 17 | $error and length "$error" |
912 | 1749 | 0 | 0 | $self->html_attr_is_valid($name) and $class->autoload_html_attr_methods |
1014 | 43 | 0 | 3 | ref $_[0] && ref $_[0] eq 'HASH' |
1075 | 2 | 1 | 135 | $class->html_attr_is_valid($name) and $class->autoload_html_attr_methods |
line | l | !l | condition |
---|---|---|---|
403 | 4 | 2 | $args{'args'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
402 | 6 | 0 | 0 | $args{'msg_class'} || $self->localizer->message_class |
474 | 73 | 27062 | 5 | not $self->validate_html_attrs or $self->html_attr_is_valid($attr) |
555 | 75 | 27062 | 0 | not $self->validate_html_attrs or $self->html_attr_is_valid($attr) |
664 | 3377 | 6 | 242 | defined $value or exists $boolean_attrs{$attr} |
713 | 1794 | 6 | 108 | defined $value or exists $boolean_attrs{$attr} |
748 | 863 | 7 | 491 | $self->has_children or not $self->is_self_closing |
764 | 190 | 6 | 301 | $self->has_children or not $self->is_self_closing |
895 | 0 | 1 | 0 | ref $self_or_class || $self_or_class |
907 | 5362 | 4488 | 0 | ref $self || $self |
929 | 0 | 0 | 0 | ref $_[0] || $_[0] |
1016 | 3 | 43 | 0 | $options->{'target_class'} || (caller)[0] |