Showing 5,781 of 10,536 total issues
Function onload
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
img.onload = function () {
var loadExif = function loadExif(callback) {
return callback(1);
};
Function FeedImageLightbox
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const FeedImageLightbox = () => {
const images = [img1, img2, img3, img4, img5];
return (
<LightBoxGallery images={images}>
Function EmailDetailHeader
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const EmailDetailHeader = () => {
const { isRTL } = useContext(AppContext);
return (
<Card className="mb-3">
Function getOption
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getOption = (data, dataBackground, isDark) => {
const grays = getGrays(isDark);
return {
tooltip: {
trigger: 'axis',
Function getOption
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getOption = (data, dataBackground, isDark) => {
const grays = getGrays(isDark);
return {
tooltip: {
trigger: 'axis',
Function getOption
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getOption = (data, dataBackground, isDark) => {
const grays = getGrays(isDark);
return {
tooltip: {
trigger: 'axis',
Function getOption
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getOption = (data, dataBackground, isDark) => {
const grays = getGrays(isDark);
return {
tooltip: {
trigger: 'axis',
File enterproduction.py
has 265 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import re
from datetime import datetime, timedelta, timezone
from decimal import Decimal
import falcon
import mysql.connector
Consider simplifying this complex logical expression. Open
Open
if (
qa &&
(D || (a && a.shiftKey)) &&
"one" != b.options.selectionMode
) {
Function mutateEvent
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mutateEvent(event, newStart, newEnd) {
var oldAllDay = event._allDay;
var oldStart = event._start;
var oldEnd = event._end;
var clearEnd = false;
Function segDragMousedown
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
segDragMousedown: function(seg, ev) {
var _this = this;
var view = this.view;
var el = seg.el;
var event = seg.event;
Function generate_excel
has 58 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
File knowledgefile.py
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import base64
import os
import sys
import uuid
from datetime import datetime, timezone, timedelta
File energyitem.py
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import uuid
import falcon
import mysql.connector
import simplejson as json
from core.useractivity import user_logger, admin_control, access_control, api_key_control
Function format
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
UrlMatcher.prototype.format = function (values) {
if (values === void 0) { values = {}; }
// Build the full path of UrlMatchers (including all parent UrlMatchers)
var urlMatchers = this._cache.path;
// Extract all the static segments and Params (processed as ParamDetails)
Function _registerInvokeList
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _registerInvokeList(args, moduleName) {
var invokeList = args[2][0],
type = args[1],
newInvoke = false;
if (angular.isUndefined(regInvokes[moduleName])) {
Function link
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function (scope, element, attrs, ctrl) {
if (!ctrl) {
return;
}
Function setScale
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setScale: function(scale, anchorX, anchorY, isCentered, animate) {
var viewportChangeEvent = jvm.$.Event('zoom.jvectormap'),
interval,
that = this,
i = 0,
Function handleTouchEvent
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handleTouchEvent = function(e){
var touches = e.originalEvent.touches,
offset,
scale,
transXOld,
Function deps
has 57 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,