jakearchibald/tweetdeck-prototype

View on GitHub
www/static/js/head.js

Summary

Maintainability
A
1 hr
Test Coverage

Function initialPrefetch has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var initialPrefetch = new Promise(function(resolve, reject) {
    var openRequest = indexedDB.open("tweetdeck", 1);
    openRequest.onsuccess = function(event) {
      var query = openRequest.result.transaction('keyval').objectStore('keyval').get('session');
      query.onsuccess = function(event) {
Severity: Minor
Found in www/static/js/head.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status