desrosj/respect-art-direction

View on GitHub

Showing 3 of 34 total issues

Function exports has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function( grunt ) {
 
'use strict';
var banner = '/**\n * <%= pkg.homepage %>\n * Copyright (c) <%= grunt.template.today("yyyy") %>\n * This file is generated automatically. Do not edit.\n */\n';
 
 
Severity: Minor
Found in Gruntfile.js - About 1 hr to fix

    Method rad_plugins_loaded has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function rad_plugins_loaded() {
    /*
    * Register breakpoints.
    */
    rad_add_breakpoint( 'rad_large', '(min-width: 1001px)' );
    Severity: Minor
    Found in respect-art-direction.php - About 1 hr to fix

      Method rad_post_thumbnail_html has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      function rad_post_thumbnail_html( $html, $post_id, $post_thumbnail_id, $size, $attr ) {
      Severity: Minor
      Found in functions-display.php - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language