chrisenytc/ubauth

View on GitHub
app/src/services/uber.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function authorize has 76 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            authorize: (options) => {
                //Build the OAuth consent page URL
                let authWindow = new BrowserWindow({
                    minWidth: 600,
                    minHeight: 835,
Severity: Major
Found in app/src/services/uber.js - About 3 hrs to fix

    Function getAccessToken has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                    let getAccessToken = (code) => {
                        let data = {
                            grant_type: 'authorization_code',
                            client_id: options.client_id,
                            client_secret: options.client_secret,
    Severity: Minor
    Found in app/src/services/uber.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status