line |
true |
false |
branch |
75
|
19 |
135 |
unless ref $regexp
|
77
|
50 |
104 |
if (my(@m) = ${$self->_remaining;} =~ /$regexp/)
|
89
|
0 |
50 |
unless defined $spelling
|
98
|
21 |
0 |
if ${$self->_remaining;} =~ /^(\s*)/ms
|
105
|
8 |
0 |
${$self->_remaining;} =~ m[^("((?:[^\x00-\x1F\\"]|\\(?:["\\/bfnrt]|u[[:xdigit:]]{4})){0,32766})*")] ? :
|
121
|
0 |
1 |
if (blessed $thing and $thing->isa('RDF::Trine::Model'))
|
126
|
0 |
0 |
if (blessed $thing and $thing->isa('RDF::Trine::Iterator') and $thing->can('as_json'))
|
132
|
0 |
0 |
if (blessed $thing and $thing->isa('RDF::Trine::Iterator') and $self->can('_serializer'))
|
138
|
0 |
1 |
if (not blessed $thing and ref $thing =~ /^(HASH|ARRAY)$/)
|
145
|
0 |
1 |
unless (ref $thing eq 'SCALAR')
|
159
|
0 |
1 |
unless ref $self
|
169
|
0 |
29 |
if $self->_peek(qr/^\s+/)
|
171
|
9 |
20 |
if ($matches = $self->_peek(qr/^([\,\:])/)) { }
|
|
2 |
18 |
elsif ($matches = $self->_peek(qr/^([\[\]])/)) { }
|
|
8 |
10 |
elsif ($matches = $self->_peek(qr/^( \{ | \} )/x)) { }
|
|
1 |
9 |
elsif ($self->_peek('null')) { }
|
|
0 |
9 |
elsif ($matches = $self->_peek(qr/^(true|false)/)) { }
|
|
8 |
1 |
elsif ($self->_peek('"')) { }
|
|
1 |
0 |
elsif ($matches = $self->_peek(qr/^([-]?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?)/)) { }
|
|
0 |
0 |
elsif ($matches = $self->_peek(qr/^([^\s\r\n]+)[\s\r\n]/ms)) { }
|
|
0 |
0 |
elsif ($matches = $self->_peek(qr/^([^\s\r\n]+)$/ms)) { }
|
198
|
0 |
1 |
if ($n =~ /e/i) { }
|
|
1 |
0 |
elsif ($n =~ /\./) { }
|
218
|
21 |
8 |
if $self->_peek(qr/^\s+/)
|
227
|
0 |
1 |
unless ref $self
|