|  line  | 
 true  | 
 false  | 
 branch  | 
 
| 
84
 | 
 2  | 
 53  | 
 unless $self->SUPER::init($config)  | 
 
| 
94
 | 
 0  | 
 53  | 
 unless $default_use =~ /$USE_REGEX/  | 
 
| 
97
 | 
 0  | 
 53  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
101
 | 
 53  | 
 0  | 
 unless ref $use eq 'HASH'  | 
 
| 
105
 | 
 0  | 
 0  | 
 unless $$attribs{$name}  | 
 
| 
111
 | 
 0  | 
 0  | 
 $value eq '0' ? :  | 
 
| 
 | 
 0  | 
 0  | 
 $value eq '1' ? :  | 
 
| 
114
 | 
 0  | 
 0  | 
 unless $value =~ /$USE_REGEX/  | 
 
| 
123
 | 
 1  | 
 17  | 
 unless ref $list eq 'ARRAY'  | 
 
| 
126
 | 
 0  | 
 22  | 
 unless $$attribs{$name}  | 
 
| 
139
 | 
 3  | 
 60  | 
 if ($factory->isa('attribute', $a)) { }  | 
 
| 
144
 | 
 39  | 
 21  | 
 unless ref $a eq 'HASH'  | 
 
| 
145
 | 
 55  | 
 5  | 
 unless defined $$a{'name'}  | 
 
| 
146
 | 
 60  | 
 0  | 
 unless defined $$a{'scope'}  | 
 
| 
152
 | 
 7  | 
 173  | 
 if $$a{$value}  | 
 
| 
156
 | 
 11  | 
 49  | 
 if (defined($value = $$a{'use'}))  | 
 
| 
157
 | 
 0  | 
 11  | 
 unless $value =~ /$USE_REGEX/  | 
 
| 
164
 | 
 32  | 
 31  | 
 unless defined $$use{$name}  | 
 
| 
166
 | 
 0  | 
 63  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
174
 | 
 1  | 
 52  | 
 if $$config{'group'}  | 
 
| 
177
 | 
 0  | 
 5  | 
 unless $self->group($group)  | 
 
| 
183
 | 
 1  | 
 105  | 
 if $$config{$item}  | 
 
| 
188
 | 
 14  | 
 39  | 
 if ($wildcard)  | 
 
| 
189
 | 
 13  | 
 1  | 
 unless $factory->isa('wildcard', $wildcard)  | 
 
| 
223
 | 
 1  | 
 22  | 
 if (ref $_[0]) { }  | 
 
| 
 | 
 11  | 
 11  | 
 elsif (scalar @_ == 1) { }  | 
 
| 
237
 | 
 1  | 
 11  | 
 if ($factory->isa('attribute', $args)) { }  | 
 
| 
239
 | 
 0  | 
 1  | 
 ref $_[0] eq 'HASH' ? :  | 
 
| 
241
 | 
 0  | 
 1  | 
 unless defined $attr->scope  | 
 
| 
248
 | 
 11  | 
 0  | 
 if UNIVERSAL::isa($args, 'HASH') and not exists $$args{'scope'}  | 
 
| 
253
 | 
 0  | 
 10  | 
 unless defined($name = $attr->name)  | 
 
| 
256
 | 
 0  | 
 10  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
261
 | 
 0  | 
 10  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
265
 | 
 1  | 
 29  | 
 if $$args{$usage}  | 
 
| 
270
 | 
 0  | 
 10  | 
 unless $self->use($name, $$args{'use'} || $$self{'default_use'})  | 
 
| 
299
 | 
 8  | 
 0  | 
 if (ref $group) { }  | 
 
| 
349
 | 
 17  | 
 30  | 
 $outbound ? :  | 
 
| 
355
 | 
 17  | 
 30  | 
 if $scope  | 
 
| 
373
 | 
 0  | 
 103  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
375
 | 
 84  | 
 19  | 
 if (defined($value = $$inbound{$name})) { }  | 
 
| 
376
 | 
 1  | 
 83  | 
 if $usage eq 'prohibited'  | 
 
| 
380
 | 
 1  | 
 18  | 
 if $usage eq 'required'  | 
 
| 
384
 | 
 1  | 
 17  | 
 if $usage eq 'prohibited'  | 
 
| 
393
 | 
 85  | 
 15  | 
 if (defined $value) { }  | 
 
