CORE-POS/IS4C

View on GitHub
fannie/admin/labels/VendorTags.php

Summary

Maintainability
A
1 hr
Test Coverage
F
5%

Method post_id_handler has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function post_id_handler()
    {
        $upcs = explode("\n", $this->id);
        $upcs = array_filter($upcs, function($i) { return strlen(trim($i)) > 0; });
        $upcs = array_map(function($i) { return BarcodeLib::padUPC($i); }, $upcs);
Severity: Minor
Found in fannie/admin/labels/VendorTags.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status