Showing 5,566 of 7,504 total issues
Function _addListeners
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_addListeners: function() {
var self = this;
self.toggler.click( function( event ){
event.stopPropagation();
Function refresh
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
refresh: function() {
var self = this;
this.abort();
Function get
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
get : function(total, num) {
var st = this.st, data;
if ( ! num )
num = 20;
Function drawArea
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},drawArea:function(){
if(!this.isIE){
Element.show($(this.overlay));
}
var _3e=this.calcW();
Function initialize
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Cropper.Img.prototype={initialize:function(_7,_8){
this.options=Object.extend({ratioDim:{x:0,y:0},minWidth:0,minHeight:0,displayOnInit:false,onEndCrop:Prototype.emptyFunction,captureKeys:true},_8||{});
if(this.options.minWidth>0&&this.options.minHeight>0){
this.options.ratioDim.x=this.options.minWidth;
this.options.ratioDim.y=this.options.minHeight;
Function setup
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setup: function(){
function parseColor(color){
if (!color || ['rgba(0, 0, 0, 0)','transparent'].include(color)) color = '#ffffff';
color = color.parseColor();
return $R(0,2).map(function(i){
Method render_per_page_options
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function render_per_page_options() {
if ( ! $this->get_option( 'per_page' ) )
return;
$per_page_label = $this->get_option( 'per_page', 'label' );
Method media_upload_type_form
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function media_upload_type_form($type = 'file', $errors = null, $id = null) {
media_upload_header();
$post_id = intval($_REQUEST['post_id']);
Method get_views
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_views() {
global $totals, $status;
$status_links = array();
foreach ( $totals as $type => $count ) {
Method _wp_ajax_delete_comment_response
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) {
$total = isset( $_POST['_total'] ) ? (int) $_POST['_total'] : 0;
$per_page = isset( $_POST['_per_page'] ) ? (int) $_POST['_per_page'] : 0;
$page = isset( $_POST['_page'] ) ? (int) $_POST['_page'] : 0;
$url = isset( $_POST['_url'] ) ? esc_url_raw( $_POST['_url'] ) : '';
Method do_meta_boxes
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function do_meta_boxes($page, $context, $object) {
global $wp_meta_boxes;
static $already_sorted = false;
//do_action('do_meta_boxes', $page, $context, $object);
Method wp_getPageList
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_getPageList($args) {
global $wpdb;
$this->escape($args);
Method signup_user
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function signup_user( $user_name = '', $user_email = '', $errors = '' ) {
global $active_signup;
if ( !is_wp_error($errors) )
$errors = new WP_Error();
Method css
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function css() {
?>
<style type="text/css">
.a-stats {
Method get_comment_count
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_comment_count( $post_id = 0 ) {
global $wpdb;
$post_id = (int) $post_id;
Method wp_set_comment_status
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_set_comment_status($comment_id, $comment_status, $wp_error = false) {
global $wpdb;
$status = '0';
switch ( $comment_status ) {
Method blogger_getRecentPosts
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function blogger_getRecentPosts($args) {
$this->escape($args);
// $args[0] = appkey - ignored
Method LAMEpresetUsedLookup
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function LAMEpresetUsedLookup($LAMEtag) {
if ($LAMEtag['preset_used_id'] == 0) {
// no preset used (LAME >=3.93)
// no preset recorded (LAME <3.93)
Method __get
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __get($name)
{
// isset() returns false for null, we don't want to do that
// Also why we use array_key_exists below instead of isset()
$props = get_object_vars($this);
Method get_post
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function &get_post(&$post, $output = OBJECT, $filter = 'raw') {
global $wpdb;
$null = null;
if ( empty($post) ) {