owncloud/core

View on GitHub
apps/files/js/search.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function initialize has 105 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        initialize: function() {

            var self = this;

            this.fileAppLoaded = function() {
Severity: Major
Found in apps/files/js/search.js - About 4 hrs to fix

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

                this.renderFileResult = function($row, result) {
                    if (inFileList($row, result)) {
                        return null;
                    }
                    hideNoFilterResults();
    Severity: Minor
    Found in apps/files/js/search.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status