chemiker/sciolism-2019-for-wordpress

View on GitHub

Showing 3 of 9 total issues

Method sciolism_theme_setup has 81 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function sciolism_theme_setup() {
    add_theme_support(
        'html5',
        array(
            'comment-list',
Severity: Major
Found in src/theme/functions.php - About 3 hrs to fix

    Method sciolism_setup_customizer has 76 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function sciolism_setup_customizer( $wp_customize ) {
        $wp_customize->add_section(
            'sciolism_2019_footer',
            array(
                'title'       => esc_html__( 'Footer', 'sciolism-2019' ),
    Severity: Major
    Found in src/theme/functions.php - About 3 hrs to fix

      Function prepareStatics has 47 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function prepareStatics() {
          moveAndRenameFile(
              'node_modules/normalize.css/LICENSE.md',
              'LICENSE-NORMALIZE',
              'licenses/'
      Severity: Minor
      Found in gulpfile.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language