Showing 8 of 52 total issues
Function exports
has 252 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
// Load grunt tasks automatically
require('load-grunt-tasks')(grunt);
- Create a ticketCreate a ticket
Function $get
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$get: ["$log", "$injector", "$window", "$location", "feedbackUI", "ngIHConfig", function ($log, $injector, $window, $location, feedbackUI, ngIHConfig) {
var handler = {
// The list of errors.
- Create a ticketCreate a ticket
File Gruntfile.js
has 255 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
module.exports = function (grunt) {
// Load grunt tasks automatically
- Create a ticketCreate a ticket
Function $get
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$get: function ($log, $injector, $window, $location, feedbackUI, ngIHConfig) {
var handler = {
// The list of errors.
- Create a ticketCreate a ticket
Function resolveErrorCode
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
resolveErrorCode: function (func, err, callback) {
// This is a very limited error handler... you would probably want to check for user-friendly error messages
// that were returned by the server, etc, etc, etc. Our original code contains a lot of checks and handling
// of error messages to create the "perfect" error message for our users, you should probably do the same. :)
if (err) {
- Create a ticketCreate a ticket
Function exports
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (config) {
'use strict';
config.set({
// enable / disable watching file and executing tests whenever any file changes
- Create a ticketCreate a ticket
Function $get
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$get: function ($log, $injector, $window, $location, feedbackUI, ngIHConfig) {
- Create a ticketCreate a ticket
Function $get
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$get: ["$log", "$injector", "$window", "$location", "feedbackUI", "ngIHConfig", function ($log, $injector, $window, $location, feedbackUI, ngIHConfig) {
- Create a ticketCreate a ticket