Branch Coverage

blib/lib/GitInsight/Obj.pm
Criterion Covered Total %
branch 7 32 21.8


line true false branch
24 0 4 unless my $flag = shift()
27 2 2 if ($flag eq '-base') { }
2 0 elsif ($flag eq '-strict') { }
0 0 elsif (my $file = $flag and not $flag->can('new')) { }
39 2 2 if ($flag)
48 0 4 if ($feature)
55 0 0 unless my $class = ref $self || $self and $attrs
57 0 0 if ref $default and ref $default ne 'CODE'
60 0 0 ref $attrs eq 'ARRAY' ? :
61 0 0 unless $attr =~ /^[a-zA-Z_]\w*$/
68 0 0 if (not defined $default) { }
79 0 0 ref $default eq 'CODE' ? :
91 0 0 if $ENV{'GitInsight_OBJ_DEBUG'}
93 0 0 unless eval "$code;1"
99 0 0 @_ > 1 ? :
0 0 @_ ? :