| blib/lib/Yancy/Plugin/Auth/Github.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 3 | 7 | 42.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 155 | 0 | 5 | 0 | $username_field and $username_field ne $schema->{'x-id-field'} |
| line | l | !l | condition |
|---|---|---|---|
| 127 | 2 | 3 | $c->session->{'yancy'}{$self->moniker}{'github_login'} || (return undef) |
| 210 | 0 | 0 | $self->username_field || $schema->{'x-id-field'} || 'id' |