| lib/Git/Hooks/CheckYoutrack.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 22 | 0.0 |
| line | l | !l | condition |
|---|---|---|---|
| 265 | 0 | 0 | $git->fault("Cannot open file '${file}' for reading:", {'details', $@}) and return 0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 103 | 0 | 0 | 0 | $yt_ticket and $git->get_config_boolean($CFG, 'print-info') |
| 362 | 0 | 0 | 0 | $json->{'project'} and $json->{'project'}{'shortName'} |
| line | l | !l | condition |
|---|---|---|---|
| 280 | 0 | 0 | $$config{lc $CFG} //= {} |
| 285 | 0 | 0 | $default->{'matchkey'} //= ['^(P(?:AY|\\d+)-\\d+)'] |
| 287 | 0 | 0 | $default->{'required'} //= ['false'] |
| 289 | 0 | 0 | $default->{'print-info'} //= ['false'] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 85 | 0 | 0 | 0 | not $message or $message =~ /^[\n\r]$/g |
| 315 | 0 | 0 | 0 | $git->{'yt_ua'} //= 'LWP::UserAgent'->new |