| 
398
 | 
 3  | 
 12  | 
 unless $usage eq 'optional' and $error eq 'no value provided'  | 
 
| 
402
 | 
 0  | 
 97  | 
 if ($magic)  | 
 
| 
405
 | 
 0  | 
 0  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
409
 | 
 0  | 
 97  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
418
 | 
 34  | 
 8  | 
 if (%$inbound)  | 
 
| 
421
 | 
 0  | 
 17  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
426
 | 
 1  | 
 16  | 
 unless $group->validate($inbound, $outbound, $self)  | 
 
| 
432
 | 
 28  | 
 5  | 
 if ($wildcard = $$self{'wildcard'})  | 
 
| 
433
 | 
 0  | 
 28  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
437
 | 
 36  | 
 50  | 
 if ($wildcard->accept($name))  | 
 
| 
438
 | 
 0  | 
 36  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
448
 | 
 6  | 
 35  | 
 if ($parent and @badguys)  | 
 
| 
449
 | 
 1  | 
 5  | 
 @badguys > 1 ? :  | 
 
| 
469
 | 
 0  | 
 1  | 
 unless @_  | 
 
| 
474
 | 
 0  | 
 1  | 
 if ($factory->isa('wildcard', $_[0])) { }  | 
 
| 
510
 | 
 0  | 
 0  | 
 @_ ? :  | 
 
| 
525
 | 
 2  | 
 1  | 
 unless @_  | 
 
| 
528
 | 
 0  | 
 1  | 
 unless $use =~ /$USE_REGEX/  | 
 
| 
546
 | 
 0  | 
 15  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
548
 | 
 15  | 
 0  | 
 if (defined $name) { }  | 
 
| 
550
 | 
 1  | 
 14  | 
 unless defined $$self{'attributes'}{$name}  | 
 
| 
552
 | 
 13  | 
 1  | 
 if (defined $use) { }  | 
 
| 
553
 | 
 0  | 
 13  | 
 unless $use =~ /$USE_REGEX/  | 
 
| 
555
 | 
 13  | 
 0  | 
 ($$self{'use'}{$name} = $use) ? :  | 
 
| 
562
 | 
 0  | 
 0  | 
 unless defined $name  | 
 
| 
582
 | 
 0  | 
 30  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
584
 | 
 28  | 
 2  | 
 if (defined $name) { }  | 
 
| 
586
 | 
 0  | 
 28  | 
 unless defined $$self{'attributes'}{$name}  | 
 
| 
588
 | 
 1  | 
 27  | 
 if (defined $value) { }  | 
 
| 
589
 | 
 1  | 
 0  | 
 $value ? :  | 
 
| 
592
 | 
 15  | 
 12  | 
 $$self{'use'}{$name} eq 'required' ? :  | 
 
| 
598
 | 
 5  | 
 5  | 
 $$use{$_} eq 'required' ? :  | 
 
| 
616
 | 
 0  | 
 6  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
618
 | 
 5  | 
 1  | 
 if (defined $name) { }  | 
 
| 
620
 | 
 0  | 
 5  | 
 unless defined $$self{'attributes'}{$name}  | 
 
| 
622
 | 
 0  | 
 5  | 
 if (defined $value) { }  | 
 
| 
623
 | 
 0  | 
 0  | 
 $value ? :  | 
 
| 
626
 | 
 4  | 
 1  | 
 $$self{'use'}{$name} eq 'optional' ? :  | 
 
| 
632
 | 
 2  | 
 3  | 
 $$use{$_} eq 'optional' ? :  | 
 
| 
650
 | 
 0  | 
 3  | 
 if $XML::Schema::Attribute::Group::DEBUG  | 
 
| 
652
 | 
 1  | 
 2  | 
 if (defined $name) { }  | 
 
| 
654
 | 
 0  | 
 1  | 
 unless defined $$self{'attributes'}{$name}  | 
 
| 
656
 | 
 1  | 
 0  | 
 if (defined $value) { }  | 
 
| 
657
 | 
 1  | 
 0  | 
 $value ? :  | 
 
| 
660
 | 
 0  | 
 0  | 
 $$self{'use'}{$name} eq 'prohibited' ? :  | 
 
| 
666
 | 
 1  | 
 9  | 
 $$use{$_} eq 'prohibited' ? :  |