Branch Coverage

blib/lib/Toader/Config.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
64 0 0 unless (defined $toader)
73 0 0 if (ref $toader ne 'Toader')
86 0 0 unless (defined $self->{'dir'})
96 0 0 if (-f $self->{'configFile'}) { }
98 0 0 unless (defined $self->{'config'})
112 0 0 unless (defined $self->{'config'}{'_'}{'site'})
116 0 0 unless (defined $self->{'config'}{'_'}{'owner'})
120 0 0 unless (defined $self->{'config'}{'_'}{'last'})
124 0 0 unless (defined $self->{'config'}{'_'}{'vcs'})
130 0 0 if ($toader->error)
141 0 0 if ($self->{'vcs'}->error)
169 0 0 unless ($self->errorblank)
188 0 0 unless ($self->errorblank)
207 0 0 unless ($self->errorblank)
230 0 0 unless ($self->errorblank)
235 0 0 unless (defined $section)
243 0 0 unless (defined $section)
248 0 0 unless (defined $self->{'config'}{$section})
279 0 0 unless ($self->errorblank)
284 0 0 unless (defined $variable)
292 0 0 unless (defined $section)
297 0 0 unless (defined $self->{'config'}{$section})
304 0 0 unless (defined $self->{'config'}{$section}{$variable})
336 0 0 unless ($self->errorblank)
341 0 0 unless (defined $variable)
349 0 0 unless (defined $section)
354 0 0 unless (defined $self->{'config'}{$section})
387 0 0 unless ($self->errorblank)
392 0 0 unless (defined $variable)
400 0 0 unless (defined $section)
405 0 0 if ($variable =~ /[\t \n\=\#\;]/)
411 0 0 if ($section =~ /[\t \n\=\#\;]/)
419 0 0 unless (defined $self->{'config'}{$section})
441 0 0 unless ($self->errorblank)
446 0 0 unless ($self->{'config'}->write($self->{'configFile'}))
454 0 0 unless ($self->{'VCSusable'})
460 0 0 if ($self->{'vcs'}->error)
467 0 0 if ($underVCS)
473 0 0 if ($self->{'vcs'}->error)