Branch Coverage

lib/Mail/Toaster/Darwin.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
15 0 0 unless my $port_name = shift()
32 0 0 unless (-x $port_bin)
38 0 0 if defined $opts and $opts
49 0 0 if (-M '/usr/ports' > $age) { }
61 0 0 unless (-x $cvsbin)
69 0 0 if (not -d $portsdir and -e '/usr/dports')
73 0 0 if (not -d $portsdir and -e '/usr/ports/dports')
77 0 0 if (-d $portsdir) { }
78 0 0 if $self->update_ports_sync
102 0 0 unless ($self->util->yes_or_no('q', 'May I try to set up darwin ports for you?'))
126 0 0 unless (-d '/etc/ports')
138 0 0 unless (-x $portindex)
149 0 0 unless ($self->util->yes_or_no('question', "\n\nWould you like me to do it for you?"))