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