Condition Coverage

lib/BalanceOfPower/Commands.pm
Criterion Covered Total %
condition 0 23 0.0


and 3 conditions

line !l l&&!r l&&r condition
372 0 0 0 $self->verify_nation($n1) and $self->verify_nation($n2)
546 0 0 0 compare_turns($query, $self->world->current_year) == 0 || compare_turns($query, $self->world->current_year) == -1 and compare_turns($query, $self->world->first_year) >= 0
577 0 0 0 $self->executive and $self->executive->actor
836 0 0 0 $4 and $4 eq 'bm'

or 2 conditions

line l !l condition
433 0 0 $input_year ||= undef

or 3 conditions

line l !l&&r !l&&!r condition
364 0 0 0 $savefile ||= $self->world->savefile
546 0 0 0 compare_turns($query, $self->world->current_year) == 0 || compare_turns($query, $self->world->current_year) == -1
686 0 0 0 $input_year ||= prev_turn($self->world->current_year)