Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.
Literal arrays are omitted.
File | Count | Expression |
---|---|---|
/application/models/Admin_model.php:269 | 1 | $data = array('user_name' => $user_name, 'email' => $email, 'pass' => $pass, 'passwd' => $passwd, 'u' => $u, 'd' => $d, 'transfer_enable' => $transfer_enable, 'plan' => $plan, 'port' => $port, 'switch' => $switch, 'enable' => $enable) |
/application/controllers/Admin.php:871 | 1 | $data = array(array('option_name' => 'resend_mail_subject', 'option_value' => htmlspecialchars_decode($this->input->post('resend_mail_subject'))), array('option_name' => 'resend_mail_body', 'option_value' => htmlspecialchars_decode($this->input->post('resend_mail_body')))) |
/application/models/User_model.php:135 | 1 | $data = array('user_name' => $username, 'email' => $email, 'pass' => $password, 'passwd' => get_temp_pass( ), 't' => '0', 'u' => '0', 'd' => '0', 'plan' => 'A', 'transfer_enable' => $this->get_default_transfer( ), 'port' => $this->get_last_port( ) + rand(2, 7), 'type' => '7', 'reg_date' => time( ), 'invite_num' => $this->get_default_invite_number( ), 'money' => '0') |
/application/models/Admin_model.php:295 | 1 | $data = array('user_name' => $user_name, 'email' => $email, 'pass' => $pass, 'passwd' => $passwd, 't' => '0', 'u' => $u, 'd' => $d, 'transfer_enable' => $transfer_enable, 'plan' => $plan, 'port' => $port, 'switch' => $switch, 'enable' => $enable, 'user_name' => $user_name, 'type' => '7', 'invite_num' => $this->get_default_invite_number( ), 'money' => '0') |
/system/libraries/Typography.php:231 | 1 | $table = array('/(<p[^>*?]>)<p>/' => '$1', '#(</p>)+#' => '</p>', '/(<p>\W*<p>)+/' => '<p>', '#<p></p><(' . $this->block_elements . ')#' => '<$1', '#( \s*)+<(' . $this->block_elements . ')#' => ' <$2', '/\{@TAG\}/' => '<', '/\{@DQ\}/' => '"', '/\{@SQ\}/' => "'", '/\{@DD\}/' => '--', '/\{@NBS\}/' => ' ', "/><p>\n/" => ">\n<p>", '#</p></#' => "</p>\n</") |
/system/libraries/Xmlrpc.php:269 | 1 | $this->xmlrpcTypes = array($this->xmlrpcI4 => '1', $this->xmlrpcInt => '1', $this->xmlrpcBoolean => '1', $this->xmlrpcString => '1', $this->xmlrpcDouble => '1', $this->xmlrpcDateTime => '1', $this->xmlrpcBase64 => '1', $this->xmlrpcArray => '2', $this->xmlrpcStruct => '3') |
/system/libraries/Email.php:1414 | 1 | $body .= $this->_get_mime_message( ) . $this->newline . $this->newline . '--' . $this->_atc_boundary . $this->newline . 'Content-Type: multipart/alternative; boundary="' . $this->_alt_boundary . '"' . $this->newline . $this->newline . '--' . $this->_alt_boundary . $this->newline . 'Content-Type: text/plain; charset=' . $this->charset . $this->newline . 'Content-Transfer-Encoding: ' . $this->_get_encoding( ) . $this->newline . $this->newline . $this->_get_alt_message( ) . $this->newline . $this->newline . '--' . $this->_alt_boundary . $this->newline . 'Content-Type: text/html; charset=' . $this->charset . $this->newline . 'Content-Transfer-Encoding: quoted-printable' . $this->newline . $this->newline . $this->_prep_quoted_printable($this->_body) . $this->newline . $this->newline . '--' . $this->_alt_boundary . '--' . $this->newline . $this->newline |
/system/libraries/Email.php:1396 | 1 | $body .= $this->_get_mime_message( ) . $this->newline . $this->newline . '--' . $this->_atc_boundary . $this->newline . 'Content-Type: text/plain; charset=' . $this->charset . $this->newline . 'Content-Transfer-Encoding: ' . $this->_get_encoding( ) . $this->newline . $this->newline . $this->_body . $this->newline . $this->newline |
/system/libraries/Email.php:1358 | 1 | $body .= $this->_get_mime_message( ) . $this->newline . $this->newline . '--' . $this->_alt_boundary . $this->newline . 'Content-Type: text/plain; charset=' . $this->charset . $this->newline . 'Content-Transfer-Encoding: ' . $this->_get_encoding( ) . $this->newline . $this->newline . $this->_get_alt_message( ) . $this->newline . $this->newline . '--' . $this->_alt_boundary . $this->newline . 'Content-Type: text/html; charset=' . $this->charset . $this->newline . 'Content-Transfer-Encoding: quoted-printable' . $this->newline . $this->newline |
/system/libraries/Unit_test.php:169 | 1 | $report = array('test_name' => $test_name, 'test_datatype' => gettype($test), 'res_datatype' => $extype, 'result' => ($result === TRUE) ? 'passed' : 'failed', 'file' => $back['file'], 'line' => $back['line'], 'notes' => $notes) |
/system/core/compat/standard.php:293 | 1 | $array[$key] = (is_array($arrays[$i][$key]) && isset($array[$key]) && is_array($array[$key])) ? array_replace_recursive($array[$key], $arrays[$i][$key]) : $arrays[$i][$key] |
/system/helpers/form_helper.php:685 | 1 | $value = (isset($CI->form_validation) && is_object($CI->form_validation) && $CI->form_validation->has_rule($field)) ? $CI->form_validation->set_value($field, $default) : $CI->input->post($field, FALSE) |
/system/libraries/Encryption.php:698 | 1 | $params = array('handle' => NULL, 'cipher' => $params['cipher'], 'mode' => $params['mode'], 'key' => $params['key'], 'base64' => isset($params['raw_data']) ? !$params['raw_data'] : FALSE, 'hmac_digest' => $params['hmac_digest'], 'hmac_key' => $params['hmac_key']) |
/system/libraries/Encryption.php:709 | 1 | $params['handle'] = ($params['cipher'] !== $this->_cipher OR $params['mode'] !== $this->_mode) ? $this->{'_' . $this->_driver . '_get_handle'}($params['cipher'], $params['mode']) : $this->_handle |
/system/libraries/Upload.php:599 | 1 | $data = array('file_name' => $this->file_name, 'file_type' => $this->file_type, 'file_path' => $this->upload_path, 'full_path' => $this->upload_path . $this->file_name, 'raw_name' => str_replace($this->file_ext, '', $this->file_name), 'orig_name' => $this->orig_name, 'client_name' => $this->client_name, 'file_ext' => $this->file_ext, 'file_size' => $this->file_size, 'is_image' => $this->is_image( ), 'image_width' => $this->image_width, 'image_height' => $this->image_height, 'image_type' => $this->image_type, 'image_size_str' => $this->image_size_str, ) |
/system/libraries/Xmlrpcs.php:150 | 1 | $this->methods = array('system.listMethods' => array('function' => 'this.listMethods', 'signature' => array(array($this->xmlrpcArray, $this->xmlrpcString), array($this->xmlrpcArray)), 'docstring' => 'Returns an array of available methods on this server'), 'system.methodHelp' => array('function' => 'this.methodHelp', 'signature' => array(array($this->xmlrpcString, $this->xmlrpcString)), 'docstring' => 'Returns a documentation string for the specified method'), 'system.methodSignature' => array('function' => 'this.methodSignature', 'signature' => array(array($this->xmlrpcArray, $this->xmlrpcString)), 'docstring' => 'Returns an array describing the return type and required parameters of a method'), 'system.multicall' => array('function' => 'this.multicall', 'signature' => array(array($this->xmlrpcArray, $this->xmlrpcArray)), 'docstring' => 'Combine multiple RPC calls in one request. See http://www.xmlrpc.com/discuss/msgReader$1208 for details')) |
/system/libraries/Session/drivers/Session_cookie.php:541 | 1 | $this->userdata = array('session_id' => $this->_make_sess_id( ), 'ip_address' => $this->CI->input->ip_address( ), 'user_agent' => trim(substr($this->CI->input->user_agent( ), 0, 120)), 'last_activity' => $this->now, ) |
/system/libraries/Session/drivers/Session_redis_driver.php:91 | 1 | $this->_config['save_path'] = array('host' => $matches[1], 'port' => empty($matches[2]) ? NULL : $matches[2], 'password' => preg_match('#auth=([^\s&]+)#', $matches[3], $match) ? $match[1] : NULL, 'database' => preg_match('#database=(\d+)#', $matches[3], $match) ? (int) $match[1] : NULL, 'timeout' => preg_match('#timeout=(\d+\.\d+)#', $matches[3], $match) ? (float) $match[1] : NULL) |
/system/database/DB_forge.php:535 | 1 | $result = $this->db->query(sprintf($this->_rename_table, $this->db->escape_identifiers($this->db->dbprefix . $table_name), $this->db->escape_identifiers($this->db->dbprefix . $new_table_name))) |
/system/database/DB_forge.php:722 | 1 | $field = array('name' => $key, 'new_name' => isset($attributes['NAME']) ? $attributes['NAME'] : NULL, 'type' => isset($attributes['TYPE']) ? $attributes['TYPE'] : NULL, 'length' => '', 'unsigned' => '', 'null' => '', 'unique' => '', 'default' => '', 'auto_increment' => '', '_literal' => FALSE) |
/system/database/DB.php:115 | 1 | $params = array('dbdriver' => $dsn['scheme'], 'hostname' => isset($dsn['host']) ? rawurldecode($dsn['host']) : '', 'port' => isset($dsn['port']) ? rawurldecode($dsn['port']) : '', 'username' => isset($dsn['user']) ? rawurldecode($dsn['user']) : '', 'password' => isset($dsn['pass']) ? rawurldecode($dsn['pass']) : '', 'database' => isset($dsn['path']) ? rawurldecode(substr($dsn['path'], 1)) : '') |
/system/database/DB_query_builder.php:2390 | 1 | $this->qb_groupby[$i] = ($this->qb_groupby[$i]['escape'] === FALSE OR $this->_is_literal($this->qb_groupby[$i]['field'])) ? $this->qb_groupby[$i]['field'] : $this->protect_identifiers($this->qb_groupby[$i]['field']) |
/system/database/drivers/sqlsrv/sqlsrv_driver.php:127 | 1 | $connection = array('UID' => empty($this->username) ? '' : $this->username, 'PWD' => empty($this->password) ? '' : $this->password, 'Database' => $this->database, 'ConnectionPooling' => ($pooling === TRUE) ? 1 : 0, 'CharacterSet' => $charset, 'Encrypt' => ($this->encrypt === TRUE) ? 1 : 0, 'ReturnDatesAsStrings' => 1) |
/system/database/drivers/oci8/oci8_driver.php:182 | 1 | $this->dsn = $this->hostname . ((!empty($this->port) && ctype_digit($this->port)) ? ':' . $this->port : '') . ($this->database !== '' ? '/' . ltrim($this->database, '/') : '') |
/application/controllers/Admin.php:661 | 1 | $data = array(array('option_name' => 'invite_only', 'option_value' => strtolower($this->input->post('invite_only')), ), array('option_name' => 'default_transfer', 'option_value' => $this->input->post('default_transfer'), ), array('option_name' => 'default_invite_number', 'option_value' => $this->input->post('default_invite_number'), ), array('option_name' => 'check_min', 'option_value' => $this->input->post('check_min'), ), array('option_name' => 'check_max', 'option_value' => $this->input->post('check_max'), ), array('option_name' => 'version', 'option_value' => $this->input->post('version'), ), array('option_name' => 'default_method', 'option_value' => $this->input->post('default_method'), ), array('option_name' => 'need_activate', 'option_value' => strtolower($this->input->post('need_activate')), ), ) |
/application/controllers/Admin.php:746 | 1 | $data = array(array('option_name' => 'mail_protocol', 'option_value' => $this->input->post('mail_protocol'), ), array('option_name' => 'mail_mailpath', 'option_value' => $this->input->post('mail_mailpath'), ), array('option_name' => 'mail_smtp_host', 'option_value' => $this->input->post('mail_smtp_host'), ), array('option_name' => 'mail_smtp_user', 'option_value' => $this->input->post('mail_smtp_user'), ), array('option_name' => 'mail_smtp_pass', 'option_value' => $this->input->post('mail_smtp_pass'), ), array('option_name' => 'mail_smtp_port', 'option_value' => $this->input->post('mail_smtp_port'), ), array('option_name' => 'mail_smtp_crypto', 'option_value' => $this->input->post('mail_smtp_crypto'), ), array('option_name' => 'mail_sender_address', 'option_value' => $this->input->post('mail_sender_address'), ), array('option_name' => 'mail_sender_name', 'option_value' => $this->input->post('mail_sender_name'), ), array('option_name' => 'mail_sg_user', 'option_value' => $this->input->post('mail_sg_user'), ), array('option_name' => 'mail_sg_pass', 'option_value' => $this->input->post('mail_sg_pass'), )) |
/application/controllers/Admin.php:845 | 1 | $data = array(array('option_name' => 'email_subject', 'option_value' => htmlspecialchars_decode($this->input->post('email_subject'))), array('option_name' => 'email_body', 'option_value' => htmlspecialchars_decode($this->input->post('email_body')))) |
/application/controllers/Admin.php:858 | 1 | $data = array(array('option_name' => 'reset_mail_subject', 'option_value' => htmlspecialchars_decode($this->input->post('reset_mail_subject'))), array('option_name' => 'reset_mail_body', 'option_value' => htmlspecialchars_decode($this->input->post('reset_mail_body')))) |
/system/libraries/Session/drivers/Session_files_driver.php:332 | 1 | if(!preg_match('/(?:[0-9a-f]{32})?[0-9a-f]{40}$/i', $file) OR !is_file($this->_config['save_path'] . DIRECTORY_SEPARATOR . $file) OR ($mtime = filemtime($this->_config['save_path'] . DIRECTORY_SEPARATOR . $file)) === FALSE OR $mtime > $ts) { /**/ } |
/system/libraries/Profiler.php:168 | 1 | if(preg_match('/(.+?)_end$/i', $key, $match) && isset($this->CI->benchmark->marker[$match[1] . '_end'], $this->CI->benchmark->marker[$match[1] . '_start'])) { /**/ } |
/system/libraries/Email.php:1644 | 1 | if(!isset($this->_recipients) && !isset($this->_headers['To']) && !isset($this->_bcc_array) && !isset($this->_headers['Bcc']) && !isset($this->_headers['Cc'])) { /**/ } |
/system/libraries/Form_validation.php:880 | 1 | if(FALSE === ($fieldname = $this->CI->lang->line('form_validation_' . $line)) && FALSE === ($fieldname = $this->CI->lang->line($line, FALSE))) { /**/ } |
/system/libraries/Form_validation.php:830 | 1 | if(FALSE === ($line = $this->CI->lang->line('form_validation_' . $rule)) && FALSE === ($line = $this->CI->lang->line($rule, FALSE))) { /**/ } |
/system/libraries/Form_validation.php:648 | 1 | elseif(FALSE === ($line = $this->CI->lang->line('form_validation_' . $type)) && FALSE === ($line = $this->CI->lang->line($type, FALSE))) { /**/ } |
/system/core/compat/standard.php:355 | 1 | if(ctype_cntrl($c) OR (ord($c) === 0x7f) OR (ord($c) & 0x80) OR ($c === '=') OR ($c === ' ' && isset($str[$i]) && $str[$i] === "\015")) { /**/ } |
/system/core/Log.php:177 | 1 | if((!isset($this->_levels[$level]) OR ($this->_levels[$level] > $this->_threshold)) && !isset($this->_threshold_array[$this->_levels[$level]])) { /**/ } |