Showing 32 of 81 total issues
Function CesiumViewerService
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function CesiumViewerService(Cesium) {
return {
init: function(element) {
this.clock = new Cesium.Clock({
multiplier : 500.0
Function DecimalAdjust
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function DecimalAdjust() {
/**
* Decimal adjustment of a number.
*
* @param {String}
Function init
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function(element) {
this.clock = new Cesium.Clock({
multiplier : 500.0
});
this.clockViewModel = new Cesium.ClockViewModel(this.clock);
Function PaletteController
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function PaletteController(NcwmsService, Messagebus, UserAgent) {
this.mobile = UserAgent.mobile;
this.getNcWMSdata = function() {
return NcwmsService.ncWMSdata;
};
Function addAxesAndLegend
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.addAxesAndLegend = function(svg, xAxis, yAxis, margin, chartWidth, chartHeight) {
var legendWidth = 0,
legendHeight = 0;
svg.append('clipPath')
Function CustomGraphController
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function CustomGraphController($scope, $window, $timeout, $http, d3Service, NcwmsService, Messagebus, UserAgent) {
Function addAxesAndLegend
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.addAxesAndLegend = function(svg, xAxis, yAxis, margin, chartWidth, chartHeight) {
Function OutlinesController
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function OutlinesController($scope, $http, Cesium, CesiumViewerService, Messagebus, UserAgent) {
Function CesiumNcwmsLayerController
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function CesiumNcwmsLayerController($q, $http, Cesium, CesiumViewerService, NcwmsService, Messagebus) {
Function drawPaths
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.drawPaths = function(svg, data, x, y, chartWidth, chartHeight) {
Function CesiumViewerController
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function CesiumViewerController($scope, $http, Cesium, CesiumViewerService, Messagebus) {
Function getFeatureInfoSeries
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.getFeatureInfoSeries = function(selectedDataset, selectedPalette, boundingRect, callbackSuccess, callbackFailure) {