Branch Coverage

blib/lib/Gftracks.pm
Criterion Covered Total %
branch 33 66 50.0


line true false branch
68 0 3 if $duration
74 4 2 unless $_ == $#tracks or sec($tracks[$_]{'start'}) < $timesec and sec($tracks[$_ + 1]{'start'}) > $timesec
77 2 1 if (sec($tracks[$_]{'end'}) > $timesec) { }
83 0 1 if ($duration)
137 1 4 unless $delno * 1
138 1 3 if $delno > $#{$tracks;}
139 2 1 $back ? :
155 0 0 unless $file =~ /.tracks$/
171 0 7 if $ENV{'GRFDEBUG'}
172 0 7 unless open FILE, "<$file"
173 0 7 unless open BACKUP, ">$savefile"
177 7 245 if (not $nooftracks and /Number_of_tracks.(\d+)/)
184 175 77 unless ($tracks)
185 77 98 if /^#/
187 56 42 if $var
190 21 56 if /^#/
191 42 35 if (/^Track(\d+)(start|end)=(.*)$/)
197 21 21 unless $tracks[$1]{'end'}
220 5 2 unless $4
221 1 6 if $sec < 10
389 0 0 unless $file
392 0 0 unless $tracks
398 0 0 if $command =~ /^q/i
399 0 0 if $command =~ /^h/i
400 0 0 if $command =~ /^a/
401 0 0 if $command =~ /^n/
402 0 0 if $command =~ /^d/
403 0 0 if $command =~ /^s/
404 0 0 if $command =~ /^p/
405 0 0 if $command =~ /^b/
406 0 0 if $command =~ /^e/
424 0 0 if $_ ne $not
429 0 0 if $i < 10