onijim/owl-table

View on GitHub
src/directives/owlTable.js

Summary

Maintainability
D
1 day
Test Coverage

Function owlTableDirective has 134 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function owlTableDirective ($timeout, $window, owlTable) {
        return {
            restrict: 'EA',
            scope: {
                data: '=',
Severity: Major
Found in src/directives/owlTable.js - About 5 hrs to fix

    Function compile has 97 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                compile: function (tElem, tAttrs) {
    
                    return function link (scope, elem, attrs) {
                        var table;
                        var rendered;
    Severity: Major
    Found in src/directives/owlTable.js - About 3 hrs to fix

      Function link has 95 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                      return function link (scope, elem, attrs) {
                          var table;
                          var rendered;
                          var container = elem.find('.owl-react-container')[0];
      
      
      Severity: Major
      Found in src/directives/owlTable.js - About 3 hrs to fix

        There are no issues that match your filters.

        Category
        Status