Showing 5,781 of 10,536 total issues
Function PaymentsLineChart
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const PaymentsLineChart = () => {
const [paymentStatus, setPaymentStatus] = useState('successful');
const { isDark } = useContext(AppContext);
const config = {
Function handleAcknowledged
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const handleAcknowledged = id => {
console.log('Mark As Acknowledged: ', id);
let isResponseOK = false;
fetch(APIBaseURL + '/webmessages/' + id, {
method: 'PUT',
Function handleAcknowledged
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const handleAcknowledged = id => {
console.log('Mark As Acknowledged: ', id);
let isResponseOK = false;
fetch(APIBaseURL + '/webmessages/' + id, {
method: 'PUT',
Function on_get
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def on_get(req, resp):
if 'API-KEY' not in req.headers or \
not isinstance(req.headers['API-KEY'], str) or \
len(str.strip(req.headers['API-KEY'])) == 0:
access_control(req)
Function on_get
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def on_get(req, resp):
if 'API-KEY' not in req.headers or \
not isinstance(req.headers['API-KEY'], str) or \
len(str.strip(req.headers['API-KEY'])) == 0:
access_control(req)
Function prepareAnchoredAnimation
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function prepareAnchoredAnimation(classes, outAnchor, inAnchor) {
var clone = jqLite(getDomNode(outAnchor).cloneNode(true));
var startingClasses = filterCssClasses(getClassVal(clone));
outAnchor.addClass(NG_ANIMATE_SHIM_CLASS_NAME);
Function handleRead
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const handleRead = id => {
console.log('Mark As Read: ', id);
let isResponseOK = false;
fetch(APIBaseURL + '/webmessages/' + id, {
method: 'PUT',
Function handleRead
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const handleRead = id => {
console.log('Mark As Read: ', id);
let isResponseOK = false;
fetch(APIBaseURL + '/webmessages/' + id, {
method: 'PUT',
Function handleRead
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const handleRead = id => {
console.log('Mark As Read: ', id);
let isResponseOK = false;
fetch(APIBaseURL + '/webmessages/' + id, {
method: 'PUT',
Function generate_excel
has 92 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 92 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,
Consider simplifying this complex logical expression. Open
Open
if (f.cols) {
a.footable = t;
var u = e(t.table);
u.data("grid", a), e.isPlainObject(f.data) && u.data(f.data), a._items = [], r(f.cols), f.showCheckbox && (f.multiSelect = !0, f.cols.unshift({
title: f.checkboxFormatter(!0),
Function PathUtils
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PathUtils = /** @class */ (function () {
function PathUtils() {
}
/** Given a PathNode[], create an TargetState */
PathUtils.makeTargetState = function (registry, path) {
Function _fetchEventSource
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fetchEventSource(source, callback) {
var i;
var fetchers = fc.sourceFetchers;
var res;
Function i
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function i() {
var t = this;
t.name = "Footable Paginate", t.init = function(a) {
if (a.options.paginate === !0) {
if (e(a.table).data("page") === !1) return;
Function Tables
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Tables = () => {
return (
<Fragment>
<PageHeader
title="Tables"
Function controller
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ($scope, $element, $attrs) {
var states = [];
var activeEqClass;
var uiSrefActive;
// There probably isn't much point in $observing this
Function TemplateFactory
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var TemplateFactory = /** @class */ (function () {
function TemplateFactory() {
var _this = this;
/** @hidden */ this._useHttp = ng.version.minor < 3;
/** @hidden */ this.$get = [
Function $Browser
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
angular.mock.$Browser = function($log, $$taskTrackerFactory) {
var self = this;
var taskTracker = $$taskTrackerFactory($log);
this.isMock = true;
Function handleAcknowledged
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const handleAcknowledged = id => {
console.log('Mark As Acknowledged: ', id);
let isResponseOK = false;
fetch(APIBaseURL + '/webmessages/' + id, {
method: 'PUT',