Branch Coverage

blib/lib/Test/Spelling/Stopwords.pm
Criterion Covered Total %
branch 4 56 7.1


line true false branch
255 0 0 ref $_[0] ? :
310 0 1 if exists $args{'lang'}
311 0 1 if exists $args{'stopwords_file'}
312 0 1 if exists $args{'dirs'}
314 1 0 unless (_check_aspell())
319 0 0 unless (-e $_config{'stopwords_file'})
332 0 0 unless (@files)
367 0 0 if ($passed) { }
409 0 0 if (eval 'use Pod::Wordlist; 1') { }
422 0 0 if (-e $file)
424 0 0 unless (open my $fh, "<", $file)
428 0 0 if /^#/ or /^\s*$/
440 0 0 unless -e $file
448 0 0 if (-d $_ and $_prune{$_})
449 0 0 unless -f $_ and /$SOURCE_RE/
450 0 0 if $_ eq $file
452 0 0 if $m > $latest_src_mtime
457 0 0 if ($latest_src_mtime > $stop_mtime)
470 0 0 unless @dirs
474 0 0 if (-d $_ and $_prune{$_})
475 0 0 unless -f $_ and /$SOURCE_RE/
494 0 0 unless open my $fh, "<", $file
500 0 0 if $line =~ /^=(?:head\d|item|over|back|pod|begin|for|method|attr)\b/
501 0 0 if $line =~ /^=cut\b/
502 0 0 unless $in_pod
510 0 0 unless $misspelled
514 0 0 unless length $word
519 0 0 if $stopwords->{$clean}