blib/lib/Wikibase/Datatype/Struct/Value/String.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 6 | 83.3 |
line | true | false | branch |
---|---|---|---|
18 | 1 | 20 | unless (defined $obj) |
21 | 1 | 19 | unless ($obj->isa('Wikibase::Datatype::Value::String')) |
36 | 0 | 17 | if (not exists $struct_hr->{'type'} or $struct_hr->{'type'} ne 'string') |