| Percentage | Lines | ||
|---|---|---|---|
| OAuth |
|
100 % | 72 |
| TypeformAuthCode |
|
100 % | 11 |
| TypeformServiceProvider |
|
100 % | 60 |
| TypeformAuthCode |
|
100 % | 48 |
| OAuthCodeController |
|
100 % | 6 |
| OAuthRedirectController |
|
100 % | 23 |
| ApiKey |
|
100 % | 37 |
| CRAP Score | Lines | ||
|---|---|---|---|
| OAuth::getAccessToken() | 4 | 11 | |
| OAuth::request() | 3 | 7 | |
| ApiKey::request() | 3 | 7 | |
| OAuth::refreshAccessToken() | 2 | 20 | |
| OAuth::test() | 2 | 7 | |
| TypeformServiceProvider::registerGlobalScript() | 2 | 6 | |
| ApiKey::test() | 2 | 7 | |
| OAuth::settingsSchema() | 1 | 5 | |
| TypeformAuthCode::getAppendedAttributes() | 1 | 3 | |
| TypeformServiceProvider::register() | 1 | 16 | |