adobe/brackets

View on GitHub
src/document/Document.js

Summary

Maintainability
B
6 hrs
Test Coverage

File Document.js has 330 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/document/Document.js - About 3 hrs to fix

    Function doMultipleEdits has 63 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        Document.prototype.doMultipleEdits = function (edits, origin) {
            var self = this;
    
            // Sort the edits backwards, so we don't have to adjust the edit positions as we go along
            // (though we do have to adjust the selection positions).
    Severity: Major
    Found in src/document/Document.js - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status