| line |
true |
false |
branch |
|
14
|
0 |
0 |
unless $opts{'graph'} |
|
15
|
0 |
0 |
unless $opts{'journal'} |
|
69
|
0 |
0 |
if ($state->{'iteration_count'} > $graph->{'limits'}{'max_iterations'}) |
|
77
|
0 |
0 |
if $state->{'active'}{$agent_name} |
|
79
|
0 |
0 |
unless my $agent = $graph->{'agents'}{$agent_name} |
|
84
|
0 |
0 |
unless (Sim::Agent::Engine::dependencies_satisfied($agent, $state)) |
|
94
|
0 |
0 |
if ($agent->{'role'} eq 'worker') { } |
|
|
0 |
0 |
elsif ($agent->{'role'} eq 'critic') { } |
|
|
0 |
0 |
elsif ($agent->{'role'} eq 'chief') { } |
|
115
|
0 |
0 |
if ($agent->{'role'} eq "chief" and $result->{'status'} eq "stop") |
|
144
|
0 |
0 |
unless defined $max_cycles |
|
157
|
0 |
0 |
unless ref $crit eq "HASH" |
|
162
|
0 |
0 |
if ($st eq 'ok') { } |
|
|
0 |
0 |
elsif ($st eq 'revise') { } |
|
170
|
0 |
0 |
if ($cycles >= $max_cycles) |
|
179
|
0 |
0 |
if ref $revised |
|
182
|
0 |
0 |
if (defined $prev_output and defined $revised and $revised eq $prev_output) |
|
200
|
0 |
0 |
if ($tainted) |
|
207
|
0 |
0 |
$tainted ? : |
|
227
|
0 |
0 |
unless @senders |
|
230
|
0 |
0 |
unless @senders == 1 |
|
238
|
0 |
0 |
unless ref $parse eq "HASH" |
|
248
|
0 |
0 |
unless defined $max_pp |
|
253
|
0 |
0 |
if ($status eq 'ok') { } |
|
|
0 |
0 |
elsif ($status eq 'fail' and $max_pp > 0) { } |
|
|
0 |
0 |
elsif ($status eq 'stop') { } |
|
262
|
0 |
0 |
if ($n >= $max_pp) |
|
288
|
0 |
0 |
$status eq 'ok' ? : |
|
294
|
0 |
0 |
if exists $parse->{'critique'} |
|
295
|
0 |
0 |
if ($forced_ok) |
|
301
|
0 |
0 |
$packet->{'tainted'} ? : |
|
302
|
0 |
0 |
if $forced_ok |
|
325
|
0 |
0 |
if ($agent->{'role'} eq 'worker') { } |
|
|
0 |
0 |
elsif ($agent->{'role'} eq 'critic' or $agent->{'role'} eq 'chief') { } |
|
331
|
0 |
0 |
if ($result->{'status'} eq 'ok') { } |
|
348
|
0 |
0 |
unless (Sim::Agent::Engine::is_enqueued_or_active($state, $target)) |
|
350
|
0 |
0 |
if (Sim::Agent::Engine::dependencies_satisfied($graph->{'agents'}{$target}, $state)) |