| lib/XML/Schema/Content.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 20 | 95.0 |
| line | true | false | branch |
|---|---|---|---|
| 57 | 0 | 30 | if $XML::Schema::Content::DEBUG |
| 66 | 4 | 26 | if ($particle = $$config{'particle'}) { } |
| 14 | 12 | elsif (not $$config{'empty'}) { } | |
| 69 | 2 | 2 | $$config{'mixed'} ? : |
| 72 | 9 | 5 | if ($particle = $factory->create('particle', $config)) { } |
| 80 | 2 | 3 | unless $error =~ /^particle expects one of:/ |
| 85 | 3 | 25 | $$config{'mixed'} ? : |
| 121 | 5 | 20 | @_ ? : |
| 135 | 2 | 3 | @_ ? : |
| 146 | 4 | 4 | $_[0]{'type'} || $_[0]{'particle'} ? : |