Showing 5,781 of 10,536 total issues
Function importVirtualPowerPlant
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.importVirtualPowerPlant = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/common/import.html',
controller: 'ModalImportCtrl',
windowClass: "animated fadeIn",
Function importRule
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.importRule = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/common/import.html',
controller: 'ModalImportCtrl',
windowClass: "animated fadeIn",
Function importAdvancedReport
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.importAdvancedReport = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/common/import.html',
controller: 'ModalImportCtrl',
windowClass: "animated fadeIn",
Function deleteWechatMessage
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteWechatMessage = function(wechatmessage) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function moveItem
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
a.moveItem = function(b, c, d, e) {
if (b) {
a.allowUpdate = !1;
var g = -1;
switch (d) {
Function pairMeter
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.pairMeter = function (dragEl, dropEl) {
var tem_uuid = angular.element('#' + dragEl);
if (angular.isDefined(tem_uuid.scope().combinedequipmentmeter)) {
return;
}
Function addContact
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addContact = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/contact/contact.model.html',
controller: 'ModalAddContactCtrl',
windowClass: "animated fadeIn",
Function importCommand
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.importCommand = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/common/import.html',
controller: 'ModalImportCtrl',
windowClass: "animated fadeIn",
Function importEquipment
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.importEquipment = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/common/import.html',
controller: 'ModalImportCtrl',
windowClass: "animated fadeIn",
Function deleteDistributionSystem
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteDistributionSystem=function(distributionsystem){
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function addPrivilege
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addPrivilege = function () {
var modalInstance = $uibModal.open({
templateUrl: 'views/users/privilege/privilege.model.html',
controller: 'ModalAddPrivilegeCtrl',
windowClass: "animated fadeIn",
Function deleteGateway
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteGateway = function(gateway) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function deleteSVG
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteSVG=function(svg){
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function getCurrentItemContentStyle
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.getCurrentItemContentStyle = function(a, c) {
var d = b.options.controlStyle.item.content;
if (a)
switch (a.style) {
case "initial":
Function addUser
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addUser = function () {
var modalInstance = $uibModal.open({
templateUrl: 'views/users/user/user.model.html',
controller: 'ModalAddUserCtrl',
windowClass: "animated fadeIn",
Function deleteEmailMessage
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteEmailMessage = function(emailmessage) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function deleteCombinedEquipment
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.deleteCombinedEquipment = function (combinedequipment) {
SweetAlert.swal({
title: $translate.instant("SWEET.TITLE"),
text: $translate.instant("SWEET.TEXT"),
type: "warning",
Function importSVG
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.importSVG = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/common/import.html',
controller: 'ModalImportCtrl',
windowClass: "animated fadeIn",
Function importPhotovoltaicPowerStation
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.importPhotovoltaicPowerStation = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/common/import.html',
controller: 'ModalImportCtrl',
windowClass: "animated fadeIn",
Function addEmailServer
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addEmailServer = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/emailserver/emailserver.model.html',
controller: 'ModalAddEmailServerCtrl',
windowClass: "animated fadeIn",