jonshaffer/angular-data-table

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

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 1 of 2 total issues

Function BodyDirective has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

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

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

bindToController: {
columns: '=',
columnWidths: '=',
rows: '=',
options: '=',
Severity: Major
Found in src/components/body/BodyDirective.js and 1 other location - About 1 hr to fix
src/components/DataTableDirective.js on lines 12..24

There are no issues that match your filters.

Category
Status