adobe/brackets

View on GitHub
src/extensions/default/RecentProjects/main.js

Summary

Maintainability
B
5 hrs
Test Coverage

File main.js has 285 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*
 * Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
Severity: Minor
Found in src/extensions/default/RecentProjects/main.js - About 2 hrs to fix

    Function _handleListEvents has 41 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function _handleListEvents() {
            $dropdown
                .on("click", "a", function () {
                    var $link = $(this),
                        id    = $link.attr("id"),
    Severity: Minor
    Found in src/extensions/default/RecentProjects/main.js - About 1 hr to fix

      Function keydownHook has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function keydownHook(event) {
              var keyHandled = false;
      
              switch (event.keyCode) {
              case KeyEvent.DOM_VK_UP:
      Severity: Minor
      Found in src/extensions/default/RecentProjects/main.js - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status