Condition Coverage

blib/lib/Text/Ngrams.pm
Criterion Covered Total %
condition 35 48 72.9


and 3 conditions

line !l l&&!r l&&r condition
156 22 1 1 exists $self->{'limit'} and $self->{'total_distinct_count'} > 2 * $self->{'limit'}
176 9 3 6 $self->{'skiprex'} eq "" and $self->{'tokenrex'} eq ""
12 0 6 $self->{'skiprex'} eq "" and $self->{'tokenrex'} eq "" and $self->{'processtoken'} eq ""
3 0 6 $self->{'skiprex'} eq "" and $self->{'tokenrex'} eq "" and $self->{'processtoken'} eq "" and $cont == 0
191 30 2 54 $self->{'skiprex'} ne "" and $textl =~ /^$self->{'skiprex'}/
210 0 0 1 defined $self->{'allow_iproc'} and $self->{'allow_iproc'}
0 0 1 defined $self->{'allow_iproc'} and $self->{'allow_iproc'} and ref $self->{'processtoken'} eq "CODE"
261 4 1 2 $self->{'skiprex'} eq "" and $self->{'tokenrex'} eq ""
5 0 2 $self->{'skiprex'} eq "" and $self->{'tokenrex'} eq "" and $self->{'processtoken'} eq ""
293 0 0 2 exists $self->{'limit'} and $self->{'limit'} > 0
386 10 0 1 $out and not ref $out
401 25 1 4 $spartan and $n < $self->{'windowsize'}

or 3 conditions

line l !l&&r !l&&!r condition
25 0 12 0 ref $package || $package
36 3 0 9 not exists $params{'type'} or $params{'type'} eq "character"
344 1 19 7 not exists $params{'orderby'} or $params{'orderby'} eq "ngram"
412 1 19 6 not exists $params{'orderby'} or $params{'orderby'} eq "ngram"