blib/lib/App/GitGot/Command/fork.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 15 | 20.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
32 | 0 | 0 | 0 | say q[Sorry, Net::GitHub is required for 'got fork'. Please install it.] and exit(1) |
36 | 0 | 1 | 0 | say STDERR 'ERROR: Need the URL of a repo to fork!' and exit(1) |
74 | 0 | 0 | 0 | say STDERR "ERROR: Can't find $file" and exit(1) |
87 | 0 | 0 | 1 | defined $config{'pass'} and defined $config{'user'} |
102 | 0 | 2 | 0 | say STDERR "ERROR: Can't parse '${url}'.\nURL needs to be of the form 'github.com/OWNER/REPO'.\n" and exit(1) |