Branch Coverage

blib/lib/Venus/Test.pm
Criterion Covered Total %
branch 123 286 43.0


line true false branch
47 0 1370 unless @{$self->find(undef, $item);}
87 0 15 if $text
88 0 15 if @args
99 3 19 unless $from->can("login")
1 5 if not $from->can("password")
0 4 unless $from->can("startup")
0 3 if not $from->can("shutdown")
3 1 if $_[1]->isa("Example")
1 4 $self->login && $self->password ? :
103 78 2683 if $dollarat
105 2683 0 wantarray ? :
127 0 3505 unless $self->can($method)
129 2789 9028 ref $_ ? :
157 21 0 if ref $that ne "Regexp"
193 11256 66514 if $caller[1] =~ /$regexp/u
233 0 1 if (@{$self->find(undef, "layout");})
261 20 0 if ($self->can($method))
265 0 0 $list ? :
267 0 0 unless @$results or grep(($name eq $_), "messages")
281 0 0 if $signature
285 0 0 if (not $text) { }
292 0 0 if ($metadata)
294 0 0 if ($metadata = eval $metadata)
295 0 0 if (my $since = $metadata->{'since'})
308 0 0 if ($signature or $metadata or $examples) { }
317 0 0 if (@output)
318 0 0 if ($textual) { }
322 0 0 $self->count({'list', 'heading'}) ? :
348 1 4868 unless $self->can($method)
350 1273 3595 wantarray ? :
358 0 87 unless @$data
371 0 0 unless @$data
381 2 15 unless @$data
391 1 87 unless @$data
401 0 87 unless @$data
411 1 0 unless @$data
424 0 30 unless @$data
437 0 2705 unless @$data
450 0 15 unless @$data
463 0 1 unless @$data
476 4 0 unless @$data
486 0 84 unless @$data
496 0 49 unless @$data
506 0 28 unless @$data
516 0 0 unless @$data
526 2 0 unless @$data
536 1 87 unless @$data
549 0 0 unless @$data
562 0 6 unless @$data
575 0 5 unless @$data
585 0 180 unless @$data
598 0 72 unless @$data
608 0 87 unless @$data
618 1 0 unless @$data
631 0 6 unless @$data
641 0 1136 unless @$data
651 0 88 unless @$data
661 1 0 unless @$data
671 0 217 unless $self->can($method)
673 42 175 wantarray ? :
683 1 0 $text ? :
691 0 0 $is eq 'ro' ? :
692 0 0 $pre eq 'req' ? :
695 0 0 $def ? :
710 0 0 if $signature
714 0 0 unless $text
718 0 0 if ($metadata)
720 0 0 if ($metadata = eval $metadata)
721 0 0 if (my $since = $metadata->{'since'})
739 0 1 $self->text('attributes') ? :
753 0 0 unless $text
761 0 0 unless @output
763 0 0 if (@output)
783 0 1 if (@output)
801 87 1 $text ? :
811 1 0 $text ? :
821 0 1 $text ? :
831 0 0 unless $text
851 0 1 if (@output)
869 15 0 $text ? :
879 0 0 if $signature
883 0 0 unless $text
903 0 1 if (@output)
922 1 0 if $signature
926 0 1 unless $text
930 1 0 if ($metadata)
932 1 0 if ($metadata = eval $metadata)
933 1 0 if (my $since = $metadata->{'since'})
960 1 0 if (@output)
999 0 1 unless @output
1018 0 1 unless @output
1037 1 0 unless @output
1055 87 1 $text ? :
1065 0 0 if $signature
1069 0 0 unless $text
1089 0 1 if (@output)
1108 5 0 if $signature
1112 0 5 unless $text
1116 5 0 if ($metadata)
1118 5 0 if ($metadata = eval $metadata)
1119 5 0 if (my $since = $metadata->{'since'})
1146 1 0 if (@output)
1164 2 0 $name ? :
1174 0 0 unless $text
1194 0 1 if (@output)
1212 1 0 $text ? :
1222 0 1 $text ? :
1232 2 0 $text ? :
1242 0 0 $text ? :
1252 0 1 $text ? :
1387 1048 1655 if ($data =~ /# given: synopsis/u)
1741 1 239 unless $self->can($method)
1755 1 0 unless ($error)
1769 0 0 unless ($error)
1783 0 2 unless ($error)
1797 87 1 unless ($error)
1811 1 0 unless ($error)
1825 0 1 unless ($error)
1839 0 0 unless ($error)
1856 15 0 if @$data
1868 0 0 unless ($error)
1882 1 0 unless ($error)
1896 0 4 unless ($error)
1910 0 0 unless ($error)
1924 3 0 unless ($error)
1938 2 0 unless ($error)
1952 2 0 unless ($error)
1966 0 0 unless ($error)
1980 0 2 unless ($error)
1994 87 1 unless ($error)
2008 0 0 unless ($error)
2022 6 0 unless ($error)
2036 5 0 unless ($error)
2050 4 0 unless ($error)
2064 0 0 unless ($error)
2088 1 0 unless ($error)
2103 0 1 unless ($error)
2117 6 0 unless ($error)
2131 2 0 unless ($error)
2145 2 0 unless ($error)
2159 0 1 unless ($error)
2163 1 0 unless (@$output)
2165 0 1 if (my $version = ($name->[0] =~ /([:\w]+)/mu)[0]->VERSION)