Branch Coverage

blib/lib/WWW/Chat/Processor.pm
Criterion Covered Total %
branch 10 38 26.3


line true false branch
61 0 2 if ($seen_end)
67 1 1 if (/^(\s*)GET\s+(\S+)\s*$/) { }
0 1 elsif (/^(\s*)FOLLOW\s(.*)/) { }
0 1 elsif (/^(\s*)FORM:?(\d+)?(?:\s+(\S+))?\s*$/) { }
1 0 elsif (/^(\s*)EXPECT\s+(.*)$/) { }
0 0 elsif (/^(\s*)BACK(?:\s+(ALL|\d+))?\s*$/) { }
0 0 elsif (/^(\s*)F\s+([\w.:\-*\#]+)\s*=\s*(.*)/) { }
0 0 elsif (/^(\s*)(?:CLICK|SUBMIT)(?:\s+(\w+))?\s+(?:(\d+)\s+(\d+))?/) { }
0 0 elsif (/^__END__$/) { }
70 1 0 unless $uri =~ /^\$/
86 0 0 if ($what =~ m[^/]) { }
104 0 0 unless defined $uri and $uri =~ /^\$/
127 0 0 if $name =~ s/:(\d+)$//
130 0 0 if ($no == 1) { }
142 0 0 unless defined $_
152 0 0 if $level
160 1 0 if $level
168 1 0 if $done eq 'ALL' or $done > $$rlevel
174 0 1 if $done > 1