inc/Test/Builder.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 75 | 18.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
19 | 0 | 1 | 0 | $] >= 5.008001 and $Test::Builder::Config{'useithreads'} |
1 | 0 | 0 | $] >= 5.008001 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'} | |
296 | 0 | 0 | 1 | $max =~ /^\+?\d+$/ and $max > 0 |
397 | 0 | 1 | 0 | defined $name and $name =~ /^[\d\s]+$/ |
513 | 0 | 0 | 0 | $numval != 0 and $numval ne $val |
540 | 0 | 0 | 0 | defined $got and defined $expect |
558 | 0 | 0 | 0 | defined $got and defined $expect |
616 | 0 | 0 | 0 | defined $got and defined $dont_expect |
632 | 0 | 0 | 0 | defined $got and defined $dont_expect |
841 | 0 | 0 | 0 | defined $file and defined $line |
1563 | 1 | 0 | 0 | !$$self{'Have_Plan'} && ($$self{'Curr_Test'}, 'Somehow your tests ran without a plan!') |
1729 | 0 | 0 | 1 | defined $Test and not $Test->no_ending |
line | l | !l | condition |
---|---|---|---|
886 | 0 | 0 | $why ||= '' |
928 | 0 | 0 | $why ||= '' |
1534 | 0 | 1 | $height ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
132 | 3 | 1 | 0 | $Test ||= $class->create |
542 | 0 | 0 | 0 | defined $got || defined $expect |
560 | 0 | 0 | 0 | defined $got || defined $expect |
618 | 0 | 0 | 0 | defined $got || defined $dont_expect |
634 | 0 | 0 | 0 | defined $got || defined $dont_expect |
715 | 0 | 0 | 0 | ($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx |
1277 | 3 | 0 | 0 | UNIVERSAL::isa($maybe_fh, 'GLOB') || UNIVERSAL::isa($maybe_fh, 'IO::Handle') || UNIVERSAL::can(tied $maybe_fh || '', 'TIEHANDLE') |
1514 | 6 | 0 | 0 | $pack || $self->exported_to || $self->caller($Test::Builder::Level) |
1636 | 1 | 0 | 0 | $$self{'Have_Plan'} || $$self{'Test_Died'} |
0 | 0 | 1 | $$self{'Original_Pid'} != $$ or not $$self{'Have_Plan'} || $$self{'Test_Died'} | |
0 | 0 | 1 | $$self{'Original_Pid'} != $$ or not $$self{'Have_Plan'} || $$self{'Test_Died'} or $$self{'Bailed_Out'} |