terranodo/angular-search

View on GitHub
app/components/keywordInput/keywordInputDirective.js

Summary

Maintainability
C
1 day
Test Coverage

Function keywordInput has 116 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        function keywordInput(HeatMapSourceGenerator, searchFilter, $window, filterKeywordService) {

            return {
                link: keywordInputLink,
                restrict: 'EA',
Severity: Major
Found in app/components/keywordInput/keywordInputDirective.js - About 4 hrs to fix

    Function keywordInputLink has 102 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                function keywordInputLink(scope) {
                    var vm = scope;
                    var numberKeywords = vm.numberKeywords || 5;
    
                    vm.filter = searchFilter;
    Severity: Major
    Found in app/components/keywordInput/keywordInputDirective.js - About 4 hrs to fix

      There are no issues that match your filters.

      Category
      Status