mageni/mageni

View on GitHub
src/frontend/app/Http/Livewire/Classes/Scan.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method modify has 11 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function modify($id, $name, $description, $template, $target, $ordering, $maxtests, $maxhosts, $scanner, $schedule = null, $alert = null): bool
Severity: Major
Found in src/frontend/app/Http/Livewire/Classes/Scan.php - About 1 hr to fix

    Method create has 10 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function create($name, $description, $template, $target, $ordering, $maxtests, $maxhosts, $scanner, $schedule = null, $alert = null): bool
    Severity: Major
    Found in src/frontend/app/Http/Livewire/Classes/Scan.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status