CORE-POS/IS4C

View on GitHub
fannie/item/mapping/StoreFloorsPage.php

Summary

Maintainability
A
1 hr
Test Coverage
F
6%

Method get_id_view has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function get_id_view()
    {
        $imageFile = __DIR__ . '/../images/done/floor' . $this->id . '.png';
        $imageUrl = $this->config->get('URL') . 'item/images/done/floor' . $this->id . '.png';
        if (!file_exists($imageFile)) {
Severity: Minor
Found in fannie/item/mapping/StoreFloorsPage.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status