inc/Test/Builder.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 72 | 25.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
16 | 0 | 6 | 0 | $] >= 5.008001 and $Test::Builder::Config{'useithreads'} |
6 | 0 | 0 | $] >= 5.008001 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'} | |
387 | 66 | 1 | 0 | defined $name and $name =~ /^[\d\s]+$/ |
531 | 0 | 33 | 0 | defined $got and defined $expect |
549 | 0 | 0 | 0 | defined $got and defined $expect |
626 | 0 | 26 | 0 | defined $got and defined $dont_expect |
642 | 0 | 0 | 0 | defined $got and defined $dont_expect |
770 | 0 | 0 | 4 | defined $file and defined $line |
1055 | 385 | 12 | 0 | $error and $opts{'die_on_fail'} |
1823 | 0 | 0 | 0 | $self->{'Start_Todo'} and @{$self->{'Todo_Stack'};} |
1884 | 6 | 0 | 0 | !$self->{'Have_Plan'} && ($self->{'Curr_Test'}, 'Somehow your tests ran without a plan!') |
2039 | 0 | 0 | 6 | defined $Test and not $Test->no_ending |
line | l | !l | condition |
---|---|---|---|
822 | 0 | 0 | $why ||= '' |
865 | 0 | 0 | $why ||= '' |
1849 | 222 | 62 | $height ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
116 | 78 | 6 | 0 | $Test ||= $class->create |
533 | 0 | 0 | 0 | defined $got || defined $expect |
551 | 0 | 0 | 0 | defined $got || defined $expect |
565 | 6 | 0 | 0 | $type eq 'eq' or $type eq 'ne' |
628 | 0 | 0 | 0 | defined $got || defined $dont_expect |
644 | 0 | 0 | 0 | defined $got || defined $dont_expect |
951 | 0 | 0 | 0 | ($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx |
1081 | 0 | 0 | 0 | eval { do { $maybe_fh->isa('IO::Handle') } } || eval { do { (tied $maybe_fh || '')->can('TIEHANDLE') } } |
1727 | 218 | 0 | 0 | $pack || $self->caller(1) || $self->exported_to |
1746 | 0 | 0 | 151 | defined $self->{'Todo'} || $self->find_TODO |