fog/fog-xenserver

View on GitHub
lib/fog/xenserver/compute/requests/introduce_sr.rb

Summary

Maintainability
A
45 mins
Test Coverage

Method introduce_sr has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

        def introduce_sr(uuid, name_label, name_description, typecontent, sahred, sm_config)
Severity: Minor
Found in lib/fog/xenserver/compute/requests/introduce_sr.rb - About 45 mins to fix

    Avoid parameter lists longer than 5 parameters. [6/5]
    Open

            def introduce_sr(uuid, name_label, name_description, typecontent, sahred, sm_config)

    This cop checks for methods with too many parameters. The maximum number of parameters is configurable. Keyword arguments can optionally be excluded from the total count.

    There are no issues that match your filters.

    Category
    Status