ekristen/libnuke

View on GitHub
pkg/nuke/nuke.go

Summary

Maintainability
A
0 mins
Test Coverage
A
98%

Nuke has 24 methods (exceeds 20 allowed). Consider refactoring.
Wontfix

type Nuke struct {
    Parameters *Parameters           // Parameters is a collection of common variables used to configure the before of the Nuke instance.
    Filters    filter.Filters        // Filters is the collection of filters that will be used to filter resources
    Settings   *libsettings.Settings // Settings is the collection of settings that will be used to control resource behavior

Severity: Minor
Found in pkg/nuke/nuke.go - About 2 hrs to fix

    Method Nuke.Run has 8 return statements (exceeds 4 allowed).
    Wontfix

    func (n *Nuke) Run(ctx context.Context) error {
        n.Version()
    
        if err := n.Validate(); err != nil {
            return err
    Severity: Major
    Found in pkg/nuke/nuke.go - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status