line |
true |
false |
branch |
19
|
25 |
20 |
if ($class ne 'Test::Classy::Base') |
20
|
23 |
2 |
unless grep {$_ eq 'base';} @flags |
26
|
0 |
22 |
if $INC{'Test/Stream/Toolset.pm'} |
32
|
22 |
594 |
if $export =~ /^\W/ |
36
|
3 |
1 |
unless $_ eq 'ignore' |
|
2 |
20 |
if (grep {$_ eq 'ignore_me' unless $_ eq 'ignore';} @flags) |
40
|
20 |
2 |
if ($class eq 'Test::Classy::Base') |
52
|
23 |
53 |
if ($attr eq 'Test') { } |
|
29 |
24 |
elsif (my($dummy, $plan) = $attr =~ /^Tests?\((['"]?)(\d+|no_plan)\1\)$/) { } |
|
19 |
5 |
elsif (my($type, $dummy2, $reason) = $attr =~ /^(Skip|TODO)(?:\((['"]?)(.+)\)\2)?$/) { } |
65
|
4 |
52 |
unless $stash{'plan'} |
67
|
3 |
49 |
if ($stash{'plan'} eq 'no_plan') |
68
|
1 |
2 |
unless Test::Classy::Util::_planned() |
92
|
1 |
2 |
if exists $$tests{$name}{$moniker} |
102
|
2 |
16 |
if (${"${class}::_ignore_me";}) |
129
|
2 |
16 |
if $class->_should_be_ignored |
140
|
0 |
37 |
if $sym{$name} =~ /^(?:initialize|finalize)$/ |
142
|
6 |
31 |
if (my $reason = $class->_should_skip_this_class) |
159
|
7 |
24 |
if (exists $$test{'TODO'}) { } |
|
5 |
19 |
elsif (exists $$test{'Skip'}) { } |
160
|
4 |
3 |
defined $$test{'TODO'} ? : |
164
|
1 |
6 |
if (exists $$test{'Skip'}) { } |
180
|
3 |
2 |
defined $$test{'Skip'} ? : |
197
|
3 |
22 |
if ($@) |
200
|
3 |
0 |
if ($rest) |
201
|
3 |
0 |
if (exists $$test{'TODO'}) { } |
202
|
3 |
0 |
defined $$test{'TODO'} ? : |
217
|
3 |
22 |
if (my $reason = $class->_is_skipped) |
220
|
2 |
1 |
if ($rest) |
277
|
0 |
56 |
if $ENCODE and &Encode::is_utf8($message) |
285
|
1 |
55 |
unless defined $message |
287
|
50 |
6 |
if (my $name = $class->test_name) |
288
|
45 |
5 |
unless $message =~ /\b$name\b/ |
297
|
0 |
56 |
unless defined $message |
299
|
56 |
0 |
if (my($name) = $class =~ /(\w+)$/) |
300
|
52 |
4 |
unless $message =~ /\b$name\b/ |