Showing 8 of 12 total issues
Function exports
has 304 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
require('load-grunt-tasks')(grunt, {
pattern: ['grunt-*', '!grunt-template-jasmine-istanbul']
});
require('time-grunt')(grunt);
Function link
has 157 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, element, attrs, ngModelCtrl) {
var id = attrs.id+'-list';
var noneSelected=attrs.title || 'common_i18n_select_noneSelectedText';
var noSelection='common_i18n_select_noSelectionText';
var required = 'required' in attrs || false;
File example.app.js
has 324 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;(function () {
'use strict';
/**
File Gruntfile.js
has 309 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;(function () {
'use strict';
module.exports = function (grunt) {
require('load-grunt-tasks')(grunt, {
Function buttonLabelProvider
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function buttonLabelProvider() {
var label = '';
var i, item;
if (scope.ngModel) {
if (scope.valueAttribute) {
Avoid deeply nested control flow statements. Open
Open
if (label) {
label = label + ', ';
}
Avoid deeply nested control flow statements. Open
Open
if (label) {
label = label + ', ';
}
Avoid too many return
statements within this function. Open
Open
return null;