Skip to content

Smell for sentences without effect #333

@Gustrucco

Description

@Gustrucco

It would be great to have a Code smell that check if a sentence has no effect. For example:

Ruby:

module Car
   @fuel
   @model
end

or

JS:

function double(number) {
   number * 2;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions