Branch Coverage

blib/lib/App/Prove/State.pm
Criterion Covered Total %
branch 29 62 46.7


line true false branch
76 14 60 unless shift()
93 0 74 if defined $store and -f $store
116 2 0 if @_
128 0 183 unless $self->{'_'}
139 0 2 if ($self->{'should_save'})
293 0 19 $ele =~ /^([^:]+):(.*)/ ? :
323 2 72 unless (@argv or @{$self->{'select'};})
324 0 2 $recurse ? :
325 0 2 unless -d $argv[0]
329 60 14 if @argv
335 14 60 if (my(@sel) = @{$self->{'select'};})
336 0 14 unless $self->results->num_tests
351 0 102 unless -f $name
353 69 33 if &$where()
357 11 6 if (my $order = $clause->{'order'})
360 0 0 unless defined $App::Prove::State::b->[1] <=> defined $App::Prove::State::a->[1]
369 0 17 if (my $limit = $clause->{'limit'})
370 0 0 if @got > $limit
383 0 60 if (&NEED_GLOB())
390 0 105 if ('-' eq $arg)
401 0 2 $recurse ? :
2 103 -d $arg ? :
418 0 0 if -f $_ and /(?:$ext_string)$/
448 0 2 $parser->has_problems ? :
465 0 2 if ($fail) { }
484 0 0 unless my $store = $self->{'store'}
489 0 0 unless open FH, ">$store"
504 0 0 unless open FH, "<$name"
511 0 0 if defined $line
531 0 0 if (my(@stat) = stat $name) { }
544 0 0 if defined $test->sequence and $test->sequence >= $self->{'seq'}