line |
true |
false |
branch |
66
|
5 |
87 |
unless $self->SUPER::init($config) |
70
|
0 |
87 |
unless $self->init_scheduler($config) |
80
|
2 |
85 |
if (defined($value = $$config{'fixed'})) { } |
|
3 |
82 |
elsif (defined($value = $$config{'default'})) { } |
|
3 |
79 |
elsif (defined($value = $$config{'constraint'})) { } |
81
|
0 |
2 |
unless $self->fixed($value) |
84
|
0 |
3 |
unless $self->default($value) |
87
|
1 |
2 |
unless UNIVERSAL::isa($value, 'ARRAY') |
89
|
1 |
1 |
unless $self->constraint(@$value) |
117
|
1 |
2 |
@_ ? : |
137
|
14 |
3 |
if (@_) { } |
139
|
2 |
12 |
unless $type =~ /$constraints_regex/ |
159
|
5 |
9 |
if (@_) { } |
|
6 |
3 |
elsif ($$self{'constraint'}[0] eq 'default') { } |
161
|
0 |
5 |
unless defined $value |
184
|
10 |
18 |
if (@_) { } |
|
16 |
2 |
elsif ($$self{'constraint'}[0] eq 'fixed') { } |
186
|
0 |
10 |
unless defined $value |
214
|
18 |
88 |
unless (defined $value) |
215
|
6 |
12 |
if ($$constraint[0]) { } |
230
|
2 |
88 |
if (@$constraint and $$constraint[0] eq 'fixed') |
232
|
1 |
1 |
unless $$infoset{'value'} eq $$constraint[1] |
237
|
0 |
89 |
if $XML::Schema::Attribute::DEBUG and $$infoset{'magic'} |
239
|
0 |
89 |
unless $self->activate_instance($infoset) |
245
|
85 |
4 |
wantarray ? : |