Branch Coverage

blib/lib/TOML/Tiny/Tokenizer.pm
Criterion Covered Total %
branch 42 44 95.4


line true false branch
47 244 6114 unless defined $self->{'source'} and $self->{'position'} < $self->{'last_position'}
49 422 5692 unless ($self->{'last_token'})
78 5888 0 $self->{'last_token'} ? :
83 100 5788 if /\G$TOML::Tiny::Tokenizer::Comment$/cgmu
85 99 5689 if /\G$/cgu
87 1323 4366 if (/\G$TOML::Tiny::Tokenizer::EOL/cgu)
93 1557 2809 if ($newline)
94 233 1324 if (/$table/cgu)
100 74 1250 if (/$array_table/cgu)
107 1059 3000 if (/$key_set/cgu)
113 1852 1148 if (/\G ( [\[\]{}=,] | true | false )/cgux)
119 461 687 if (/\G($TOML::Tiny::Tokenizer::String)/cgu)
125 55 632 if (/\G($TOML::Tiny::Tokenizer::DateTime)/cgu)
131 101 531 if (/\G($TOML::Tiny::Tokenizer::Float)/cgu)
137 422 109 if (/\G($TOML::Tiny::Tokenizer::Integer)/cgu)
147 5580 199 if ($type)
157 2043 3537 $tokenize ? :
188 0 5 $token ? :
226 35 426 if ($ml) { }
236 428 33 unless ($lit)
255 100 19 if (exists $$esc{$_[0]})
261 14 5 if ($hex < 1114111 and charnames::viacode($hex))