Branch Coverage

lib/Class/STL/ClassMembers.pm
Criterion Covered Total %
branch 348 718 48.4


line true false branch
82 0 214 if $self->_trace->debug_on
83 0 0 ref $_ && $_->can('clone') ? :
127 151 if defined $v
0 278 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
88 136 if defined $v
0 224 if (defined $v and ref $v eq 'ARRAY') { }
0 0 int @Class::STL::ClassMembers::Disable::ISA ? :
12 24 int @Class::STL::Containers::Stack::ISA ? :
0 36 int @Class::STL::Iterators::Forward::ISA ? :
0 0 int @Class::STL::Utilities::FunctionObject::ISA ? :
0 0 int @Class::STL::Containers::Tree::ISA ? :
0 0 int @Class::STL::Utilities::Binder1st::ISA ? :
0 0 int @Class::STL::ClassMembers::Constructor::ISA ? :
0 0 int @Class::STL::Containers::Deque::ISA ? :
0 0 int @Class::STL::Utilities::UnaryNegate::ISA ? :
0 0 int @Class::STL::ClassMembers::FunctionMember::Disable::ISA ? :
0 0 int @Class::STL::Element::Priority::ISA ? :
0 0 int @Class::STL::Utilities::PointerToUnaryFunction::ISA ? :
0 0 int @Class::STL::Iterators::InsertIterator::ISA ? :
0 0 int @Class::STL::Utilities::Binder2nd::ISA ? :
0 0 int @MyGenerator::ISA ? :
0 0 int @Class::STL::Utilities::PointerToBinaryFunction::ISA ? :
0 0 int @Class::STL::Iterators::BackInsertIterator::ISA ? :
0 0 int @Class::STL::Utilities::BinaryNegate::ISA ? :
0 0 int @Class::STL::Iterators::FrontInsertIterator::ISA ? :
0 0 int @Class::STL::Utilities::MemberFunction::ISA ? :
0 0 int @Class::STL::Containers::Queue::ISA ? :
0 0 int @Class::STL::Element::ISA ? :
0 0 int @Class::STL::Containers::Vector::ISA ? :
0 0 int @Class::STL::Containers::List::ISA ? :
0 0 int @Class::STL::Iterators::BiDirectional::ISA ? :
0 0 int @Class::STL::Containers::PriorityQueue::ISA ? :
0 0 int @Class::STL::Containers::Abstract::ISA ? :
0 0 int @Class::STL::Iterators::Abstract::ISA ? :
0 0 int @Class::STL::Iterators::Reverse::ISA ? :
0 0 ref $_ && $_->can('clone') ? :
120 120 if defined $v
0 240 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
4730 28062 if defined $v
0 32792 if (defined $v and ref $v eq 'ARRAY') { }
1 0 int @MyGenerator::ISA ? :
7 116 int @Class::STL::Iterators::InsertIterator::ISA ? :
0 10 int @Class::STL::Utilities::PointerToBinaryFunction::ISA ? :
161 0 int @Class::STL::Iterators::Abstract::ISA ? :
14 0 int @Class::STL::Utilities::PointerToUnaryFunction::ISA ? :
0 0 int @Class::STL::Element::Priority::ISA ? :
1 53 int @Class::STL::Containers::Abstract::ISA ? :
21 332 int @Class::STL::Element::ISA ? :
0 0 int @Class::STL::Iterators::BackInsertIterator::ISA ? :
0 0 int @Class::STL::ClassMembers::Constructor::ISA ? :
9 0 int @Class::STL::Containers::Queue::ISA ? :
2 0 int @Class::STL::ClassMembers::Disable::ISA ? :
1 0 int @Class::STL::ClassMembers::FunctionMember::Disable::ISA ? :
176 0 int @Class::STL::Iterators::BiDirectional::ISA ? :
1 0 int @Class::STL::Containers::PriorityQueue::ISA ? :
1 0 int @Class::STL::Utilities::Binder1st::ISA ? :
1 0 int @Class::STL::Iterators::FrontInsertIterator::ISA ? :
1 0 int @Class::STL::Containers::Deque::ISA ? :
0 0 int @Class::STL::Iterators::Forward::ISA ? :
0 0 int @Class::STL::Utilities::UnaryNegate::ISA ? :
0 118 int @Class::STL::Utilities::BinaryNegate::ISA ? :
0 0 int @Class::STL::Utilities::MemberFunction::ISA ? :
8 0 int @Class::STL::Iterators::Reverse::ISA ? :
16 0 int @Class::STL::Containers::Vector::ISA ? :
0 0 int @Class::STL::Containers::Tree::ISA ? :
75 0 int @Class::STL::Containers::Stack::ISA ? :
0 0 int @Class::STL::Utilities::Binder2nd::ISA ? :
66 0 int @Class::STL::Utilities::FunctionObject::ISA ? :
1 0 int @Class::STL::Containers::List::ISA ? :
0 0 ref $_ && $_->can('clone') ? :
10 17 if defined $v
0 31 if (defined $v and ref $v eq 'ARRAY') { }
1 0 ref $_ && $_->can('clone') ? :
142 568 if defined $v
20 716 if (defined $v and ref $v eq 'ARRAY') { }
81 32 ref $_ && $_->can('clone') ? :
812 38687 if defined $v
92 39497 if (defined $v and ref $v eq 'ARRAY') { }
0 11 unless not defined $_ or $_ =~ /^(string|array|numeric|ref)$/
0 0 ref $_ && $_->can('clone') ? :
0 4733 unless not defined $v or $v =~ /^(string|array|numeric|ref)$/
2826 1915 if defined $v
2 4739 if (defined $v and ref $v eq 'ARRAY') { }
0 8 ref $_ && $_->can('clone') ? :
144 143 if defined $v
0 287 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
208 347 if defined $v
0 555 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
12 58 if defined $v
0 70 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
26 50 if defined $v
0 76 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
28 64 if defined $v
0 92 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
27 60 if defined $v
0 87 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
12 24 if defined $v
0 36 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
0 0 if defined $v
0 0 if (defined $v and ref $v eq 'ARRAY') { }
0 6 int @Class::STL::Utilities::FunctionObject::ISA ? :
0 6 keys %$super ? :
22 0 int @Class::STL::ClassMembers::Constructor::ISA ? :
22 0 keys %$super ? :
4 0 int @Class::STL::ClassMembers::Disable::ISA ? :
4 0 keys %$super ? :
270 0 int @Class::STL::Containers::Deque::ISA ? :
270 0 keys %$super ? :
273 0 int @Class::STL::Containers::Vector::ISA ? :
273 0 keys %$super ? :
0 22 int @Class::STL::Containers::Queue::ISA ? :
0 22 keys %$super ? :
98 0 int @Class::STL::Containers::Stack::ISA ? :
98 0 keys %$super ? :
0 0 int @Class::STL::Utilities::Binder2nd::ISA ? :
0 0 keys %$super ? :
43 0 int @Class::STL::Iterators::InsertIterator::ISA ? :
43 0 keys %$super ? :
45 0 int @Class::STL::Iterators::BackInsertIterator::ISA ? :
45 0 keys %$super ? :
274 19 int @Class::STL::Iterators::BiDirectional::ISA ? :
274 19 keys %$super ? :
0 201 int @Class::STL::Containers::Tree::ISA ? :
0 201 keys %$super ? :
0 0 int @Class::STL::Iterators::Forward::ISA ? :
0 0 keys %$super ? :
21 0 int @Class::STL::ClassMembers::FunctionMember::Disable::ISA ? :
21 0 keys %$super ? :
15 0 int @Class::STL::Utilities::MemberFunction::ISA ? :
15 0 keys %$super ? :
117 0 int @Class::STL::Utilities::BinaryNegate::ISA ? :
117 0 keys %$super ? :
5 674 int @Class::STL::Element::ISA ? :
5 674 keys %$super ? :
43 0 int @Class::STL::Utilities::PointerToUnaryFunction::ISA ? :
43 0 keys %$super ? :
26 0 int @Class::STL::Iterators::Reverse::ISA ? :
26 0 keys %$super ? :
270 0 int @Class::STL::Containers::List::ISA ? :
270 0 keys %$super ? :
265 0 int @Class::STL::Containers::Abstract::ISA ? :
265 0 keys %$super ? :
32 0 int @Class::STL::Element::Priority::ISA ? :
32 0 keys %$super ? :
21 0 int @Class::STL::Utilities::PointerToBinaryFunction::ISA ? :
21 0 keys %$super ? :
35 0 int @Class::STL::Utilities::Binder1st::ISA ? :
35 0 keys %$super ? :
0 0 int @Class::STL::Utilities::UnaryNegate::ISA ? :
0 0 keys %$super ? :
53 115 int @MyGenerator::ISA ? :
53 115 keys %$super ? :
35 0 int @Class::STL::Containers::PriorityQueue::ISA ? :
35 0 keys %$super ? :
255 0 int @Class::STL::Iterators::Abstract::ISA ? :
255 0 keys %$super ? :
0 0 int @Class::STL::Iterators::FrontInsertIterator::ISA ? :
0 0 keys %$super ? :
34 20 if (int @Class::STL::ClassMembers::Constructor::ISA and (caller())[0] ne 'Class::STL::ClassMembers::Constructor')
98 0 unless ref $p
22 32 if exists $p{'_caller'}
0 18 exists $p{'singleton'} ? :
0 18 if exists $p{'_trace'}
0 18 exists $p{'debug_on'} ? :
6 18 exists $p{'ctor_name'} ? :
6 0 if (int @Class::STL::Utilities::BinaryNegate::ISA and (caller())[0] ne 'Class::STL::Utilities::BinaryNegate')
0 0 unless ref $p
0 0 if exists $p{'predicate'}
13 9 if (int @Class::STL::Utilities::Binder1st::ISA and (caller())[0] ne 'Class::STL::Utilities::Binder1st')
10 0 unless ref $p
5 5 if exists $p{'first_argument'}
5 5 if exists $p{'operation'}
246 339 if (int @Class::STL::Iterators::BackInsertIterator::ISA and (caller())[0] ne 'Class::STL::Iterators::BackInsertIterator')
225 0 if (int @Class::STL::Containers::Stack::ISA and (caller())[0] ne 'Class::STL::Containers::Stack')
127 253 if (int @Class::STL::Iterators::FrontInsertIterator::ISA and (caller())[0] ne 'Class::STL::Iterators::FrontInsertIterator')
146 250 if (int @Class::STL::Utilities::FunctionObject::ISA and (caller())[0] ne 'Class::STL::Utilities::FunctionObject')
100 56 unless ref $p
1 199 if exists $p{'result_type'}
12 30 if (int @Class::STL::Element::Priority::ISA and (caller())[0] ne 'Class::STL::Element::Priority')
3 30 unless ref $p
23 0 if exists $p{'priority'}
9 1 if (int @Class::STL::Utilities::UnaryNegate::ISA and (caller())[0] ne 'Class::STL::Utilities::UnaryNegate')
28 0 unless ref $p
0 10 if exists $p{'predicate'}
11 8 if (int @Class::STL::Utilities::PointerToUnaryFunction::ISA and (caller())[0] ne 'Class::STL::Utilities::PointerToUnaryFunction')
7 0 unless ref $p
5 4 if exists $p{'function_name'}
109 317 if (int @Class::STL::Containers::Vector::ISA and (caller())[0] ne 'Class::STL::Containers::Vector')
277 63 if (int @Class::STL::Containers::List::ISA and (caller())[0] ne 'Class::STL::Containers::List')
72 299 if (int @MyGenerator::ISA and (caller())[0] ne 'MyGenerator')
25 331 unless ref $p
3 41 if exists $p{'counter'}
44 68 if (int @Class::STL::ClassMembers::FunctionMember::Disable::ISA and (caller())[0] ne 'Class::STL::ClassMembers::FunctionMember::Disable')
99 40 unless ref $p
42 42 if exists $p{'function_name'}
76 350 if (int @Class::STL::Utilities::PointerToBinaryFunction::ISA and (caller())[0] ne 'Class::STL::Utilities::PointerToBinaryFunction')
264 7 unless ref $p
14 385 if exists $p{'function_name'}
18 313 if (int @Class::STL::Utilities::MemberFunction::ISA and (caller())[0] ne 'Class::STL::Utilities::MemberFunction')
0 0 unless ref $p
0 0 if exists $p{'function_name'}
116 13 if (int @Class::STL::Containers::Tree::ISA and (caller())[0] ne 'Class::STL::Containers::Tree')
420 1216 if (int @Class::STL::Element::ISA and (caller())[0] ne 'Class::STL::Element')
1209 0 unless ref $p
103 1459 exists $p{'data_type'} ? :
284 1278 if exists $p{'data'}
12 21 if (int @Class::STL::Iterators::Forward::ISA and (caller())[0] ne 'Class::STL::Iterators::Forward')
873 2 if (int @Class::STL::Iterators::Abstract::ISA and (caller())[0] ne 'Class::STL::Iterators::Abstract')
468 22 unless ref $p
445 343 if exists $p{'p_container'}
1 787 exists $p{'arr_idx'} ? :
48 32 if (int @Class::STL::Iterators::Reverse::ISA and (caller())[0] ne 'Class::STL::Iterators::Reverse')
198 150 if (int @Class::STL::Utilities::Binder2nd::ISA and (caller())[0] ne 'Class::STL::Utilities::Binder2nd')
71 31 unless ref $p
9 114 if exists $p{'operation'}
12 32 if exists $p{'second_argument'}
18 38 if (int @Class::STL::Containers::PriorityQueue::ISA and (caller())[0] ne 'Class::STL::Containers::PriorityQueue')
84 51 if (int @Class::STL::ClassMembers::Disable::ISA and (caller())[0] ne 'Class::STL::ClassMembers::Disable')
51 21 unless ref $p
23 27 if exists $p{'function_name'}
4 11 if exists $p{'_caller'}
891 447 if (int @Class::STL::Iterators::BiDirectional::ISA and (caller())[0] ne 'Class::STL::Iterators::BiDirectional')
7 0 if (int @Class::STL::Iterators::InsertIterator::ISA and (caller())[0] ne 'Class::STL::Iterators::InsertIterator')
4 26 if (int @Class::STL::Containers::Queue::ISA and (caller())[0] ne 'Class::STL::Containers::Queue')
120 9 if (int @Class::STL::Containers::Abstract::ISA and (caller())[0] ne 'Class::STL::Containers::Abstract')
364 21 unless ref $p
21 72 exists $p{'element_type'} ? :
73 22 if (int @Class::STL::Containers::Deque::ISA and (caller())[0] ne 'Class::STL::Containers::Deque')
2 21 defined $self->_caller ? :
2 21 defined $self->_trace ? :
0 2 defined $self->ctor_name ? :
0 2 defined $self->debug_on ? :
0 1 defined $self->singleton ? :
2 0 defined $self->operation ? :
1 0 defined $self->second_argument ? :
1 0 defined $self->function_name ? :
0 5 defined $self->result_type ? :
11 0 defined $self->first_argument ? :
2 3 defined $self->operation ? :
4 1 defined $self->predicate ? :
0 0 defined $self->element_type ? :
0 0 defined $self->predicate ? :
0 0 defined $self->priority ? :
0 0 defined $self->function_name ? :
0 0 defined $self->data ? :
0 0 defined $self->data_type ? :
0 0 defined $self->counter ? :
0 0 defined $self->function_name ? :
2 0 defined $self->_caller ? :
2 0 defined $self->function_name ? :
2 0 defined $self->function_name ? :
0 2 defined $self->arr_idx ? :
0 2 defined $self->p_container ? :
2 0 int @MyGenerator::ISA ? :
0 1 int @Class::STL::Iterators::FrontInsertIterator::ISA ? :
0 0 int @Class::STL::Utilities::MemberFunction::ISA ? :
0 0 int @Class::STL::Containers::Queue::ISA ? :
0 0 int @Class::STL::Iterators::Reverse::ISA ? :
0 0 int @Class::STL::Containers::Stack::ISA ? :
0 0 int @Class::STL::Iterators::BackInsertIterator::ISA ? :
0 0 int @Class::STL::Utilities::UnaryNegate::ISA ? :
0 0 int @Class::STL::Iterators::BiDirectional::ISA ? :
0 0 int @Class::STL::Containers::Abstract::ISA ? :
0 0 int @Class::STL::ClassMembers::Disable::ISA ? :
0 0 int @Class::STL::Containers::PriorityQueue::ISA ? :
0 0 int @Class::STL::Element::Priority::ISA ? :
0 0 int @Class::STL::Utilities::Binder2nd::ISA ? :
0 0 int @Class::STL::Utilities::BinaryNegate::ISA ? :
0 0 int @Class::STL::Utilities::Binder1st::ISA ? :
0 0 int @Class::STL::Utilities::PointerToUnaryFunction::ISA ? :
0 0 int @Class::STL::Containers::Deque::ISA ? :
0 0 int @Class::STL::Utilities::PointerToBinaryFunction::ISA ? :
0 0 int @Class::STL::Iterators::Forward::ISA ? :
0 0 int @Class::STL::Iterators::InsertIterator::ISA ? :
0 0 int @Class::STL::Element::ISA ? :
0 0 int @Class::STL::Containers::List::ISA ? :
0 0 int @Class::STL::Containers::Vector::ISA ? :
0 0 int @Class::STL::Containers::Tree::ISA ? :
0 0 int @Class::STL::Iterators::Abstract::ISA ? :
0 0 int @Class::STL::ClassMembers::FunctionMember::Disable::ISA ? :
0 0 int @Class::STL::Utilities::FunctionObject::ISA ? :
0 0 int @Class::STL::ClassMembers::Constructor::ISA ? :
0 0 ref $_ && $_->can('clone') ? :
14 77 if defined $v
0 91 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
10 60 if defined $v
29 78 if (defined $v and ref $v eq 'ARRAY') { }
0 39 ref $_ && $_->can('clone') ? :
991 15164 if defined $v
11 16164 if (defined $v and ref $v eq 'ARRAY') { }
0 24 ref $_ && $_->can('clone') ? :
8 8 if defined $v
9 18 if (defined $v and ref $v eq 'ARRAY') { }
0 13 ref $_ && $_->can('clone') ? :
4 4 if defined $v
24 16 if (defined $v and ref $v eq 'ARRAY') { }
0 32 ref $_ && $_->can('clone') ? :
0 0 if defined $v
10 6 if (defined $v and ref $v eq 'ARRAY') { }
0 16 ref $_ && $_->can('clone') ? :
0 0 if defined $v
0 0 if (defined $v and ref $v eq 'ARRAY') { }
0 5 ref $_ && $_->can('clone') ? :
16 89 if defined $v
0 105 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
142 710 if defined $v
0 852 if (defined $v and ref $v eq 'ARRAY') { }
0 17 if int @Class::STL::Element::ISA
0 0 if int @MyGenerator::ISA
0 26 if int @Class::STL::Iterators::FrontInsertIterator::ISA
20 6 if int @Class::STL::Utilities::Binder2nd::ISA
0 26 if int @Class::STL::Utilities::Binder1st::ISA
0 0 if int @Class::STL::ClassMembers::Disable::ISA
0 0 if int @Class::STL::Utilities::FunctionObject::ISA
0 0 if int @Class::STL::Iterators::BiDirectional::ISA
0 0 if int @Class::STL::Containers::PriorityQueue::ISA
0 0 if int @Class::STL::Iterators::BackInsertIterator::ISA
0 2 if int @Class::STL::Utilities::UnaryNegate::ISA
0 0 if int @Class::STL::Utilities::PointerToUnaryFunction::ISA
0 0 if int @Class::STL::Iterators::Forward::ISA
0 0 if int @Class::STL::Utilities::BinaryNegate::ISA
0 0 if int @Class::STL::Containers::Queue::ISA
1 0 if int @Class::STL::Iterators::Abstract::ISA
1 0 if int @Class::STL::ClassMembers::Constructor::ISA
1 0 if int @Class::STL::Utilities::PointerToBinaryFunction::ISA
0 1 if int @Class::STL::Containers::Deque::ISA
0 0 if int @Class::STL::Containers::Abstract::ISA
0 0 if int @Class::STL::Element::Priority::ISA
0 0 if int @Class::STL::Containers::Vector::ISA
0 0 if int @Class::STL::Utilities::MemberFunction::ISA
0 0 if int @Class::STL::Iterators::InsertIterator::ISA
0 0 if int @Class::STL::Iterators::Reverse::ISA
1 0 if int @Class::STL::Containers::List::ISA
0 0 if int @Class::STL::Containers::Tree::ISA
0 0 if int @Class::STL::ClassMembers::FunctionMember::Disable::ISA
1 0 if int @Class::STL::Containers::Stack::ISA
84 0 214 if $@
89 214 2786 if @_
95 228 220 if @_
101 214 399 if @_
115 56 165 ref $_ ? :
142 124 92 if (keys %{$self->_members;})
159 123 93 if (keys %{$self->_members;}) { }
182 123 91 if (keys %{$self->_members;}) { }
202 123 91 if (keys %{$self->_members;}) { }
244 123 91 if (keys %{$self->_members;})
262 123 91 if (keys %{$self->_members;})
272 123 91 if (keys %{$self->_members;})