Branch Coverage

blib/lib/Map/Metro/Graph/Station.pm
Criterion Covered Total %
branch 31 104 29.8


line true false branch
91 20 0 @_ ? :
0 20 if @_ < 1
20 0 $#_ >= 0 ? :
0 20 $#_ == 1 && ref $_[1] eq 'HASH' ? :
20 0 %tmp ? :
92 0 20 if exists $args{'do_undiacritic'} and not $args{'do_undiacritic'}
95 4 16 if (defined $no_diacritic)
96 0 4 if (exists $args{'search_names'}) { }
106 0 0 @_ ? :
0 0 if @_ != 1
0 0 $#_ >= 0 ? :
0 0 Type::Tiny::XS::Str($name) ? :
0 0 if ($#_ >= 0)
107 0 0 if ($self->do_undiacritic)
109 0 0 if (defined $no_diacritic)
115 0 0 @_ ? :
0 0 if @_ != 1
0 0 $#_ >= 0 ? :
0 0 Type::Tiny::XS::Str($name) ? :
0 0 if ($#_ >= 0)
116 0 0 if ($self->do_undiacritic)
119 0 0 if (defined $no_diacritic)
125 0 0 @_ ? :
0 0 @_ ? :
0 0 $#_ >= 0 ? :
126 0 0 if ($self->do_undiacritic)
129 0 0 if defined $no_diacritic
134 0 0 @_ ? :
0 0 @_ ? :
0 0 $#_ >= 0 ? :
135 0 0 if ($self->do_undiacritic)
138 0 0 if defined $no_diacritic
143 48 0 @_ ? :
48 0 @_ ? :
0 48 if @_ != 1
48 0 $#_ >= 0 ? :
48 0 Type::Tiny::XS::AUTO::TC3($line) ? :
48 0 if ($#_ >= 0)
144 26 22 if not $self->find_line(sub { $line->id eq $_->id; } )
147 48 0 @_ ? :
48 0 @_ ? :
0 48 if @_ != 1
48 0 $#_ >= 0 ? :
48 0 Type::Tiny::XS::AUTO::TC8($station) ? :
48 0 if ($#_ >= 0)
148 38 10 if not $self->find_connecting_station(sub { $station->id eq $_->id; } )
150 0 20 if @_ != 1
20 0 $#_ >= 0 ? :
20 0 Type::Tiny::XS::Str($text) ? :
20 0 if ($#_ >= 0)
152 4 16 if $undia ne $text
156 0 0 @_ ? :