| blib/lib/WebService/FogBugz/Config.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 26 | 80.7 |
| line | true | false | branch |
|---|---|---|---|
| 42 | 1 | 2 | unless $fbrc and -f $fbrc |
| 43 | 1 | 2 | unless $fbrc and -f $fbrc |
| 44 | 1 | 2 | unless $fbrc and -f $fbrc |
| 46 | 2 | 1 | if $fbrc |
| 53 | 3 | 0 | if $config{'base_url'} |
| 54 | 1 | 2 | if $config{'token'} |
| 55 | 2 | 1 | if $config{'email'} |
| 56 | 2 | 1 | if $config{'password'} |
| 57 | 2 | 1 | if $fbrc |
| 64 | 0 | 2 | unless -f $fbrc and -r $fbrc |
| 67 | 0 | 2 | unless $fh |
| 72 | 0 | 5 | unless $line and not $line =~ /^#/ |
| 74 | 5 | 0 | if ($line =~ /^(URL|TOKEN|EMAIL|PASSWORD)\s*=\s*(.*)/) |