Showing 6,416 of 8,296 total issues
File JsonSerializerInternalReader.cs
has 1692 lines of code (exceeds 250 allowed). Consider refactoring. Open
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
#if !(NET35 || NET20 || PORTABLE40)
Method get_id_view
has 902 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function get_id_view()
{
$ret = '';
$ret .= '
Method get_id_view
has 898 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function get_id_view()
{
$ret = '';
$ret .= '
File LinqBridge.cs
has 1652 lines of code (exceeds 250 allowed). Consider refactoring. Open
#endif
File EditBatchPage.php
has 1596 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*******************************************************************************
Copyright 2009,2010 Whole Foods Co-op
File XmlNodeConverter.cs
has 1435 lines of code (exceeds 250 allowed). Consider refactoring. Open
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Xml;
#if !(NET20 || PORTABLE40)
File JToken.cs
has 1399 lines of code (exceeds 250 allowed). Consider refactoring. Open
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq.JsonPath;
#if !(NET35 || NET20 || PORTABLE40)
using System.Dynamic;
Function rpOrder
has a Cognitive Complexity of 180 (exceeds 5 allowed). Consider refactoring. Open
var rpOrder = (function ($) {
var mod = {};
var state = {
'retention': 60,
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File SPH_SignAndPay_USB.cs
has 1347 lines of code (exceeds 250 allowed). Consider refactoring. Open
using System;
using System.IO;
using System.IO.Ports;
using System.Threading;
using CustomForms;
File JsonTextReader.cs
has 1344 lines of code (exceeds 250 allowed). Consider refactoring. Open
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Text;
File DeliCateringOrdersPageBackup0627.php
has 1326 lines of code (exceeds 250 allowed). Consider refactoring. Open
COPY OF DELICATERINGORDERSPAGE.PHP
<?php
/*******************************************************************************
File ProdReviewPage.php
has 1304 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*******************************************************************************
Copyright 2017 Whole Foods Community Co-op
File ViewPurchaseOrders.php
has 1298 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*******************************************************************************
Copyright 2013 Whole Foods Co-op
Function displayUI
has a Cognitive Complexity of 165 (exceeds 5 allowed). Consider refactoring. Open
function displayUI($dateStr, $store){
global $FANNIE_PLUGIN_SETTINGS;
$dbc = FannieDB::get($FANNIE_PLUGIN_SETTINGS['OverShortDatabase']);
$startDate = $dateStr;
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File OrderViewPage.php
has 1265 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*******************************************************************************
Copyright 2010 Whole Foods Co-op
File DeliCateringOrdersPage.php
has 1245 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*******************************************************************************
Copyright 2013 Whole Foods Co-op
File ajax-calls.php
has 1211 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*******************************************************************************
Copyright 2010 Whole Foods Co-op
File BaseItemModule.php
has 1175 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*******************************************************************************
Copyright 2013 Whole Foods Co-op, Duluth, MN
File MemberREST.php
has 1138 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*******************************************************************************
Copyright 2010 Whole Foods Co-op, Duluth, MN
Function rpOrder
has a Cognitive Complexity of 143 (exceeds 5 allowed). Consider refactoring. Open
var rpOrder = (function ($) {
var mod = {};
var state = {
'retention': 60,
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"