Showing 5,781 of 10,536 total issues
Function generate_excel
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_excel(report,
name,
base_period_start_datetime_local,
base_period_end_datetime_local,
reporting_start_datetime_local,
Function generate_excel
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_excel(report,
name,
base_period_start_datetime_local,
base_period_end_datetime_local,
reporting_start_datetime_local,
Function generate_excel
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_excel(report,
name,
base_period_start_datetime_local,
base_period_end_datetime_local,
reporting_start_datetime_local,
Function generate_excel
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_excel(report,
name,
base_period_start_datetime_local,
base_period_end_datetime_local,
reporting_start_datetime_local,
Function generate_excel
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_excel(report, space_name, reporting_start_datetime_local, reporting_end_datetime_local, language):
trans = get_translation(language)
trans.install()
_ = trans.gettext
Function generate_excel
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_excel(report,
name,
base_period_start_datetime_local,
base_period_end_datetime_local,
reporting_start_datetime_local,
Function generate_excel
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_excel(report,
name,
base_period_start_datetime_local,
base_period_end_datetime_local,
reporting_start_datetime_local,
Function generate_excel
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_excel(report,
name,
base_period_start_datetime_local,
base_period_end_datetime_local,
reporting_start_datetime_local,
Function generate_excel
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_excel(report,
name,
base_period_start_datetime_local,
base_period_end_datetime_local,
reporting_start_datetime_local,
Function on_post
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def on_post(req, resp):
"""Handles POST requests"""
admin_control(req)
try:
raw_json = req.stream.read().decode('utf-8')
File MultiTrendChart.js
has 253 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import React, { useState, useContext, useEffect, useRef } from 'react';
import { Row, Col, Card, CardBody, CustomInput } from 'reactstrap';
import { rgbaColor, themeColors, isIterableArray } from '../../../helpers/utils';
import {
Chart as ChartJS,
Function Ng1LocationServices
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Ng1LocationServices = /** @class */ (function () {
function Ng1LocationServices($locationProvider) {
// .onChange() registry
this._urlListeners = [];
this.$locationProvider = $locationProvider;
Function $LogProvider
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
angular.mock.$LogProvider = function() {
var debug = true;
function concat(array1, array2, index) {
return array1.concat(Array.prototype.slice.call(array2, index));
Function setupHiddenFileInput
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var setupHiddenFileInput = function setupHiddenFileInput() {
if (_this3.hiddenFileInput) {
_this3.hiddenFileInput.parentNode.removeChild(_this3.hiddenFileInput);
}
Function fillInSeriesOptions
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fillInSeriesOptions() {
var neededColors = series.length, maxIndex = -1, i;
// Subtract the number of series that already have fixed colors or
Function getCurrentItemStyle
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.getCurrentItemStyle = function(a, c) {
var d = b.options.controlStyle.item;
if (a)
switch (a.style) {
case "initial":
Function Rb
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Rb = function(b) {
b &&
(b.bind("touchstart", function(b) {
var c = a.getItemFromChildElem(this);
c &&
Function CustomerSummary
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const CustomerSummary = () => {
const { loading, data: customer } = useFakeFetch(rawCustomer);
const { name, email, createdAt } = customer;
return (
Function deps
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ($ocLazyLoad) {
return $ocLazyLoad.load(['ui.select', 'ui.checkbox', 'daterangepicker', 'toaster', ]).then(
function () {
return $ocLazyLoad.load([{
serie: true,
Function deps
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ($ocLazyLoad) {
return $ocLazyLoad.load(['ui.select', 'ui.checkbox', 'daterangepicker', 'toaster']).then(
function () {
return $ocLazyLoad.load([{
serie: true,