Branch Coverage

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


line true false branch
224 0 0 if (defined $key)
256 0 0 if ($self->preferred) { }
0 0 elsif ($self->generate_map) { }
0 0 elsif ($self->line_mappings or $self->line_notes) { }
262 0 0 if (defined $bgcolor)
266 0 0 if (defined $line) { }
283 0 0 if ($self->line_mappings)
287 0 0 if ($self->line_notes)
318 0 0 if ($i == 0) { }
0 0 elsif ($i == @station_names - 1) { }
344 0 0 unless scalar @{$line->get_stations;}
346 0 0 if uc $line_name eq uc $_line_name
359 0 0 unless exists $line_package->{$line}
360 0 0 if ($i == 1) { }
368 0 0 if ($i > 1)
383 0 0 if $token =~ /\&/u
397 0 0 if $_line_name eq $line_name
400 0 0 unless scalar @$lines
407 0 0 unless defined $name
411 0 0 if $maps->{$map} eq $name
421 0 0 if $caller[3] eq "(eval)"
435 0 0 unless exists $$supported_maps{uc $map}
442 0 0 unless exists $self->{'maps'}{uc $map}
444 0 0 if ($self->generate_map)
445 0 0 if (defined $bgcolor and not is_valid_color($bgcolor))
453 0 0 if (defined $line)
459 0 0 unless defined $self->{'maps'}{uc $map}->get_line_by_name($line)
463 0 0 if ($self->line_mappings or $self->line_notes)
464 0 0 unless defined $line
476 0 0 unless defined $self->{'maps'}{uc $map}->get_line_by_name($line)
479 0 0 unless ($self->generate_map or $self->line_mappings or $self->line_notes)
480 0 0 unless defined $start
487 0 0 unless defined $end
499 0 0 unless defined $self->{'maps'}{uc $map}->get_node_by_name($start)
506 0 0 unless defined $self->{'maps'}{uc $map}->get_node_by_name($end)