Showing 481 of 922 total issues
Method getFilterExpression
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getFilterExpression(QueryBuilder $queryBuilder, Filter $filter)
{
if ($filter->hasSubFilters()) {
$subFilterExpressions = [];
Function updateButtonState
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateButtonState: function ()
{
var record;
if (this.getSelection().length !== 1)
Function _onItemSaved
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_onItemSaved: function ()
{
this.fireEvent("partSaved", this.record);
if (this.keepOpenCheckbox.getValue() !== true && this.createCopyCheckbox.getValue() !== true) {
Function onSuccess
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onSuccess: function (response)
{
var obj;
try {
Function initComponent
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initComponent: function ()
{
this.createDatabaseDropdown();
Function createLayout
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
createLayout: function ()
{
var initialConfig = {
values: {
database_driver: "",
Method __invoke
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __invoke(Request $request)
{
if ($this->container->hasParameter('partkeepr.auth.allow_password_change') &&
$this->container->getParameter('partkeepr.auth.allow_password_change') === false) {
throw new PasswordChangeNotAllowedException();
Method testProjectAttachmentRemoval
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testProjectAttachmentRemoval()
{
$client = static::makeClient(true);
/**
Function createPicker
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
createPicker: function() {
var me = this,
picker = new Ext.tree.Panel({
baseCls: Ext.baseCSSPrefix + 'boundlist',
shrinkWrapDock: 2,
Function reconfigureColumns
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
reconfigureColumns: function (columnsStore)
{
var columns = [
{
text: i18n("Match field"),
Function execute
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
execute: function ()
{
var subFilters = [];
var searchValue;
Function initComponent
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initComponent: function ()
{
this.connectionButton = new PartKeepr.ConnectionButton();
this.connectionButton.on("click", this.onConnectionButtonClick, this);
this.timeDisplay = Ext.create("PartKeepr.TimeDisplay");
Function convertTraceToTree
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
convertTraceToTree: function (node, prefixText)
{
if (!Ext.isDefined(prefixText)) {
prefixText = typeof node;
}
Function getColumnMenu
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getColumnMenu: function (headerContainer)
{
var menuItems = [],
i = 0,
item,
Function read
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
read: function(response, readOptions) {
var data, result, responseText;
if (response) {
responseText = response.responseText;
Method intTestDBVersionAction
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function intTestDBVersionAction(Request $request)
{
if (!$this->ensureAuthKey($request)) {
return $this->getAuthKeyErrorResponse();
}
Method getPartyByQuery
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getPartyByQuery($q, $startpage = 1)
{
$client = new Client();
$request = $client->createRequest('POST', self::OCTOPART_ENDPOINT);
Method getRelease
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getRelease()
{
switch (strtolower($this->getPlatform())) {
case 'freebsd':
/*
Method createReportAction
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createReportAction(Request $request)
{
/**
* @var ResourceInterface
*/
Function getFramedGrid
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getFramedGrid: function () {
return this.applySizing('framedGrid', {
xtype: 'grid',
title: 'Framed Grid',
collapsible: true,