Condition Coverage

blib/lib/Arango/DB.pm
Criterion Covered Total %
condition 0 26 0.0


and 3 conditions

line !l l&&!r l&&r condition
88 0 0 0 defined $username and length $username
94 0 0 0 defined $username and length $username

or 2 conditions

line l !l condition
20 0 0 $ENV{'ARANGO_DB_HOST'} || 'localhost'
21 0 0 $ENV{'ARANGO_DB_PORT'} || 8529
23 0 0 $ENV{'ARANGO_DB_USERNAME'} || 'root'
24 0 0 $ENV{'ARANGO_DB_PASSWORD'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
20 0 0 0 $self->{'host'} ||= $ENV{'ARANGO_DB_HOST'} || 'localhost'
21 0 0 0 $self->{'port'} ||= $ENV{'ARANGO_DB_PORT'} || 8529
23 0 0 0 $self->{'username'} ||= $ENV{'ARANGO_DB_USERNAME'} || 'root'
24 0 0 0 $self->{'password'} ||= $ENV{'ARANGO_DB_PASSWORD'} || ''