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/model/migration.php:369 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:381 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:345 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:357 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:321 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:333 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:295 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:309 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:527 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/media.php:31 | 1 | $row = $this->media_table( )->insert(array('uri' => IMAGE_URI . $file, 'slug' => $slug, 'name' => $file_full, 'title' => $file_name, 'date' => time( ), 'exif' => $exif, 'alt' => $file_name, 'count' => 1, 'type' => 'image', 'author' => $author)) |
/application/model/migration.php:442 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:480 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:418 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:430 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:393 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:405 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/library/db.php:384 | 1 | $sql .= " INNER JOIN $tick{$query->_join['table']}$tick ON {$query->_join['on']['col1']} {$query->_join['on']['operator']} {$query->_join['on']['col2']}" |
/application/controller/page.php:39 | 1 | $routs = array('p/:int' => 'short.url', 'home' => 'home.index', 'tag' => 'tag.index', 'tag/:words' => 'tag.slug', 'tag/page/:int' => 'tag.paged', 'category' => 'category.index', 'category/:words' => 'category.slug', 'category/page/:int' => 'category.paged', 'feed' => 'feed.index', $blog_uri => 'blog.index', $blog_uri . '/:words' => 'blog.slug', $blog_uri . '/page/:int' => 'blog.paged', $blog_uri . '/:int/:int' => 'blog.date', $blog_uri . '/:int/:int/:words' => 'blog_date.slug', $blog_uri . '/:int/:int/page/:int' => 'blog_date.paged', ':words' => 'page.index', ':words/page/:int' => 'page.paged', ':words/:plugin' => 'page.plugin', ':words/:words' => 'page.subpage', ':words/:words/:words' => 'page.subpage') |
/application/controller/action.php:972 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/controller/dev.php:420 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:282 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:267 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:240 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/model/migration.php:9 | 21 | $pdo = new pdo("{$config['default']['driver']}:dbname={$config['default']['database']};host={$config['default']['host']}", $config['default']['username'], $config['default']['password']) |
/application/library/import/wordpress.php:59 | 1 | $categories[] = array('term_id' => (int) $t->term_id, 'category_slug' => (string) $t->category_nicename, 'category_parent' => (string) $t->category_parent, 'category_name' => (string) $t->cat_name, 'category_description' => (string) $t->category_description) |
/application/library/import/wordpress.php:46 | 1 | $authors[$login] = array('author_id' => (int) $a->author_id, 'author_login' => $login, 'author_email' => (string) $a->author_email, 'author_display_name' => (string) $a->author_display_name, 'author_first_name' => (string) $a->author_first_name, 'author_last_name' => (string) $a->author_last_name) |
/application/library/diff/SequenceMatcher.php:537 | 1 | $opCodes[0] = array($opCodes[0][0], max($opCodes[0][1], $opCodes[0][2] - $context), $opCodes[0][2], max($opCodes[0][3], $opCodes[0][4] - $context), $opCodes[0][4]) |
/application/library/plugin.php:125 | 1 | $context[$category][$folder] = array("name" => $info["name"], "version" => $info["version"], "url" => $info["url"], "description" => $info["description"], "author" => $info["author"], "help" => $info["help"], "classes" => $classes[$folder], "dependencies_needed" => $dependencies_needed) |
/application/library/Spyc/Spyc.php:317 | 1 | if(is_string($value) && ((strpos($value, "\n") !== false || strpos($value, ": ") !== false || strpos($value, "- ") !== false || strpos($value, "*") !== false || strpos($value, "#") !== false || strpos($value, "<") !== false || strpos($value, ">") !== false || strpos($value, ' ') !== false || strpos($value, "[") !== false || strpos($value, "]") !== false || strpos($value, "{") !== false || strpos($value, "}") !== false) || strpos($value, "&") !== false || strpos($value, "'") !== false || strpos($value, "!") === 0 || substr($value, -1, 1) == ':')) { /**/ } else { /**/ } |
/application/library/diff/SequenceMatcher.php:294 | 1 | while ($bestI + $bestSize < $ahi && $bestJ + $bestSize < $bhi && $this->isBJunk($b[$bestJ + $bestSize]) && !$this->linesAreDifferent($bestI + $bestSize, $bestJ + $bestSize)) { /**/ } |
/application/library/diff/SequenceMatcher.php:282 | 1 | while ($bestI + $bestSize < $ahi && ($bestJ + $bestSize) < $bhi && !$this->isBJunk($b[$bestJ + $bestSize]) && !$this->linesAreDifferent($bestI + $bestSize, $bestJ + $bestSize)) { /**/ } |