Showing 8 of 43 total issues
Function setupSocket
has 221 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setupSocket: function () {
var store = this.store;
var self = this;
if (this.socket !== null) {
File websocketAdapter.js
has 371 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
angular.module('pimaticApp.adapters').factory('websocketAdapter', [
'$http',
'$q',
'$rootScope',
'$log',
Function exports
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
Function start
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start: function () {
var self = this;
this.store.setUser(
{
Function exports
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
Function get
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
get: function (type, id, skipApi) {
var self = this;
var item;
var date;
Function add
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function (type, object, skipApi) {
var adapter = this.adapter;
var self = this;
var add;
Function remove
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
remove: function (type, object, skipApi) {
var self = this;
var remove;
this.$log.debug('store', 'remove()', 'type=', type, 'object=', object, 'skipApi=', skipApi);