mageni/mageni

View on GitHub
src/frontend/app/Http/Livewire/Reports/Page.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method getRowsCSVProperty has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getRowsCSVProperty()
    {
        $this->getReport = Reports::where('task', '=', $this->task)
            ->select('id')
            ->orderBy('id', 'DESC')
Severity: Minor
Found in src/frontend/app/Http/Livewire/Reports/Page.php - About 2 hrs to fix

    Method getRowsQueryProperty has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function getRowsQueryProperty()
        {
            $this->getReport = Reports::where('task', '=', $this->task)
                ->select('id')
                ->orderBy('id', 'DESC')
    Severity: Minor
    Found in src/frontend/app/Http/Livewire/Reports/Page.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status