| blib/lib/Slovo/Command/prodan/products.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 4 | 11 | 36.3 | 
| line | l | !l | condition | 
|---|---|---|---|
| 18 | 0 | 0 | "STDERR"->say("Only " . join(",", @{$self->actions;}) . " actions are supported." . $/ . $/ . $self->usage) and return | 
| 32 | 0 | 2 | "STDERR"->say("Please profide a YAML file to read data from" . $/ . $/ . $self->usage) and return | 
| 36 | 0 | 0 | "STDERR"->say("Only YAML and json files are supported right now." . $/ . $/ . $self->usage) and return | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 44 | 1 | 0 | 0 | $action eq "delete" and "STDERR"->say("Please provide a WHERE clause for DELETE!") | 
| line | l | !l | condition | 
|---|---|---|---|
| 14 | 4 | 1 | shift @args || 'list' |