Skip to content

Missing implementation of LiteralExpressionMutator #12

@mutrepair

Description

@mutrepair

Hi, your TBar tool is very useful and can fix a lot of bugs. But I found that there could be some implementation missing in the included fix patterns, e.g., LiteralExpressionMutator. I would assume this mutator can mutate string to another string (e.g., "") and mutate numbers to some other numbers (default ones like 0, 1 etc. or negated ones), but it seems the implementation is missing, according to your TODOs:

// TODO: How to select other string literals?
,
// TODO: How to select other number literals?
. Do you think TBar can fix more bugs if these mutators are fully implemented? Thanks for your time in advance.

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