Branch Coverage

blib/lib/Games/Dissociate.pm
Criterion Covered Total %
branch 13 46 28.2


line true false branch
20 0 0 if (@ARGV)
21 0 0 unless Getopt::Std::getopts('c:w:m:', \%o)
36 0 0 if ($_[0]) { }
0 0 elsif ($o{'w'}) { }
0 0 elsif ($o{'c'}) { }
45 0 0 if ($_[1]) { }
0 0 elsif ($o{'m'}) { }
52 0 0 if $Games::Dissociate::Debug
68 0 5 if $degree == 1
73 0 5 unless length $in
77 0 5 if ($by_word) { }
91 495 5 if ($last_matched) { }
93 0 495 if ($by_word) { }
104 0 0 if ($in =~ /$re/gils or $in =~ /$re/gils)
116 495 0 if $in =~ /$re/gils or $in =~ /$re/gils
119 0 495 if ($last_match_point == pos $in or pos $in == 0)
126 0 0 if $Games::Dissociate::Debug
133 0 495 if $Games::Dissociate::Debug
134 0 495 $by_word ? :
142 0 5 if ($by_word) { }
152 0 5 if $Games::Dissociate::Debug
153 5 0 if ($in =~ /$new_matcher/gils or $in =~ /$new_matcher/gils) { }
158 0 0 if $Games::Dissociate::Debug