Branch Coverage

blib/lib/Schedule/Load/Schedule.pm
Criterion Covered Total %
branch 39 84 46.4


line true false branch
36 0 1 unless @_ >= 1
50 0 8 unless $self and ref $self
51 4 4 wantarray ? :
55 0 4 unless $self and ref $self
56 0 4 unless $$self{'scheduled_hosts'}[0]
62 0 0 unless $self and ref $self
73 0 1 unless $self and ref $self
80 0 1 unless $self and ref $self
87 0 1 if $Schedule::Load::Schedule::Debug
91 0 1 unless $host
92 0 1 if $host->reserved
93 0 1 unless $host->reservable
99 0 1 unless $host
100 0 1 unless $host->reserved
104 0 1 unless $self and ref $self
109 0 1 if $Schedule::Load::Schedule::Debug
113 0 1 unless ($host)
117 0 1 unless ($host->reserved)
126 0 1 unless $host
127 0 1 unless not $host->reserved
131 0 1 unless $self and ref $self
141 0 1 if $Schedule::Load::Schedule::Debug
146 0 4 unless $self and ref $self
151 0 4 if $Schedule::Load::Schedule::Debug
160 0 4 unless $self and ref $self
163 0 4 if $Schedule::Load::Schedule::Debug
178 0 4 unless $rtn
179 0 4 unless $rtn and $rtn->scheduled_hosts
185 0 4 unless $self and ref $self
187 0 4 if $Schedule::Load::Schedule::Debug
201 0 4 unless $params{'resources'}[0]
203 0 4 if $Schedule::Load::Schedule::Debug
206 0 4 if $Schedule::Load::Schedule::Debug
207 0 4 unless defined $$self{'_schrtn'}
209 0 4 if (not $$self{'_schrtn'}{'best'}) { }
215 0 4 unless ($host)
217 0 0 if $Schedule::Load::Schedule::Debug
221 0 0 unless ($host)
222 0 0 if $Schedule::Load::Schedule::Debug
244 0 2 unless $self and ref $self
250 0 2 if $Schedule::Load::Schedule::Debug
254 0 2 unless $host