Branch Coverage

blib/lib/App/Table2YAML/Serializer.pm
Criterion Covered Total %
branch 2 28 7.1


line true false branch
22 0 1 unless @table
33 0 0 if not $self->allow_nulls and $data eq 'null'
37 0 0 if (@row)
82 0 1 if (not defined $_ or $_ eq '' or /^\p{IsSpace}+$/msux)
92 0 0 if ($scalar_value eq 'string') { }
0 0 elsif (first sub { $scalar_value eq $_; } , 'inf', 'nan') { }
112 0 0 $method ? :
122 0 0 first(sub { $fc eq $_; } , 'y', 'true', 'yes', 'on', 'n', 'false', 'no', 'off') ? :
132 0 0 first(sub { $fc eq $_; } , 'inf', '-inf') ? :
151 0 0 first(sub { $value eq $_; } , '~', 'null') ? :
163 0 0 if (/^[+-]?[0-9]+$/msux) { }
0 0 elsif (/^[+-]?0x[0-9A-F]+$/imsux) { }
0 0 elsif (/^[+-]?(?:[0-9]{1,3})(?:_[0-9]{3})*(?:\.[0-9]+)?$/msux) { }
0 0 elsif (/^[+-]?[0-9]+(?:\.[0-9]+)?e[+-]?[0-9]+$/imsux) { }