Showing 5,781 of 10,536 total issues
Function UIRouter
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var UIRouter = /** @class */ (function () {
/**
* Creates a new `UIRouter` object
*
* @param locationService a [[LocationServices]] implementation
Function $get
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($browser, $$intervalFactory) {
var repeatFns = [],
nextRepeatId = 0,
now = 0,
setIntervalFn = function(tick, delay, deferred, skipApply) {
Function makeMoment
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function makeMoment(args, parseAsUTC, parseZone) {
var input = args[0];
var isSingleString = args.length == 1 && typeof input === 'string';
var isAmbigTime;
var isAmbigZone;
Function ia
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ia() {
function b() {
n = k - h.offset().left - ea;
d()
}
File angular.easypiechart.js
has 260 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**!
* easyPieChart
* Lightweight plugin to render simple, animated and retina optimized pie charts
*
* @license
Function EventDetailContent
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const EventDetailContent = () => {
const { isDark } = useContext(AppContext);
return (
<Card>
File DistributionSystem.js
has 260 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import React, { Fragment, useState, useEffect } from 'react';
import {
Breadcrumb,
BreadcrumbItem,
Card,
Function FooterStandard
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const FooterStandard = () => {
return (
<Fragment>
<Section bg="dark" className="pt-8 pb-4">
<div className="position-absolute btn-back-to-top cursor-pointer bg-dark" onClick={animateScroll.scrollToTop}>
File datarepair.py
has 260 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import time
from datetime import datetime, timedelta
from decimal import Decimal
import mysql.connector
File metertracking.py
has 260 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
from datetime import datetime, timedelta, timezone
from decimal import Decimal
import falcon
import mysql.connector
import simplejson as json
Function on_post
has 56 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 distributionsystem.controller.js
has 259 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
app.controller('DistributionSystemController', function(
$scope,
$rootScope,
Function $ViewDirectiveFill
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function $ViewDirectiveFill($compile, $controller, $transitions, $view, $q) {
var getControllerAs = parse('viewDecl.controllerAs');
var getResolveAs = parse('viewDecl.resolveAs');
return {
restrict: 'ECA',
Function ngViewFactory
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ngViewFactory($route, $anchorScroll, $animate) {
return {
restrict: 'ECA',
terminal: true,
priority: 400,
Function buildHTMLForSegment
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function buildHTMLForSegment(segment) {
var html = '';
var isRTL = opt('isRTL');
var event = segment.event;
var url = event.url;
Function _addFormElementData
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
value: function _addFormElementData(formData) {
// Take care of other input elements
if (this.element.tagName === "FORM") {
var _iteratorNormalCompletion23 = true;
var _didIteratorError23 = false;
Function getOption
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
let getOption = () => {
return {
tooltip: {
trigger: 'axis',
backgroundColor: getGrays(isDark)[100],
Function Pricing
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Pricing = () => {
// State
const [isYearly, setIsYearly] = useState(true);
return (
Function generate_excel
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_excel(report, space_name, energy_category_name, reporting_start_datetime_local,
reporting_end_datetime_local, language):
trans = get_translation(language)
trans.install()
File command.controller.js
has 258 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
app.controller('CommandController', function(
$scope,
$rootScope,