mgcrea/angular-strap

View on GitHub
src/collapse/collapse.js

Summary

Maintainability
B
4 hrs
Test Coverage

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

    var controller = this.controller = function ($scope, $element, $attrs) {
      var self = this;

      // Attributes options
      self.$options = angular.copy(defaults);
Severity: Major
Found in src/collapse/collapse.js - About 3 hrs to fix

Function postLink has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      link: function postLink (scope, element, attrs, controllers) {

        // var ngModelCtrl = controllers[0];
        var bsCollapseCtrl = controllers[1];

Severity: Minor
Found in src/collapse/collapse.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status