Branch Coverage

blib/lib/Test/Stream.pm
Criterion Covered Total %
branch 49 56 87.5


line true false branch
24 1 121 unless @_
42 114 1645 if ($type eq 'CODE')
49 5 1640 $arg =~ s/^([!:-]?)\+/$1/ ? :
52 3 1642 if ($arg =~ /^!(.*)$/)
53 1 2 $full ? :
59 163 1479 if ($arg =~ /^-(.*)$/)
60 1 162 $full ? :
68 2 1477 if ($arg =~ /^:(.*)$/)
69 0 2 $full ? :
78 0 1 unless $fname eq $file
81 0 2 $ENV{'TS_LB_PATH'} ? :
89 7 1470 if ($arg =~ /^[a-z]/)
92 1 6 unless $class->can($method)
100 1467 3 unless $full
106 118 1274 if @_ and ref $_[0] || $_[0] && $_[0] eq '*'
109 17 0 $val eq '*' ? :
17 1453 if defined $val and not ref $val
113 1462 8 unless $args{$arg}
116 118 1352 if defined $val
121 114 1464 if ($type eq 'CODE')
126 4 1460 if $skip{$arg}
132 2 1458 unless (eval { do { require $file; 1 } })
140 546 912 if ($mod->can('load_ts_plugin')) { }
912 0 elsif (my $meta = 'Test::Stream::Exporter::Meta'->get($mod)) { }
0 0 elsif (@$import) { }
164 3 2 unless $args->{'Test::Stream::Plugin::Class'}
179 3 1 unless $args->{'Test::Stream::Plugin::SkipWithout'}
195 1 1 unless $args->{'Test::Stream::Plugin::SRand'}