Skip to content

pitest: problem with coverage in SuppressWarningsHolder.java.isSuppressedAfterEventStart #7885

@romani

Description

@romani

detected at #7836 (comment)

    private static boolean isSuppressedAfterEventStart(int line, int column, Entry entry) {
        return entry.getFirstLine() < line
            || entry.getFirstLine() == line
            && (column == 0 || entry.getFirstColumn() <= column);
    }

pitest report:
Screen Shot 2020-03-17 at 12 16 43 PM


This code was added recently in scope of :
648871b

WE need to recheck that removing such condition will not reopen bug that was originally tried to resolve.

I am ok with prosed fix like at #7836 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions