jonshaffer/angular-data-table

View on GitHub
src/components/body/RowDirective.js

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 1 of 2 total issues

Function RowDirective has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function RowDirective() {
return {
restrict: 'E',
controller: RowController,
controllerAs: 'rowCtrl',
Severity: Major
Found in src/components/body/RowDirective.js - About 2 hrs to fix

Similar blocks of code found in 2 locations. Consider refactoring.
Invalid

bindToController: {
row: '=',
columns: '=',
columnWidths: '=',
expanded: '=',
Severity: Minor
Found in src/components/body/RowDirective.js and 1 other location - About 50 mins to fix
src/components/body/CellDirective.js on lines 9..19
Category
Status