Showing 5,566 of 7,504 total issues
Function patchCamera
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
patchCamera: function () {
api.Camera.fallback = function (el, options, callback) {
var camId = api.uid();
api.log('FlashAPI.Camera.publish: ' + camId);
flash.publish(el, camId, api.extend(options, {
Function upload
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.upload = function (config) {
config.headers = config.headers || {};
config.headers['Content-Type'] = undefined;
config.transformRequest = config.transformRequest ?
(angular.isArray(config.transformRequest) ?
Function ContextTagKeys
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var ContextTagKeys = (function () {
function ContextTagKeys() {
this.applicationVersion = "ai.application.ver";
this.applicationBuild = "ai.application.build";
this.applicationTypeId = "ai.application.typeId";
Function initialize
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initialize: function( params, options ) {
var self = this,
rscheme = /^https?/;
$.extend( this, options || {} );
Method wp_handle_sideload
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_handle_sideload( &$file, $overrides = false ) {
// The default error handler.
if (! function_exists( 'wp_handle_upload_error' ) ) {
function wp_handle_upload_error( &$file, $message ) {
return array( 'error'=>$message );
Method cron_recheck
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function cron_recheck() {
global $wpdb;
$api_key = self::get_api_key();
Method wp_newComment
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_newComment($args) {
global $wpdb;
$this->escape($args);
Method QuicktimeIODSaudioProfileName
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function QuicktimeIODSaudioProfileName($audio_profile_id) {
static $QuicktimeIODSaudioProfileNameLookup = array();
if (empty($QuicktimeIODSaudioProfileNameLookup)) {
$QuicktimeIODSaudioProfileNameLookup = array(
0x00 => 'ISO Reserved (0x00)',
Method parseComments
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function parseComments(&$RIFFinfoArray, &$CommentsTargetArray) {
$RIFFinfoKeyLookup = array(
'IARL'=>'archivallocation',
'IART'=>'artist',
'ICDS'=>'costumedesigner',
Method QuicktimeVideoCodecLookup
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function QuicktimeVideoCodecLookup($codecid) {
static $QuicktimeVideoCodecLookup = array();
if (empty($QuicktimeVideoCodecLookup)) {
$QuicktimeVideoCodecLookup['.SGI'] = 'SGI';
$QuicktimeVideoCodecLookup['3IV1'] = '3ivx MPEG-4 v1';
Method uidl
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function uidl ($msgNum = "")
{
// Returns the UIDL of the msg specified. If called with
// no arguments, returns an associative array where each
// undeleted msg num is a key, and the msg's uidl is the element
Method get_available_widgets
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_available_widgets() {
static $available_widgets = array();
if ( ! empty( $available_widgets ) ) {
return $available_widgets;
}
Method load
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function load()
{
if ($this->mysql && ($query = mysql_query('SELECT `items`, `data` FROM `' . $this->options['prefix'][0] . 'cache_data` WHERE `id` = \'' . mysql_real_escape_string($this->id) . "'", $this->mysql)) && ($row = mysql_fetch_row($query)))
{
$data = unserialize($row[1]);
Method _render_item
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
final protected function _render_item( $node ) {
if ( $node->type != 'item' )
return;
$is_parent = ! empty( $node->children );
Method add_query_arg
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function add_query_arg() {
$ret = '';
if ( is_array( func_get_arg(0) ) ) {
if ( @func_num_args() < 2 || false === @func_get_arg( 1 ) )
$uri = $_SERVER['REQUEST_URI'];
Function FileReader
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
window.FileReader = function() {
var _this = this, loadStarted = false;
this.listeners = {};
this.addEventListener = function(type, fn) {
_this.listeners[type] = _this.listeners[type] || [];
Function FileReader
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
window.FileReader = function() {
var _this = this, loadStarted = false;
this.listeners = {};
this.addEventListener = function(type, fn) {
_this.listeners[type] = _this.listeners[type] || [];
Function link
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function (scope, element, attrs) {
scope.$watch('shots', function () {
scope.shots = scope.shots.toUpperCase();
scope.game = { frames: [], score: 0, fouls: 0 };
Function add
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function(handleObj) {
var getCoords = function(e) {
if ( e.touches && e.touches.length ) {
var touch = e.touches[0];
Function ajaxDim
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ajaxDim: function( e, s ) {
if ( $(e).parent().css('display') == 'none' ) // Prevent hidden links from being clicked by hotkeys
return false;
e = $(e); s = s || {};
var list = this, cls = wpList.parseClass(e,'dim'), element, isClass, color, dimColor;