blib/lib/Repl/Core/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 39 | 56.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
66 | 0 | 234 | 11 | not $buffer->eof and $buffer->peekChar =~ /\s/ |
76 | 0 | 4 | 100 | not $buffer->eof and "\n" ne $peek |
91 | 0 | 5 | 23 | not $buffer->eof and $buffer->peekChar ne '"' |
213 | 78 | 260 | 0 | UNIVERSAL::can($expr, 'isa') and $expr->isa('Repl::Core::Token') |
275 | 112 | 288 | 0 | UNIVERSAL::can($resultExpr, 'isa') and $resultExpr->isa('Repl::Core::Token') |
285 | 2 | 20 | 0 | UNIVERSAL::can($lvalueExpr, 'isa') and $lvalueExpr->isa('Repl::Core::Token') |
302 | 1 | 0 | 0 | UNIVERSAL::can($expr, 'isa') and $expr->isa('Repl::Core::Token') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
15 | 0 | 3 | 0 | ref $invocant || $invocant |
157 | 4 | 0 | 753 | $buffer->eof or $buffer->peekChar =~ /[=\(\)\'\n\"\s;]/ |
179 | 1364 | 0 | 0 | shift() || confess('Expected a method call on a Parser object.') |
180 | 1364 | 0 | 0 | shift() || confess('Expected 1 parameter, a Buffer object.') |
209 | 0 | 0 | 450 | $token->isErroneous or $token->isEndList |
255 | 112 | 288 | 1 | $token->isBeginList or $token->isString |