Showing 5,781 of 10,536 total issues
Function KanbanContainer
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const KanbanContainer = () => {
const { kanbanColumns, UpdateColumnData, modalContent, modal, setModal } = useContext(KanbanContext);
const containerRef = useRef(null);
// Detect device
Function ActiveUsersMap
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const ActiveUsersMap = () => {
const [duration, setDuration] = useState('week');
return (
<Card className="h-100 mt-3 mt-lg-0">
Function generate_excel
has 49 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 49 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 49 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 49 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 49 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 49 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 49 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_delete
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def on_delete(req, resp, id_):
admin_control(req)
if not id_.isdigit() or int(id_) <= 0:
raise falcon.HTTPError(status=falcon.HTTP_400, title='API.BAD_REQUEST',
description='API.INVALID_METER_ID')
Function on_put
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def on_put(req, resp, id_, lid):
"""Handles PUT requests"""
admin_control(req)
if not id_.isdigit() or int(id_) <= 0:
raise falcon.HTTPError(status=falcon.HTTP_400, title='API.BAD_REQUEST',
Function on_post
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def on_post(req, resp, id_):
"""Handles POST requests"""
admin_control(req)
try:
raw_json = req.stream.read().decode('utf-8')
Function createStringToBytes
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
qrcode.createStringToBytes = function(unicodeData, numChars) {
// create conversion map.
var unicodeMap = function() {
Function flush
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
StateQueueManager.prototype.flush = function () {
var _this = this;
var _a = this, queue = _a.queue, states = _a.states, builder = _a.builder;
var registered = [], // states that got registered
orphans = [], // states that don't yet have a parent registered
Function htmlParserImpl
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function htmlParserImpl(html, handler) {
if (html === null || html === undefined) {
html = '';
} else if (typeof html !== 'string') {
html = '' + html;
Function _addFilesFromDirectory
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
value: function _addFilesFromDirectory(directory, path) {
var _this6 = this;
var dirReader = directory.createReader();
Function parseISO8601
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseISO8601(s, ignoreTimezone) { // ignoreTimezone defaults to false
// derived from http://delete.me.uk/2005/03/iso8601.html
// TODO: for a know glitch/feature, read tests/issue_206_parseDate_dst.html
var m = s.match(/^([0-9]{4})(-([0-9]{2})(-([0-9]{2})([T ]([0-9]{2}):([0-9]{2})(:([0-9]{2})(\.([0-9]+))?)?(Z|(([-+])([0-9]{2})(:?([0-9]{2}))?))?)?)?)?$/);
if (!m) {
Function segResizeMousedown
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
segResizeMousedown: function(seg, ev) {
var _this = this;
var view = this.view;
var el = seg.el;
var event = seg.event;
Function slotSegHtml
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function slotSegHtml(event, seg) {
var html = "<";
var url = event.url;
var skinCss = getSkinCss(event, opt);
var classes = ['fc-event', 'fc-event-vert'];
Function 1
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o;"undefined"!=typeof window?o=window:"undefined"!=typeof global?o=global:"undefined"!=typeof self&&(o=self),o.angularFootable=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
'use strict';
angular
.module('ui.footable', [])