| blib/lib/Protocol/XMLRPC/ValueFactory.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 39 | 42 | 92.8 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 32 | 15 | 6 | 1 | $type and $type eq 'array' | 
| 13 | 5 | 1 | $type and $type eq 'struct' | |
| 11 | 4 | 1 | $type and $type eq 'int' | |
| 11 | 2 | 2 | $is_number and $value =~ /^(?:\+|-)?\d+$/ | |
| 9 | 3 | 1 | $type and $type eq 'double' | |
| 11 | 0 | 1 | $is_number and $value =~ /^(?:\+|-)?\d+\.\d+$/ | |
| 8 | 2 | 1 | $type and $type eq 'boolean' | |
| 6 | 1 | 1 | $type and $type eq 'datetime' | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 32 | 1 | 2 | 19 | $type and $type eq 'array' or ref $value eq 'ARRAY' | 
| 1 | 2 | 16 | $type and $type eq 'struct' or ref $value eq 'HASH' | |
| 1 | 0 | 15 | $type and $type eq 'int' or $is_number and $value =~ /^(?:\+|-)?\d+$/ | |
| 1 | 0 | 12 | $type and $type eq 'double' or $is_number and $value =~ /^(?:\+|-)?\d+\.\d+$/ | |
| 1 | 2 | 8 | $type and $type eq 'boolean' or ref $value eq 'SCALAR' | |
| 1 | 1 | 6 | $type and $type eq 'datetime' or $value =~ /^(\d\d\d\d)(\d\d)(\d\d)T(\d\d):(\d\d):(\d\d)$/ |