Showing 5,566 of 7,504 total issues
Function show
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Modal.prototype.show = function (_relatedTarget) {
var that = this
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
this.$element.trigger(e)
Function backdrop
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Modal.prototype.backdrop = function (callback) {
var that = this
var animate = this.$element.hasClass('fade') ? 'fade' : ''
if (this.isShown && this.options.backdrop) {
Method media_upload_image
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function media_upload_image() {
$errors = array();
$id = 0;
if ( isset($_POST['html-upload']) && !empty($_FILES) ) {
Method fs_connect
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fs_connect( $directories = array() ) {
global $wp_filesystem;
if ( false === ($credentials = $this->skin->request_filesystem_credentials()) )
return false;
Method import_post
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function import_post( $entry ) {
global $importing_blog;
// The old permalink is all Blogger gives us to link comments to their posts.
if ( isset( $entry->draft ) )
Method do_core_upgrade
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function do_core_upgrade( $reinstall = false ) {
global $wp_filesystem;
if ( $reinstall )
$url = 'update-core.php?action=do-core-reinstall';
Method step3
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function step3() {
global $wpdb;
set_time_limit( 0 );
update_option( 'ljapi_step', 3 );
Method twentythirteen_header_style
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function twentythirteen_header_style() {
$header_image = get_header_image();
$text_color = get_header_textcolor();
// If no custom options for text are set, let's bail.
Method date_w3cdtf
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function date_w3cdtf($date)
{
static $pcre;
if (!$pcre)
{
Method get_id
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_id($hash = false)
{
if (!$hash)
{
if ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'id'))
Method date_w3cdtf
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function date_w3cdtf($date)
{
static $pcre;
if (!$pcre)
{
Method get_channel_tags
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_channel_tags($namespace, $tag)
{
$type = $this->get_type();
if ($type & SIMPLEPIE_TYPE_ATOM_ALL)
{
Method autodiscovery
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function autodiscovery()
{
$links = array_merge(SimplePie_Misc::get_element('link', $this->file->body), SimplePie_Misc::get_element('a', $this->file->body), SimplePie_Misc::get_element('area', $this->file->body));
$done = array();
$feeds = array();
Method comments_template
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function comments_template( $file = '/comments.php', $separate_comments = false ) {
global $wp_query, $withcomments, $post, $wpdb, $id, $comment, $user_login, $user_ID, $user_identity, $overridden_cpage;
if ( !(is_single() || is_page() || $withcomments) || empty($post) )
return;
Method rewrite_rules
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function rewrite_rules() {
$rewrite = array();
if (empty($this->permalink_structure)) {
return $rewrite;
Method BuildTables
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void BuildTables()
{
using (var con = new SqlConnection(ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString))
{
con.Open();
Method SaveEventsFor
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void SaveEventsFor<TAggregate>(Guid? id, int eventsLoaded, ArrayList newEvents)
{
// Establish the aggregate ID to save the events under and ensure they
// all have the correct ID.
if (newEvents.Count == 0)
Function $StateRefActiveDirective
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function $StateRefActiveDirective($state, $stateParams, $interpolate) {
return {
restrict: "A",
controller: ['$scope', '$element', '$attrs', function ($scope, $element, $attrs) {
var states = [], activeClass;
Function parseStack
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_ExceptionDetails.prototype.parseStack = function (stack) {
var parsedStack = undefined;
if (typeof stack === "string") {
var frames = stack.split('\n');
parsedStack = [];
Function tournamentController
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var tournamentController = function ($http, $q, $location, dataService) {
var url = $location.absUrl();
var lastSlash = url.lastIndexOf('/');
var year = url.slice(lastSlash + 1);