Showing 5,781 of 10,536 total issues
File ThreadInfo.js
has 257 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import React, { useState, useContext } from 'react';
import PropTypes from 'prop-types';
import Scrollbar from 'react-scrollbars-custom';
import {
Media,
Function bind
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
bind: function(element, eventHandlers, pointerTypes) {
// Absolute total movement, used to control swipe vs. scroll.
var totalX, totalY;
// Coordinates of the start position.
var startCoords;
Function mutateEvents
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mutateEvents(events, clearEnd, forceAllDay, dateDelta, durationDelta) {
var isAmbigTimezone = t.getIsAmbigTimezone();
var undoFunctions = [];
$.each(events, function(i, event) {
Function renderSegHtml
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderSegHtml: function(seg, disableResizing) {
var view = this.view;
var event = seg.event;
var isDraggable = view.isEventDraggable(event);
var isResizable = !disableResizing && seg.isEnd && view.isEventResizable(event);
Function mousedown
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mousedown(e, space) {
var offset = plate.offset(),
isTouch = /^touch/.test(e.type),
x0 = offset.left + dialRadius,
y0 = offset.top + dialRadius,
Function DateRangePicker
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var DateRangePicker = function (element, options, cb) {
// by default, the daterangepicker element is placed at the bottom of HTML body
this.parentEl = 'body';
Function link
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function ($scope, $elem) {
var ctx = $elem[0].getContext("2d");
var autosize = false;
$scope.size = function () {
Function winnow_results
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
AbstractChosen.prototype.winnow_results = function() {
var escapedSearchText, option, regex, regexAnchor, results, results_group, searchText, startpos, text, zregex, _i, _len, _ref;
this.no_results_clear();
results = 0;
searchText = this.get_search_text();
Function show
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tooltip.prototype.show = function () {
var e = $.Event('show.bs.' + this.type)
if (this.hasContent() && this.enabled) {
this.$element.trigger(e)
Function EventDetailAside
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const EventDetailAside = () => {
const { loading, data: events } = useFakeFetch(rawEvents.slice(2));
const scrollToEventMap = e => {
e.preventDefault();
Function DashboardAlt
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const DashboardAlt = () => {
const resolveUsers = users.slice(0, 5);
return (
<Fragment>
<Row noGutters>
Function generate_excel
has 54 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 54 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 StateMatcher
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var StateMatcher = /** @class */ (function () {
function StateMatcher(_states) {
this._states = _states;
}
StateMatcher.prototype.isRelative = function (stateName) {
Function areAnimationsAllowed
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function areAnimationsAllowed(node, parentNode, event) {
var bodyNode = $document[0].body;
var rootNode = getDomNode($rootElement);
var bodyNodeDetected = (node === bodyNode) || node.nodeName === 'HTML';
Function move
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
move: function () {
var parentOffset = { top: 0, left: 0 },
containerTop;
var parentRightEdge = $(window).width();
if (!this.parentEl.is('body')) {
Function link
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function (scope, element, attrs, ctrl) {
if (!ctrl) {
return;
}
Function o
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function o() {
var e = this;
e.name = "Footable LucidBookmarkable", e.init = function(e) {
e.options.bookmarkable.enabled && t(e.table).bind({
footable_initialized: function() {
Function editMeter
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editMeter = function(meter) {
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/meter/meter.model.html',
controller: 'ModalEditMeterCtrl',
Function deps
has 53 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,