Showing 5,566 of 7,504 total issues
Method iconv_fallback_utf8_iso88591
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function iconv_fallback_utf8_iso88591($string) {
if (function_exists('utf8_decode')) {
return utf8_decode($string);
}
// utf8_decode() unavailable, use getID3()'s iconv_fallback() conversions (possibly PHP is compiled without XML support)
Method iconv_fallback_utf8_utf16be
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function iconv_fallback_utf8_utf16be($string, $bom=false) {
$newcharstring = '';
if ($bom) {
$newcharstring .= "\xFE\xFF";
}
Method wp_admin_bar_my_account_menu
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_admin_bar_my_account_menu( $wp_admin_bar ) {
$user_id = get_current_user_id();
$current_user = wp_get_current_user();
$profile_url = get_edit_profile_url( $user_id );
Method check_ipv6
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function check_ipv6($ip)
{
$ip = self::uncompress($ip);
list($ipv6, $ipv4) = self::split_v6_v4($ip);
$ipv6 = explode(':', $ipv6);
Method shortcode
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function shortcode( $attr, $url = '' ) {
global $post;
if ( empty($url) )
return '';
Method image_constrain_size_for_editor
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function image_constrain_size_for_editor($width, $height, $size = 'medium') {
global $content_width, $_wp_additional_image_sizes;
if ( is_array($size) ) {
$max_width = $size[0];
Method widget
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function widget( $args, $instance ) {
extract( $args );
$title = apply_filters('widget_title', empty( $instance['title'] ) ? __( 'Categories' ) : $instance['title']);
$c = $instance['count'] ? '1' : '0';
Method wp_page_menu
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_page_menu( $args = array() ) {
$defaults = array('sort_column' => 'menu_order, post_title', 'menu_class' => 'menu', 'echo' => true, 'link_before' => '', 'link_after' => '');
$args = wp_parse_args( $args, $defaults );
$args = apply_filters( 'wp_page_menu_args', $args );
Method wp_update_nav_menu_object
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_update_nav_menu_object( $menu_id = 0, $menu_data = array() ) {
$menu_id = (int) $menu_id;
$_menu = wp_get_nav_menu_object( $menu_id );
Method update_option
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function update_option( $option_name, $newvalue ) {
global $wpdb;
wp_protect_special_option( $option_name );
Method TeachingLadies
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void TeachingLadies(ICommandQueries commandQueries, MessageDispatcher dispatcher)
{
var division = "Teaching Ladies";
var isPoa = true;
var game = 0;
Method MailSend
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function MailSend($header, $body) {
$to = '';
for($i = 0; $i < count($this->to); $i++) {
if($i != 0) { $to .= ', '; }
Method UpgradeUserToAdmin
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void UpgradeUserToAdmin(string user)
{
using (var con = new SqlConnection(ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString))
{
int userId;
Method TournamentMenSingle
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void TournamentMenSingle(ICommandQueries commandQueries, MessageDispatcher dispatcher)
{
var division = "Tournament Men Single";
var isPoa = false;
var game = 0;
Method TournamentMen
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void TournamentMen(ICommandQueries commandQueries, MessageDispatcher dispatcher)
{
var division = "Tournament Men";
var isPoa = false;
var game = 0;
Method get_edit_post_link
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_edit_post_link( $id = 0, $context = 'display' ) {
if ( !$post = &get_post( $id ) )
return;
if ( 'display' == $context )
Method Seniors
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void Seniors(ICommandQueries commandQueries, MessageDispatcher dispatcher)
{
var division = "Seniors";
var isPoa = true;
var game = 0;
Method TournamentLadiesSingle
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void TournamentLadiesSingle(ICommandQueries commandQueries, MessageDispatcher dispatcher)
{
var division = "Tournament Ladies Single";
var isPoa = false;
var game = 0;
Method TournamentLadies
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void TournamentLadies(ICommandQueries commandQueries, MessageDispatcher dispatcher)
{
var division = "Tournament Ladies";
var isPoa = false;
var game = 0;
Method get_delete_post_link
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_delete_post_link($id = 0, $context = 'display') {
if ( !$post = &get_post( $id ) )
return;
if ( 'display' == $context )