Branch Coverage

lib/Class/STL/ClassMembers.pm
Criterion Covered Total %
branch 214 718 29.8


line true false branch
83 0 214 if $self->_trace->debug_on
84 0 0 ref $_ && $_->can('clone') ? :
116 152 if defined $v
0 268 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
110 158 if defined $v
0 268 if (defined $v and ref $v eq 'ARRAY') { }
0 0 int @Class::STL::Containers::List::ISA ? :
1 1 int @Class::STL::Iterators::BackInsertIterator::ISA ? :
0 2 int @Class::STL::Containers::Abstract::ISA ? :
0 0 int @Class::STL::Containers::Queue::ISA ? :
0 0 int @Class::STL::Containers::Stack::ISA ? :
0 0 int @Class::STL::Utilities::Binder1st::ISA ? :
0 0 int @Class::STL::Iterators::Reverse::ISA ? :
0 0 int @Class::STL::Utilities::Binder2nd::ISA ? :
0 0 int @Class::STL::Containers::Deque::ISA ? :
0 0 int @Class::STL::Containers::Vector::ISA ? :
0 0 int @Class::STL::Element::Priority::ISA ? :
0 0 int @Class::STL::ClassMembers::Disable::ISA ? :
0 0 int @Class::STL::ClassMembers::Constructor::ISA ? :
0 0 int @Class::STL::Containers::Tree::ISA ? :
0 0 int @Class::STL::Element::ISA ? :
0 0 int @Class::STL::Utilities::PointerToBinaryFunction::ISA ? :
0 0 int @MyGenerator::ISA ? :
0 0 int @Class::STL::Utilities::UnaryNegate::ISA ? :
0 0 int @Class::STL::Iterators::InsertIterator::ISA ? :
0 0 int @Class::STL::Iterators::Forward::ISA ? :
0 0 int @Class::STL::Utilities::BinaryNegate::ISA ? :
0 0 int @Class::STL::Iterators::BiDirectional::ISA ? :
0 0 int @Class::STL::Iterators::Abstract::ISA ? :
0 0 int @Class::STL::Utilities::PointerToUnaryFunction::ISA ? :
0 0 int @Class::STL::Iterators::FrontInsertIterator::ISA ? :
0 0 int @Class::STL::Containers::PriorityQueue::ISA ? :
0 0 int @Class::STL::Utilities::FunctionObject::ISA ? :
0 0 int @Class::STL::Utilities::MemberFunction::ISA ? :
0 0 int @Class::STL::ClassMembers::FunctionMember::Disable::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') ? :
23 25 if defined $v
0 48 if (defined $v and ref $v eq 'ARRAY') { }
0 0 int @Class::STL::Iterators::Abstract::ISA ? :
3 2 int @Class::STL::Utilities::Binder2nd::ISA ? :
0 8 int @Class::STL::Utilities::BinaryNegate::ISA ? :
0 0 int @Class::STL::Utilities::UnaryNegate::ISA ? :
1 0 int @Class::STL::Containers::Deque::ISA ? :
0 0 int @Class::STL::Element::Priority::ISA ? :
0 0 int @Class::STL::Iterators::BiDirectional::ISA ? :
1 0 int @Class::STL::Utilities::PointerToBinaryFunction::ISA ? :
0 0 int @Class::STL::Containers::Vector::ISA ? :
0 0 int @Class::STL::Utilities::PointerToUnaryFunction::ISA ? :
1 0 int @Class::STL::Iterators::Reverse::ISA ? :
0 0 int @Class::STL::Iterators::Forward::ISA ? :
0 0 int @Class::STL::Containers::Stack::ISA ? :
0 0 int @Class::STL::Containers::Tree::ISA ? :
0 0 int @Class::STL::Iterators::InsertIterator::ISA ? :
0 0 int @Class::STL::Iterators::FrontInsertIterator::ISA ? :
0 0 int @Class::STL::Containers::Queue::ISA ? :
0 0 int @Class::STL::Utilities::MemberFunction::ISA ? :
0 0 int @Class::STL::Element::ISA ? :
0 0 int @Class::STL::Containers::List::ISA ? :
0 0 int @Class::STL::Utilities::Binder1st::ISA ? :
0 0 int @MyGenerator::ISA ? :
0 0 int @Class::STL::Containers::PriorityQueue::ISA ? :
0 0 int @Class::STL::Utilities::FunctionObject::ISA ? :
0 0 int @Class::STL::Iterators::BackInsertIterator::ISA ? :
0 0 int @Class::STL::ClassMembers::Constructor::ISA ? :
0 0 int @Class::STL::ClassMembers::FunctionMember::Disable::ISA ? :
0 0 int @Class::STL::ClassMembers::Disable::ISA ? :
0 0 int @Class::STL::Containers::Abstract::ISA ? :
0 0 ref $_ && $_->can('clone') ? :
0 0 if defined $v
0 0 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
120 480 if defined $v
10 603 if (defined $v and ref $v eq 'ARRAY') { }
0 19 ref $_ && $_->can('clone') ? :
33 198 if defined $v
4 229 if (defined $v and ref $v eq 'ARRAY') { }
0 11 unless not defined $_ or $_ =~ /^(string|array|numeric|ref)$/
0 0 ref $_ && $_->can('clone') ? :
0 48 unless not defined $v or $v =~ /^(string|array|numeric|ref)$/
27 29 if defined $v
2 54 if (defined $v and ref $v eq 'ARRAY') { }
0 8 ref $_ && $_->can('clone') ? :
122 121 if defined $v
0 243 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
23 23 if defined $v
0 46 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
2 5 if defined $v
0 7 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
25 49 if defined $v
0 74 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 0 ref $_ && $_->can('clone') ? :
0 0 if defined $v
0 0 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
24 48 if defined $v
0 72 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
37 74 if defined $v
0 111 if (defined $v and ref $v eq 'ARRAY') { }
0 0 int @Class::STL::Containers::Tree::ISA ? :
0 0 keys %$super ? :
3 0 int @Class::STL::Utilities::PointerToBinaryFunction::ISA ? :
3 0 keys %$super ? :
0 0 int @Class::STL::Utilities::MemberFunction::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Utilities::UnaryNegate::ISA ? :
0 0 keys %$super ? :
10 0 int @Class::STL::ClassMembers::Disable::ISA ? :
10 0 keys %$super ? :
1 0 int @Class::STL::Containers::Deque::ISA ? :
1 0 keys %$super ? :
3 0 int @Class::STL::Iterators::FrontInsertIterator::ISA ? :
3 0 keys %$super ? :
0 0 int @Class::STL::Utilities::Binder1st::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Iterators::Abstract::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Iterators::InsertIterator::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Containers::Vector::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Element::Priority::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Containers::Stack::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::ClassMembers::Constructor::ISA ? :
0 0 keys %$super ? :
11 0 int @Class::STL::Iterators::BiDirectional::ISA ? :
11 0 keys %$super ? :
0 0 int @MyGenerator::ISA ? :
0 0 keys %$super ? :
0 19 int @Class::STL::Containers::List::ISA ? :
0 19 keys %$super ? :
0 0 int @Class::STL::Iterators::Forward::ISA ? :
0 0 keys %$super ? :
0 6 int @Class::STL::Utilities::Binder2nd::ISA ? :
0 6 keys %$super ? :
0 0 int @Class::STL::Containers::Queue::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Utilities::FunctionObject::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Containers::Abstract::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Utilities::BinaryNegate::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Iterators::Reverse::ISA ? :
0 0 keys %$super ? :
6 0 int @Class::STL::ClassMembers::FunctionMember::Disable::ISA ? :
6 0 keys %$super ? :
0 0 int @Class::STL::Element::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Iterators::BackInsertIterator::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Containers::PriorityQueue::ISA ? :
0 0 keys %$super ? :
0 0 int @Class::STL::Utilities::PointerToUnaryFunction::ISA ? :
0 0 keys %$super ? :
0 18 if (int @MyGenerator::ISA and (caller())[0] ne 'MyGenerator')
18 0 unless ref $p
0 18 if exists $p{'counter'}
20 19 if (int @Class::STL::Iterators::Abstract::ISA and (caller())[0] ne 'Class::STL::Iterators::Abstract')
27 18 unless ref $p
0 39 if exists $p{'p_container'}
18 21 exists $p{'arr_idx'} ? :
3 18 if (int @Class::STL::Element::Priority::ISA and (caller())[0] ne 'Class::STL::Element::Priority')
0 21 unless ref $p
0 21 if exists $p{'priority'}
9 4 if (int @Class::STL::Utilities::PointerToBinaryFunction::ISA and (caller())[0] ne 'Class::STL::Utilities::PointerToBinaryFunction')
28 0 unless ref $p
0 10 if exists $p{'function_name'}
7 3 if (int @Class::STL::Containers::Vector::ISA and (caller())[0] ne 'Class::STL::Containers::Vector')
0 24 if (int @Class::STL::Containers::Tree::ISA and (caller())[0] ne 'Class::STL::Containers::Tree')
26 0 if (int @Class::STL::Iterators::BackInsertIterator::ISA and (caller())[0] ne 'Class::STL::Iterators::BackInsertIterator')
7 25 if (int @Class::STL::Containers::Queue::ISA and (caller())[0] ne 'Class::STL::Containers::Queue')
47 1 if (int @Class::STL::Utilities::MemberFunction::ISA and (caller())[0] ne 'Class::STL::Utilities::MemberFunction')
4 28 unless ref $p
0 24 if exists $p{'function_name'}
0 46 if (int @Class::STL::Containers::List::ISA and (caller())[0] ne 'Class::STL::Containers::List')
23 2 if (int @Class::STL::Containers::Stack::ISA and (caller())[0] ne 'Class::STL::Containers::Stack')
3 43 if (int @Class::STL::Containers::Deque::ISA and (caller())[0] ne 'Class::STL::Containers::Deque')
43 2 if (int @Class::STL::ClassMembers::FunctionMember::Disable::ISA and (caller())[0] ne 'Class::STL::ClassMembers::FunctionMember::Disable')
2 43 unless ref $p
21 24 if exists $p{'function_name'}
0 43 if (int @Class::STL::Iterators::FrontInsertIterator::ISA and (caller())[0] ne 'Class::STL::Iterators::FrontInsertIterator')
1 36 if (int @Class::STL::Iterators::InsertIterator::ISA and (caller())[0] ne 'Class::STL::Iterators::InsertIterator')
35 21 if (int @Class::STL::Containers::Abstract::ISA and (caller())[0] ne 'Class::STL::Containers::Abstract')
4 11 unless ref $p
4 11 exists $p{'element_type'} ? :
0 18 if (int @Class::STL::ClassMembers::Constructor::ISA and (caller())[0] ne 'Class::STL::ClassMembers::Constructor')
18 0 unless ref $p
0 18 exists $p{'debug_on'} ? :
0 18 exists $p{'singleton'} ? :
0 18 exists $p{'ctor_name'} ? :
0 18 if exists $p{'_trace'}
18 0 if exists $p{'_caller'}
0 0 if (int @Class::STL::Utilities::Binder2nd::ISA and (caller())[0] ne 'Class::STL::Utilities::Binder2nd')
0 0 unless ref $p
0 0 if exists $p{'second_argument'}
0 0 if exists $p{'operation'}
2 0 if (int @Class::STL::Iterators::Forward::ISA and (caller())[0] ne 'Class::STL::Iterators::Forward')
6 23 if (int @Class::STL::Containers::PriorityQueue::ISA and (caller())[0] ne 'Class::STL::Containers::PriorityQueue')
25 0 if (int @Class::STL::Utilities::Binder1st::ISA and (caller())[0] ne 'Class::STL::Utilities::Binder1st')
0 23 unless ref $p
0 23 if exists $p{'operation'}
23 0 if exists $p{'first_argument'}
0 24 if (int @Class::STL::Iterators::BiDirectional::ISA and (caller())[0] ne 'Class::STL::Iterators::BiDirectional')
3 23 if (int @Class::STL::Utilities::BinaryNegate::ISA and (caller())[0] ne 'Class::STL::Utilities::BinaryNegate')
1 0 unless ref $p
1 0 if exists $p{'predicate'}
1 0 if (int @Class::STL::Utilities::UnaryNegate::ISA and (caller())[0] ne 'Class::STL::Utilities::UnaryNegate')
0 0 unless ref $p
0 0 if exists $p{'predicate'}
0 0 if (int @Class::STL::Iterators::Reverse::ISA and (caller())[0] ne 'Class::STL::Iterators::Reverse')
0 0 if (int @Class::STL::Utilities::PointerToUnaryFunction::ISA and (caller())[0] ne 'Class::STL::Utilities::PointerToUnaryFunction')
0 0 unless ref $p
0 0 if exists $p{'function_name'}
0 0 if (int @Class::STL::ClassMembers::Disable::ISA and (caller())[0] ne 'Class::STL::ClassMembers::Disable')
0 0 unless ref $p
0 0 if exists $p{'_caller'}
0 0 if exists $p{'function_name'}
8 6 if (int @Class::STL::Utilities::FunctionObject::ISA and (caller())[0] ne 'Class::STL::Utilities::FunctionObject')
41 0 unless ref $p
7 7 if exists $p{'result_type'}
2 12 if (int @Class::STL::Element::ISA and (caller())[0] ne 'Class::STL::Element')
6 3 unless ref $p
6 3 exists $p{'data_type'} ? :
3 6 if exists $p{'data'}
3 6 defined $self->predicate ? :
2 0 defined $self->element_type ? :
2 0 defined $self->first_argument ? :
2 0 defined $self->operation ? :
0 2 defined $self->priority ? :
0 2 defined $self->function_name ? :
2 0 defined $self->data ? :
0 0 defined $self->data_type ? :
0 0 defined $self->arr_idx ? :
0 0 defined $self->p_container ? :
0 0 defined $self->function_name ? :
0 0 defined $self->result_type ? :
0 0 defined $self->counter ? :
0 0 defined $self->_caller ? :
0 0 defined $self->function_name ? :
0 0 defined $self->operation ? :
0 0 defined $self->second_argument ? :
0 0 defined $self->function_name ? :
0 0 defined $self->_caller ? :
0 0 defined $self->_trace ? :
0 0 defined $self->ctor_name ? :
0 0 defined $self->debug_on ? :
0 0 defined $self->singleton ? :
0 0 defined $self->predicate ? :
0 0 defined $self->function_name ? :
0 0 int @Class::STL::Containers::Deque::ISA ? :
0 0 int @Class::STL::Element::Priority::ISA ? :
0 0 int @Class::STL::Iterators::BiDirectional::ISA ? :
0 0 int @Class::STL::Containers::Queue::ISA ? :
0 0 int @Class::STL::Utilities::BinaryNegate::ISA ? :
0 0 int @Class::STL::Containers::List::ISA ? :
0 0 int @Class::STL::Iterators::BackInsertIterator::ISA ? :
0 0 int @Class::STL::ClassMembers::Constructor::ISA ? :
0 0 int @Class::STL::Containers::Abstract::ISA ? :
0 0 int @Class::STL::Utilities::PointerToUnaryFunction::ISA ? :
0 0 int @Class::STL::Utilities::MemberFunction::ISA ? :
0 0 int @Class::STL::Utilities::Binder1st::ISA ? :
0 0 int @Class::STL::Element::ISA ? :
0 0 int @Class::STL::Containers::Stack::ISA ? :
0 0 int @Class::STL::Iterators::FrontInsertIterator::ISA ? :
0 0 int @MyGenerator::ISA ? :
0 0 int @Class::STL::Containers::PriorityQueue::ISA ? :
0 0 int @Class::STL::Iterators::InsertIterator::ISA ? :
0 0 int @Class::STL::Utilities::Binder2nd::ISA ? :
0 0 int @Class::STL::ClassMembers::Disable::ISA ? :
0 0 int @Class::STL::Containers::Vector::ISA ? :
0 0 int @Class::STL::Iterators::Reverse::ISA ? :
0 0 int @Class::STL::Utilities::FunctionObject::ISA ? :
0 0 int @Class::STL::Iterators::Abstract::ISA ? :
0 0 int @Class::STL::Iterators::Forward::ISA ? :
0 0 int @Class::STL::Utilities::UnaryNegate::ISA ? :
0 0 int @Class::STL::Utilities::PointerToBinaryFunction::ISA ? :
0 0 int @Class::STL::Containers::Tree::ISA ? :
0 0 int @Class::STL::ClassMembers::FunctionMember::Disable::ISA ? :
0 0 ref $_ && $_->can('clone') ? :
0 0 if defined $v
0 1 if (defined $v and ref $v eq 'ARRAY') { }
0 0 ref $_ && $_->can('clone') ? :
0 0 if defined $v
9 4 if (defined $v and ref $v eq 'ARRAY') { }
0 15 ref $_ && $_->can('clone') ? :
0 2 if defined $v
0 0 if (defined $v and ref $v eq 'ARRAY') { }
0 2 ref $_ && $_->can('clone') ? :
4 5 if defined $v
2 8 if (defined $v and ref $v eq 'ARRAY') { }
0 3 ref $_ && $_->can('clone') ? :
0 0 if defined $v
10 4 if (defined $v and ref $v eq 'ARRAY') { }
0 14 ref $_ && $_->can('clone') ? :
0 0 if defined $v
5 3 if (defined $v and ref $v eq 'ARRAY') { }
0 8 ref $_ && $_->can('clone') ? :
0 0 if defined $v
0 0 if (defined $v and ref $v eq 'ARRAY') { }
0 5 ref $_ && $_->can('clone') ? :
1 4 if defined $v
0 5 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 0 if int @Class::STL::Containers::PriorityQueue::ISA
0 0 if int @MyGenerator::ISA
0 13 if int @Class::STL::ClassMembers::Disable::ISA
10 3 if int @Class::STL::Utilities::PointerToBinaryFunction::ISA
0 13 if int @Class::STL::Utilities::BinaryNegate::ISA
0 0 if int @Class::STL::Iterators::Forward::ISA
0 0 if int @Class::STL::Utilities::FunctionObject::ISA
0 0 if int @Class::STL::Containers::Vector::ISA
0 0 if int @Class::STL::Iterators::FrontInsertIterator::ISA
0 0 if int @Class::STL::Iterators::Abstract::ISA
0 0 if int @Class::STL::Containers::Stack::ISA
0 0 if int @Class::STL::Utilities::MemberFunction::ISA
0 0 if int @Class::STL::Utilities::Binder2nd::ISA
0 0 if int @Class::STL::Utilities::Binder1st::ISA
0 0 if int @Class::STL::Utilities::PointerToUnaryFunction::ISA
0 1 if int @Class::STL::Iterators::BackInsertIterator::ISA
0 0 if int @Class::STL::Element::ISA
0 0 if int @Class::STL::Containers::List::ISA
0 0 if int @Class::STL::Iterators::BiDirectional::ISA
0 0 if int @Class::STL::Element::Priority::ISA
0 0 if int @Class::STL::ClassMembers::FunctionMember::Disable::ISA
0 0 if int @Class::STL::Iterators::Reverse::ISA
0 0 if int @Class::STL::Containers::Queue::ISA
0 0 if int @Class::STL::Utilities::UnaryNegate::ISA
0 0 if int @Class::STL::Containers::Tree::ISA
0 0 if int @Class::STL::Containers::Abstract::ISA
0 0 if int @Class::STL::Iterators::InsertIterator::ISA
0 0 if int @Class::STL::Containers::Deque::ISA
0 0 if int @Class::STL::ClassMembers::Constructor::ISA
85 0 214 if $@
90 214 2786 if @_
96 221 217 if @_
102 214 389 if @_
116 56 164 ref $_ ? :
143 123 91 if (keys %{$self->_members;})
160 123 91 if (keys %{$self->_members;}) { }
183 123 91 if (keys %{$self->_members;}) { }
203 123 91 if (keys %{$self->_members;}) { }
245 123 91 if (keys %{$self->_members;})
263 123 91 if (keys %{$self->_members;})
273 123 91 if (keys %{$self->_members;})