Showing 5,781 of 10,536 total issues
Function decode64
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
value: function decode64(input) {
var output = '';
var chr1 = undefined;
var chr2 = undefined;
var chr3 = '';
Function setWidth
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setWidth(width) {
viewWidth = width;
colPositions.clear();
colContentPositions.clear();
Function draggableDayEvent
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function draggableDayEvent(event, eventElement) {
var hoverListener = getHoverListener();
var dayDelta;
eventElement.draggable({
delay: 50,
Function buildDayTableHeadHTML
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function buildDayTableHeadHTML() {
var headerClass = tm + "-widget-header";
var date;
var html = '';
var weekText;
Function processDatapoints
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function processDatapoints(plot, series, datapoints) {
var nrPoints = datapoints.points.length / datapoints.pointsize;
var EPSILON = 0.5; //pretty large epsilon but save
if (series.curvedLines.apply == true && series.originSeries === undefined && nrPoints > (1 + EPSILON)) {
Function drawSpline
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function drawSpline(plot, ctx, series) {
// Not interested if spline is not requested
if (series.splines.show !== true) {
return;
}
Function N
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function N(b) {
var d = j[b].path,
e = Z[b];
c("<img/>").load(function() {
var h = parseInt(c(this).attr("width") || c(this).prop("width")),
Function addDistributionSystem
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addDistributionSystem = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/distributionsystem/distributionsystem.model.html',
controller: 'ModalAddDistributionSystemCtrl',
windowClass: "animated fadeIn",
Function addDataSource
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addDataSource = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/datasource/datasource.model.html',
controller: 'ModalAddDataSourceCtrl',
windowClass: "animated fadeIn",
Function editCommand
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editCommand=function(command){
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/command/command.model.html',
controller: 'ModalEditCommandCtrl',
Function addAdvancedReport
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addAdvancedReport = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/advancedreport/advancedreport.model.html',
controller: 'ModalAddAdvancedReportCtrl',
Function editGateway
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editGateway = function(gateway) {
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/gateway/gateway.model.html',
controller: 'ModalEditGatewayCtrl',
Function editDistributionCircuit
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editDistributionCircuit = function(distributioncircuit) {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/distributionsystem/distributioncircuit.model.html',
controller: 'ModalEditDistributionCircuitCtrl',
windowClass: "animated fadeIn",
Function editSensor
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editSensor = function(sensor) {
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/sensor/sensor.model.html',
controller: 'ModalEditSensorCtrl',
Function editEnergyItem
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editEnergyItem=function(energyItem){
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/category/energyitem.model.html',
controller: 'ModalEditEnergyItemCtrl',
Function editCategory
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editCategory=function(category){
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/category/category.model.html',
controller: 'ModalEditCategoryCtrl',
Function editTariff
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editTariff = function(tariff) {
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/tariff/tariff.model.html',
controller: 'ModalEditTariffCtrl',
Function editProtocol
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editProtocol = function(protocol) {
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/protocol/protocol.model.html',
controller: 'ModalEditProtocolCtrl',
Function editWorkingCalendar
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editWorkingCalendar = function(workingcalendar) {
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/workingcalendar/workingcalendar.model.html',
controller: 'ModalEditWorkingCalendarCtrl',
Function editCostCenter
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editCostCenter=function(costcenter){
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/costcenter/costcenter.model.html',
controller: 'ModalEditCostCenterCtrl',