fossasia/loklak_webclient

View on GitHub
iframely/plugins/domains/twitter.com/twitter.status.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function getData has 108 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    getData: function(urlMatch, request, options, cb) {
        var id = urlMatch[1];

        var c = options.getProviderOptions("twitter") || options.getProviderOptions("twitter.status");

Severity: Major
Found in iframely/plugins/domains/twitter.com/twitter.status.js - About 4 hrs to fix

    Function prepareResult has 38 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                        prepareResult: function(error, response, data, cb) {
    
                            if (error) {
                                return cb(error);
                            }
    Severity: Minor
    Found in iframely/plugins/domains/twitter.com/twitter.status.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status