Branch Coverage

blib/lib/XML/OverHTTP.pm
Criterion Covered Total %
branch 20 58 34.4


line true false branch
47 8 0 if ref $default
48 2 6 if scalar @_
55 6 2 unless defined $class
62 8 4 if scalar @_
69 0 4 unless my $param = $self->param
70 4 0 if exists $$param{$key}
75 0 3 if scalar @_
76 2 1 if ref $$self{'treepp'}
125 0 0 unless defined $method
126 0 0 unless defined $url
129 0 0 if (uc $method eq 'GET') { }
130 0 0 if length $query
142 0 0 unless ref $tree
144 0 0 unless defined $root
145 0 0 unless ref $$tree{$root}
152 0 0 unless ref $tree
153 0 0 if scalar keys %$tree > 1
160 0 2 unless my $param = $self->param
168 0 0 unless my $param = $self->param
169 0 0 unless my $check = $self->notnull_param
170 0 0 unless not exists $$param{$_} && defined $$param{$_}
175 0 0 unless scalar @$error
183 1 0 unless (defined $page)
184 0 1 if ref $$self{'page'}
186 0 1 unless $Data::Page::VERSION
187 0 1 unless $Data::Page::VERSION
202 0 1 if ref $$self{'pageset'}
213 0 1 unless $Data::Pageset::VERSION
214 0 1 unless $Data::Pageset::VERSION