jonshaffer/angular-data-table

View on GitHub
src/components/header/HeaderCellDirective.js

Summary

Maintainability
B
4 hrs
Test Coverage

Showing 2 of 2 total issues

Function HeaderCellDirective has 61 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function HeaderCellDirective($compile) {
return {
restrict: 'E',
controller: HeaderCellController,
controllerAs: 'hcell',
Severity: Major
Found in src/components/header/HeaderCellDirective.js - About 2 hrs to fix

Function HeaderCellDirective has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring.
Open

export default function HeaderCellDirective($compile) {
return {
restrict: 'E',
controller: HeaderCellController,
controllerAs: 'hcell',
Severity: Minor
Found in src/components/header/HeaderCellDirective.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status