Branch Coverage

blib/lib/Games/QuizTaker.pm
Criterion Covered Total %
branch 17 38 44.7


line true false branch
56 5 0 if (exists $$args{'FileName'})
59 5 0 if (exists $$args{'AnswerDelimiter'})
62 5 0 if (exists $$args{'Delimiter'})
65 1 4 if (exists $$args{'Score'})
68 0 5 if (exists $$args{'MaxQuestions'})
71 5 0 if (exists $$args{'FileLength'})
76 1 4 if ($ad eq $dl)
85 0 3 unless open FH, "$file"
89 2 19 if (/^$/ or /^#/) { }
107 2 0 unless (defined $self->get_MaxQuestions)
115 3 10 if exists $Randoms{$question_number}
137 0 0 $^O eq 'MSWin32' ? :
158 0 0 if ($ln > 1)
159 0 0 unless ($question_answer =~ /$Answer_Sep/)
162 0 0 if ($Answer_Sep eq ' ') { }
169 0 0 if ("$answer" eq "$question_answer") { }
180 0 0 if (defined $Final) { }
199 0 0 if ($Correct >= 1) { }
216 4 4 if $x == $y