Showing 5,566 of 7,504 total issues
Consider simplifying this complex logical expression. Open
Open
if (method_exists($this, 'set_' . $name))
{
call_user_func(array($this, 'set_' . $name), $value);
}
elseif (
Consider simplifying this complex logical expression. Open
Open
if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
{
return $feed;
}
else
Consider simplifying this complex logical expression. Open
Open
if ($file->success && ($file->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($file->status_code === 200 || $file->status_code > 206 && $file->status_code < 300)) && strlen($file->body) > 0)
{
$sniffer =& new $this->content_type_sniffer_class($file);
if (substr($sniffer->get_type(), 0, 6) === 'image/')
{
Consider simplifying this complex logical expression. Open
Open
if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
{
return $feed;
}
else
Consider simplifying this complex logical expression. Open
Open
if (!in_array($href, $done) && in_array('feed', $rel) || (in_array('alternate', $rel) && !empty($link['attribs']['type']['data']) && in_array(strtolower(SimplePie_Misc::parse_mime($link['attribs']['type']['data'])), array('application/rss+xml', 'application/atom+xml'))) && !isset($feeds[$href]))
{
$this->checked_feeds++;
$feed =& new $this->file_class($href, $this->timeout, 5, null, $this->useragent);
if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
Consider simplifying this complex logical expression. Open
Open
if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
{
return $feed;
}
else
Consider simplifying this complex logical expression. Open
Open
if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
{
$feeds[$href] = $feed;
}
Consider simplifying this complex logical expression. Open
Open
if ( $r['stream'] ) {
if ( ! WP_DEBUG )
$stream_handle = @fopen( $r['filename'], 'w+' );
else
$stream_handle = fopen( $r['filename'], 'w+' );
Consider simplifying this complex logical expression. Open
Open
if ( ( 'login_post' == $scheme || 'rpc' == $scheme ) && ( force_ssl_login() || force_ssl_admin() ) )
$scheme = 'https';
elseif ( ('login' == $scheme) && ( force_ssl_admin() ) )
$scheme = 'https';
elseif ( ('admin' == $scheme) && force_ssl_admin() )
Consider simplifying this complex logical expression. Open
Open
if ( (0 == count($wp_query->posts)) && !is_404() && !is_search() && ( $this->did_permalink || (!empty($_SERVER['QUERY_STRING']) && (false === strpos($_SERVER['REQUEST_URI'], '?'))) ) ) {
// Don't 404 for these queries if they matched an object.
if ( ( is_tag() || is_category() || is_author() ) && $wp_query->get_queried_object() ) {
if ( !is_404() )
status_header( 200 );
Function isCrossOriginError
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Util.isCrossOriginError = function (message, url, lineNumber, columnNumber, error) {
Function ngfFixIE
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
FileAPI.ngfFixIE = function(elem, createFileElemFn, bindAttr, changeFn, resetModel) {
Function validate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function validate(scope, $parse, attr, file, evt) {
Function ngfFixIE
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
FileAPI.ngfFixIE = function(elem, createFileElemFn, bindAttr, changeFn, resetModel) {
Function validate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function validate(scope, $parse, attr, file, evt) {
Function _emit
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _emit(target, fn, name, res, ext){
Function modalDivisionsController
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var modalDivisionsController = function ($scope, $modalInstance, $http, title, divisions) {
Function easing
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
easing: function(x,t,b,c,d) {
Function action
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this._eventTracking.action = function (name, url, duration, properties, measurements) {
Function galleria
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
galleria: function (_, t, b, c, d) {