Showing 8,683 of 8,684 total issues
Method get_id_view
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_id_view()
{
$settings = $this->config->get('PLUGIN_SETTINGS');
$prefix = $settings['CommentDB'] . $this->connection->sep();
$ret = $this->get_view() . '<hr />
Method body_content
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function body_content(){
global $FANNIE_OP_DB, $FANNIE_PLUGIN_SETTINGS;
$ts_db = FannieDB::get($FANNIE_PLUGIN_SETTINGS['TimesheetDatabase']);
include('./includes/header.html');
Method process_file
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function process_file($linedata, $indexes)
{
$i = 0;
$acc = array();
$fuel = 0;
Method getIngredientList
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getIngredientList($dbc, $id)
{
/**
* Query notes:
*
Method body_content
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function body_content()
{
global $FANNIE_OP_DB, $FANNIE_URL, $FANNIE_PLUGIN_SETTINGS;
$ts_db = FannieDB::get($FANNIE_PLUGIN_SETTINGS['TimesheetDatabase']);
include ('./includes/header.html');
Method post_view
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function post_view()
{
try {
$from = $this->form->from;
$dest = $this->form->to;
Method listModules
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static public function listModules($base_class, $include_base=false, $debug=false)
{
// leading backslash is ignored
if ($base_class[0] == '\\') {
$base_class = substr($base_class, 1);
Method run
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function run($args=array())
{
$ret = array();
$errored = $this->checkBasicErrors($args, $ret);
if ($errored !== false) {
Method get_id_store_export_handler
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_id_store_export_handler()
{
$lcP = $this->connection->prepare('
SELECT l.likeCode
FROM LikeCodeActiveMap AS l
Method get_view
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_view()
{
global $FANNIE_OP_DB;
$dbc = FannieDB::get($FANNIE_OP_DB);
$scales = new ServiceScalesModel($dbc);
Method get_id_store_export_handler
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_id_store_export_handler()
{
$lcP = $this->connection->prepare('
SELECT l.likeCode
FROM LikeCodeActiveMap AS l
Method SetupReader
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void SetupReader(JsonReader reader, out CultureInfo previousCulture, out DateTimeZoneHandling? previousDateTimeZoneHandling, out DateParseHandling? previousDateParseHandling, out FloatParseHandling? previousFloatParseHandling, out int? previousMaxDepth, out string previousDateFormatString)
{
if (_culture != null && !_culture.Equals(reader.Culture))
{
previousCulture = reader.Culture;
Method ReadNumberIntoBuffer
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void ReadNumberIntoBuffer()
{
int charPos = _charPos;
while (true)
Method HandleMsg
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public override void HandleMsg(string msg)
{
// optional predicate for "termSig" message
// predicate string is displayed on sig capture screen
if (msg.Length > 7 && msg.Substring(0, 7) == "termSig") {
File ObfWeekEntryPageV2.php
has 271 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/*******************************************************************************
Copyright 2014 Whole Foods Co-op
File ObfTrendReport.php
has 271 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/*******************************************************************************
Copyright 2014 Whole Foods Co-op
UPC
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class UPC extends Parser
{
/**
Defines how the UPC was entered.
Known good values are:
Bitmap
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Bitmap
{
private $DIB1 = 12;
private $DIB2 = 64;
private $DIB3 = 40;
BaseItemModule
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class BaseItemModule extends \COREPOS\Fannie\API\item\ItemModule
{
private function getBarcodeType($upc)
{
$trimmed = ltrim($upc, '0');
Class DynamicProxyMetaObject
has 23 methods (exceeds 20 allowed). Consider refactoring. Open
Open
internal sealed class DynamicProxyMetaObject<T> : DynamicMetaObject
{
private readonly DynamicProxy<T> _proxy;
private readonly bool _dontFallbackFirst;