inc/Test/Builder.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 66 | 18.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
14 | 0 | 2 | 0 | $] >= 5.008001 and $Test::Builder::Config{'useithreads'} |
2 | 0 | 0 | $] >= 5.008001 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'} | |
260 | 0 | 0 | 2 | $max =~ /^\+?\d+$/ and $max > 0 |
385 | 0 | 3 | 0 | defined $name and $name =~ /^[\d\s]+$/ |
501 | 0 | 0 | 0 | $numval != 0 and $numval ne $val |
528 | 0 | 2 | 0 | defined $got and defined $expect |
546 | 0 | 0 | 0 | defined $got and defined $expect |
605 | 0 | 0 | 0 | defined $got and defined $dont_expect |
621 | 0 | 0 | 0 | defined $got and defined $dont_expect |
741 | 0 | 0 | 2 | defined $file and defined $line |
1654 | 2 | 0 | 0 | !$$self{'Have_Plan'} && ($$self{'Curr_Test'}, 'Somehow your tests ran without a plan!') |
1812 | 0 | 0 | 2 | defined $Test and not $Test->no_ending |
line | l | !l | condition |
---|---|---|---|
794 | 0 | 0 | $why ||= '' |
836 | 0 | 0 | $why ||= '' |
1625 | 5 | 0 | $height ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
114 | 6 | 2 | 0 | $Test ||= $class->create |
530 | 0 | 0 | 0 | defined $got || defined $expect |
548 | 0 | 0 | 0 | defined $got || defined $expect |
607 | 0 | 0 | 0 | defined $got || defined $dont_expect |
623 | 0 | 0 | 0 | defined $got || defined $dont_expect |
922 | 0 | 0 | 0 | ($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx |
1042 | 0 | 0 | 0 | eval { do { $maybe_fh->isa('IO::Handle') } } || eval { do { (tied $maybe_fh || '')->can('TIEHANDLE') } } |
1603 | 3 | 0 | 0 | $pack || $self->caller(1) || $self->exported_to |