jaredhanson/passport-foursquare

View on GitHub
lib/strategy.js

Summary

Maintainability
A
1 hr
Test Coverage

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

Strategy.prototype.userProfile = function(accessToken, done) {
  var url = this._userProfileURL;
  if (this._apiVersion) {
    url += '?v=' + this._apiVersion;
  }
Severity: Minor
Found in lib/strategy.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status