Branch Coverage

blib/lib/Map/Tube/CLI.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
222 0 0 if (defined $key)
254 0 0 if ($self->preferred) { }
0 0 elsif ($self->generate_map) { }
0 0 elsif ($self->line_mappings or $self->line_notes) { }
260 0 0 if (defined $bgcolor)
264 0 0 if (defined $line) { }
281 0 0 if ($self->line_mappings)
285 0 0 if ($self->line_notes)
316 0 0 if ($i == 0) { }
0 0 elsif ($i == @station_names - 1) { }
342 0 0 unless scalar @{$line->get_stations;}
344 0 0 if uc $line_name eq uc $_line_name
357 0 0 unless exists $line_package->{$line}
358 0 0 if ($i == 1) { }
366 0 0 if ($i > 1)
381 0 0 if $token =~ /\&/u
395 0 0 if $_line_name eq $line_name
398 0 0 unless scalar @$lines
405 0 0 unless defined $name
409 0 0 if $maps->{$map} eq $name
419 0 0 if $caller[3] eq '(eval)'
433 0 0 unless exists $$supported_maps{uc $map}
440 0 0 unless exists $self->{'maps'}{uc $map}
442 0 0 if ($self->generate_map)
443 0 0 if (defined $bgcolor and not is_valid_color($bgcolor))
451 0 0 if (defined $line)
457 0 0 unless defined $self->{'maps'}{uc $map}->get_line_by_name($line)
461 0 0 if ($self->line_mappings or $self->line_notes)
462 0 0 unless defined $line
474 0 0 unless defined $self->{'maps'}{uc $map}->get_line_by_name($line)
477 0 0 unless ($self->generate_map or $self->line_mappings or $self->line_notes)
478 0 0 unless defined $start
485 0 0 unless defined $end
497 0 0 unless defined $self->{'maps'}{uc $map}->get_node_by_name($start)
504 0 0 unless defined $self->{'maps'}{uc $map}->get_node_by_name($end)