mageni/mageni

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

Summary

Maintainability
A
2 hrs
Test Coverage

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

    public function modify($id, $description, $targets, $ports, $alive, $exclude = null, $port_list = null, $ssh_cred = null, $ssh_port = null, $smb_cred = null)
Severity: Major
Found in src/frontend/app/Http/Livewire/Classes/Target.php - About 1 hr to fix

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

        public function create($description, $targets, $ports, $alive, $exclude = null, $port_list = null, $ssh_cred = null, $ssh_port = null, $smb_cred = null)
    Severity: Major
    Found in src/frontend/app/Http/Livewire/Classes/Target.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status