| blib/lib/Net/Jifty.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 36 | 27.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 148 | 9 | 0 | 0 | $self->use_config and $self->has_config_file |
| 160 | 0 | 0 | 7 | $self->email and $self->password |
| 281 | 0 | 11 | 0 | $res->is_success and $res->content_type eq 'text/html' |
| 405 | 9 | 4 | 1 | $$action_spec{$arg}{'mandatory'} and not defined $args{$arg} |
| line | l | !l | condition |
|---|---|---|---|
| 227 | 1 | 4 | $$value{'content_type'} || 'application/octet-stream' |
| 566 | 0 | 0 | YAML::LoadFile($self->config_file) || {} |
| 607 | 0 | 0 | eval { do { require Term::ReadKey; \&Term::ReadKey::ReadMode } } || sub { } |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 254 | 26 | 0 | 11 | $method eq 'get' or $method eq 'head' |
| 490 | 0 | 0 | 0 | defined $a or defined $b |
| 497 | 0 | 0 | 0 | $_ eq 'nobody' or / |
| 528 | 0 | 0 | 0 | $self->config->{'email'} or $self->config->{'sid'} |
| 554 | 0 | 0 | 0 | $mode & 32 or $mode & 4 |
| 638 | 0 | 0 | 0 | shift() || Cwd::getcwd() |