Branch Coverage

lib/Net/Travis/API/UA.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
67 0 0 if (eval "defined \$$vfield")
76 0 0 unless defined $self->_package_version
84 0 0 unless defined $self->_package_version
93 0 0 unless $class->can('_agent')
94 0 0 if $class eq 'Net::Travis::API::UA'
171 0 0 unless defined $options
172 0 0 if (exists $options->{'travis_no_auth'})
176 0 0 unless $self->has_authtokens
177 0 0 if exists $options->{'headers'} and exists $options->{'headers'}{'Authorization'}
191 0 0 if (1 == @elems and ref $elems[0]) { }
0 0 elsif (@elems % 2 == 0) { }
203 0 0 if $not{$key}
211 0 0 unless (exists $self->{'default_headers'}{'Accept'})