blib/lib/Thrift/Parser/Type/Enum.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
40 | 0 | 4 | if (blessed $value) |
41 | 0 | 0 | unless ($value->isa($class)) |
47 | 1 | 3 | unless defined $value |
48 | 1 | 2 | if (my($id) = $value =~ /^_(\d+)$/) { } |
70 | 1 | 2 | unless defined $name |
86 | 1 | 3 | unless defined $id |