Showing 5,566 of 7,504 total issues
Method atom_03_construct_type
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function atom_03_construct_type($attribs)
{
if (isset($attribs['']['mode']) && strtolower(trim($attribs['']['mode']) === 'base64'))
{
$mode = SIMPLEPIE_CONSTRUCT_BASE64;
Method new_line
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function new_line()
{
$this->value = trim($this->value, "\x0D\x20");
if ($this->name !== '' && $this->value !== '')
{
Method image_resize_dimensions
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function image_resize_dimensions($orig_w, $orig_h, $dest_w, $dest_h, $crop = false) {
if ($orig_w <= 0 || $orig_h <= 0)
return false;
// at least one of dest_w or dest_h must be specific
Method wp_parse_auth_cookie
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_parse_auth_cookie($cookie = '', $scheme = '') {
if ( empty($cookie) ) {
switch ($scheme){
case 'auth':
$cookie_name = AUTH_COOKIE;
Method output_javascript
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function output_javascript()
{
if (function_exists('ob_gzhandler'))
{
ob_start('ob_gzhandler');
Method atom_03_construct_type
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function atom_03_construct_type($attribs)
{
if (isset($attribs['']['mode']) && strtolower(trim($attribs['']['mode']) === 'base64'))
{
$mode = SIMPLEPIE_CONSTRUCT_BASE64;
Method get_iri
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_iri()
{
$iri = '';
if ($this->scheme !== null)
{
Method new_line
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function new_line()
{
$this->value = trim($this->value, "\x0D\x20");
if ($this->name !== '' && $this->value !== '')
{
Method wp_cookie_constants
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_cookie_constants() {
/**
* Used to guarantee unique hash cookies
*
* @since 1.5.0
Method translate_header
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function translate_header( $header, $value ) {
switch ( $header ) {
case 'Name' :
// Cached for sorting reasons.
if ( isset( $this->name_translated ) )
Method sanitize_file_name
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function sanitize_file_name( $filename ) {
$filename_raw = $filename;
$special_chars = array("?", "[", "]", "/", "\\", "=", "<", ">", ":", ";", ",", "'", "\"", "&", "$", "#", "*", "(", ")", "|", "~", "`", "!", "{", "}", chr(0));
$special_chars = apply_filters('sanitize_file_name_chars', $special_chars, $filename_raw);
$filename = str_replace($special_chars, '', $filename);
Method wp_unique_filename
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_unique_filename( $dir, $filename, $unique_filename_callback = null ) {
// sanitize the file name before we begin processing
$filename = sanitize_file_name($filename);
// separate the filename into a name and extension
Method the_content_rss
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {
_deprecated_function(__FUNCTION__, '2.9', 'the_content_feed' );
$content = get_the_content($more_link_text, $stripteaser, $more_file);
$content = apply_filters('the_content_rss', $content);
if ( $cut && !$encode_html )
Method Expand
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Expand($name) {
$this->error = null; # so no confusion is caused
if(!$this->connected()) {
$this->error = array(
Method Handle
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void Handle(RoomCheckinChanged e)
{
var tournament = GetTournamentFromContingentId(e.Id);
var contingentRooms = tournament.ContingentRooms.FirstOrDefault(x => x.Id == e.Id);
Function $get
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function $get( $rootScope, $q, $view, $injector, $resolve, $stateParams, $urlRouter, $location, $urlMatcherFactory) {
Method wp_crop_image
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function wp_crop_image( $src_file, $src_x, $src_y, $src_w, $src_h, $dst_w, $dst_h, $src_abs = false, $dst_file = false ) {
Method get_linksbyname_withrating
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function get_linksbyname_withrating($cat_name = "noname", $before = '', $after = '<br />', $between = " ",
$show_images = true, $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {
Method get_links_withrating
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function get_links_withrating($category = -1, $before = '', $after = '<br />', $between = " ", $show_images = true,
$orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {
Function exec
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
UrlMatcher.prototype.exec = function (path, searchParams) {
var m = this.regexp.exec(path);
if (!m) return null;
searchParams = searchParams || {};