eisen-dev/eisen_front

View on GitHub
webd/task_list.php

Summary

Maintainability
F
4 days
Test Coverage

Showing 8 of 8 total issues

File task_list.php has 276 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/**
* Eisen Frontend
* http://eisen-dev.github.io
*
Severity: Minor
Found in webd/task_list.php - About 2 hrs to fix

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    <?php
    /**
    * Eisen Frontend
    * http://eisen-dev.github.io
    *
    Severity: Major
    Found in webd/task_list.php and 1 other location - About 3 days to fix
    webd/recipe_list.php on lines 1..299

    Line exceeds 120 characters; contains 174 characters
    Open

    <button class="btn btn-sm" data-modal="open" data-modal-target="task_list-setting"><i class="fa fa-plus"></i><?php echo _('add new task'); ?></button>
    Severity: Minor
    Found in webd/task_list.php by phpcodesniffer

    Line exceeds 120 characters; contains 149 characters
    Open

    <button data-modal="open" data-modal-target="task_list-setting" class="content-header-setting"><i class="fa fa-cog"></i></button>
    Severity: Minor
    Found in webd/task_list.php by phpcodesniffer

    Line exceeds 120 characters; contains 123 characters
    Open

    <input type="text" class="n-search-box-input" placeholder="<?php echo _('search all log'); ?>">
    Severity: Minor
    Found in webd/task_list.php by phpcodesniffer

    Line exceeds 120 characters; contains 125 characters
    Open

    ' value="' . $task->manager_host . '" name="managerHostAddress['.$task_id.']">' .
    Severity: Minor
    Found in webd/task_list.php by phpcodesniffer

    Line exceeds 120 characters; contains 125 characters
    Open

    <button class="btn btn-sm"><i class="fa fa-refresh"></i><?php echo _('reflesh list'); ?></button>
    Severity: Minor
    Found in webd/task_list.php by phpcodesniffer

    Line exceeds 120 characters; contains 125 characters
    Open

    <button type="submit" name="submit" class="n-search-button"><i class="fa fa-search"></i></button>
    Severity: Minor
    Found in webd/task_list.php by phpcodesniffer
    Category
    Status