| line |
true |
false |
branch |
|
31
|
0 |
2 |
ref $_[0] ? : |
|
32
|
0 |
2 |
ref $_[0] eq 'HASH' ? : |
|
42
|
0 |
2 |
if (_INSTANCE $params{'provider'}, 'File::Tasks::Provider') |
|
47
|
1 |
1 |
if (_INSTANCE $params{'ignore'}, 'File::Find::Rule') |
|
62
|
2 |
2 |
wantarray ? : |
|
72
|
0 |
0 |
defined $_[0] ? : |
|
97
|
2 |
0 |
-d $_[0] ? : |
|
105
|
0 |
5 |
unless $self->remove($file) |
|
113
|
0 |
5 |
unless my $Task = _INSTANCE(shift(), 'File::Tasks::Task') |
|
114
|
0 |
5 |
if $self->clashes($Task->path) |
|
120
|
5 |
0 |
defined $_[0] ? : |
|
121
|
0 |
5 |
if $$self{'tasks'}{$path} |
|
123
|
0 |
4 |
if $path eq $_ |
|
124
|
0 |
4 |
if $_ =~ m[^$path/] |
|
125
|
0 |
4 |
if $path =~ m[$_/] |
|
140
|
0 |
0 |
unless my $Task = $$self{'tasks'}{$path} |
|
141
|
0 |
0 |
unless $Task->test |
|
149
|
0 |
0 |
unless my $Task = $$self{'tasks'}{$path} |
|
150
|
0 |
0 |
unless $Task->execute |
|
164
|
0 |
0 |
unless my $other = &Params::Coerce::coerce('File::Tasks', shift()) |
|
167
|
0 |
0 |
unless ($Current) |
|
168
|
0 |
0 |
unless $self->set($Current) |
|
171
|
0 |
0 |
if ($Task->type eq 'add') { } |
|
|
0 |
0 |
elsif ($Task->type eq 'edit') { } |
|
172
|
0 |
0 |
if ($Current->type eq 'add') { } |
|
178
|
0 |
0 |
unless my $Edit = 'File::Tasks::Edit'->new($self, $Task->path, $Task->source) |
|
184
|
0 |
0 |
if ($Current->type eq 'add') { } |
|
186
|
0 |
0 |
unless my $Add = 'File::Tasks::Add'->new($self, $Task->path, $Task->source) |
|
196
|
0 |
0 |
if ($Current->type eq 'add') { } |
|
|
0 |
0 |
elsif ($Current->type eq 'edit') { } |
|
212
|
0 |
0 |
_INSTANCE(shift(), 'File::Tasks') ? : |
|
213
|
0 |
0 |
unless my $right = &Params::Coerce::coerce('File::Tasks', shift()) |
|
214
|
0 |
0 |
if $_[0] |
|
228
|
0 |
0 |
unless my $Builder = _INSTANCE(shift(), 'Archive::Builder') |
|
231
|
0 |
0 |
unless $self->add($path, $$files{$path}) |
|
239
|
0 |
0 |
unless my $Section = _INSTANCE(shift(), 'Archive::Builder::Section') |
|
242
|
0 |
0 |
unless $self->add($path, $$files{$path}) |