Branch Coverage

lib/App/TimeTracker/Command/Trello.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
40 0 0 unless $self->has_trello
48 0 0 unless ($config->{'key'} and $config->{'token'})
232 0 0 if ($conf->{'key'}) { }
244 0 0 if ($conf->{'token'})
247 0 0 if ($token_info->{'dateExpires'}) { }
255 0 0 unless ($conf->{'token'})
269 0 0 if ($self->trello_client) { }
280 0 0 if ($conf->{'member_id'}) { }
290 0 0 if ($conf->{'board_id'})
293 0 0 unless ($conf->{'board_id'})
297 0 0 if ($in =~ /^y/i)
309 0 0 if ($in)
316 0 0 if (keys %global)
320 0 0 if (keys %local)
329 0 0 unless $client
332 0 0 if ($res->failed) { }
335 0 0 if ($res->code == 401)
354 0 0 unless ($in =~ /^n/i)
376 0 0 if (my $board_id = $self->config->{'trello'}{'board_id'})
382 0 0 unless (@$cards == 1)
395 0 0 unless $board_id
406 0 0 unless my $tracker_name = $$map{$list->{'name'}}
428 0 0 unless $list_id
431 0 0 if $name
437 0 0 unless $tag =~ /^trello:(\w+)/