Branch Coverage

blib/lib/Hades/Realm/Rope.pm
Criterion Covered Total %
branch 36 58 62.0


line true false branch
8 12 1 scalar @_ == 1 ? :
15 0 0 defined $args{$accessor} ? :
18 0 0 $accessors{$accessor}{'builder'} ? :
20 0 0 unless (not $accessors{$accessor}{'required'} or defined $value)
36 0 0 wantarray ? :
49 0 4 wantarray ? :
54 2 22 if ((ref $meta || '') ne "HASH")
55 2 0 defined $meta ? :
62 0 22 $meta->{'is'} =~ /^ro$/ ? :
63 19 3 if $meta->{'isa'}
65 17 115 $meta->{$_} ? :
68 9 13 if $meta->{'default'}
79 2 5 if (not defined $name or ref $name)
80 2 0 defined $name ? :
84 2 3 if (not defined $content or ref $content)
85 2 0 defined $content ? :
96 2 8 if (not defined $name or ref $name)
97 2 0 defined $name ? :
101 2 6 if (not defined $content or ref $content)
102 2 0 defined $content ? :
113 2 2 if (not defined $name or ref $name)
114 2 0 defined $name ? :
118 2 0 if (not defined $content or ref $content)
119 2 0 defined $content ? :
124 0 0 $content =~ /^\w\w+$/ ? :
130 2 11 if (not defined $name or ref $name)
131 2 0 defined $name ? :
135 2 9 if (not defined $content or ref $content)
136 2 0 defined $content ? :