Branch Coverage

lib/App/Followme/Initialize.pm
Criterion Covered Total %
branch 24 36 66.6


line true false branch
29 1 0 if defined $directory
36 0 14 if $cmd eq 'copy' and @$lines == 0
39 0 14 if $cmd ne 'copy' and @$lines > 0
42 14 0 if ($cmd eq 'copy') { }
58 0 2 if -e $file
60 0 2 unless my $out = 'IO::File'->new($file, 'w')
80 1 1 if (-e $file) { }
83 1 0 if ($page =~ /:[ \n]/) { }
107 0 14 if -e $file
109 0 14 unless my $out = 'IO::File'->new($file, 'w')
132 4 8 unless (-d $path)
133 0 4 unless mkdir $path
134 0 4 unless chmod 0755, $path
148 13 640 if (@pushback) { }
172 28 625 if ($line =~ s/^$prefix//)
187 1 14 unless defined $line
190 0 14 unless $command
194 13 624 if (is_command($line)) { }