inc/Test/Builder.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 75 | 29.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
18 | 0 | 3 | 0 | $] >= 5.008 and $Test::Builder::Config{'useithreads'} |
3 | 0 | 0 | $] >= 5.008 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'} | |
295 | 0 | 0 | 2 | $max =~ /^\+?\d+$/ and $max > 0 |
399 | 1 | 1 | 0 | defined $name and $name =~ /^[\d\s]+$/ |
515 | 0 | 0 | 0 | $numval != 0 and $numval ne $val |
542 | 0 | 1 | 0 | defined $got and defined $expect |
560 | 0 | 0 | 0 | defined $got and defined $expect |
618 | 0 | 0 | 0 | defined $got and defined $dont_expect |
634 | 0 | 0 | 0 | defined $got and defined $dont_expect |
843 | 0 | 0 | 1 | defined $file and defined $line |
1526 | 2 | 0 | 1 | !$$self{'Have_Plan'} && ($$self{'Curr_Test'}, 'Somehow your tests ran without a plan!') |
1691 | 0 | 0 | 3 | defined $Test and not $Test->no_ending |
line | l | !l | condition |
---|---|---|---|
888 | 0 | 0 | $why ||= '' |
933 | 0 | 0 | $why ||= '' |
1497 | 1 | 2 | $height ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
131 | 10 | 3 | 0 | $Test ||= $class->create |
544 | 0 | 0 | 0 | defined $got || defined $expect |
562 | 0 | 0 | 0 | defined $got || defined $expect |
620 | 0 | 0 | 0 | defined $got || defined $dont_expect |
636 | 0 | 0 | 0 | defined $got || defined $dont_expect |
717 | 0 | 0 | 0 | ($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx |
1282 | 9 | 0 | 0 | UNIVERSAL::isa($maybe_fh, 'GLOB') || UNIVERSAL::isa($maybe_fh, 'IO::Handle') || UNIVERSAL::can(tied $maybe_fh || '', 'TIEHANDLE') |
1477 | 2 | 0 | 0 | $pack || $self->exported_to || $self->caller($Test::Builder::Level) |
1598 | 2 | 0 | 1 | $$self{'Have_Plan'} || $$self{'Test_Died'} |
0 | 1 | 2 | $$self{'Original_Pid'} != $$ or not $$self{'Have_Plan'} || $$self{'Test_Died'} | |
1 | 0 | 2 | $$self{'Original_Pid'} != $$ or not $$self{'Have_Plan'} || $$self{'Test_Died'} or $$self{'Bailed_Out'} |