Branch Coverage

blib/lib/Mojo/Webqq/Base.pm
Criterion Covered Total %
branch 17 36 47.2


line true false branch
29 0 133 unless my $class = ref $self || $self and $attrs
31 0 133 if ref $value and ref $value ne 'CODE'
34 9 124 ref $attrs eq 'ARRAY' ? :
35 0 214 unless $attr =~ /^[a-zA-Z_]\w*$/
38 35 179 if (ref $value) { }
66 113 elsif (defined $value) { }
41 0 0 exists $_[0]{$attr} ? :
0 0 if @_ == 1
49 0 0 exists $_[0]{$attr} ? :
0 0 if @_ == 1
57 0 0 if @_ == 1
64 15 10 unless my $flag = shift()
67 2 8 if ($flag eq '-base') { }
0 8 elsif ($flag eq '-strict') { }
2 6 elsif (my $file = $flag and not $flag->can('new')) { }
79 10 0 if ($flag)
93 0 0 @_ > 1 ? :
0 0 @_ ? :