onijim/owl-table

View on GitHub
src/directives/owlExportControls.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function owlExportControls has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function owlExportControls (owlTable) {
        return {
            restrict: 'EA',
            require: '^owlTable',
            templateUrl: 'partials/export.html',
Severity: Minor
Found in src/directives/owlExportControls.js - About 1 hr to fix

    Function controller has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                controller: ['$scope', function ($scope) {
                    this.csvHeader = function () {
                        return $scope.columns.map(function (column) {
                            return column.title;
                        });
    Severity: Minor
    Found in src/directives/owlExportControls.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status