| blib/lib/Data/Binder.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 24 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 90 | 0 | 1 | if @_ |
| 109 | 0 | 0 | if @_ % 2 |
| 152 | 0 | 5 | if (ref $_[0] and ref $_[0]{'terms'}) |
| 157 | 0 | 5 | if @_ < 2 |
| 159 | 3 | 2 | if (not exists $$binding{$term}) { } |
| 1 | 1 | elsif (not defined $$binding{$term}) { } | |
| 0 | 1 | elsif (ref $value and $$binding{$term} != $value) { } | |
| 0 | 1 | elsif (not ref $value and $$binding{$term} ne $value) { } | |
| 191 | 0 | 1 | if @_ % 2 |
| 193 | 0 | 1 | unless $binding |
| 205 | 3 | 3 | unless @_ |
| 207 | 3 | 3 | unless defined $$terms{$_} |