Skip to content

馃悰Variable Bug in Triangle Class (Instrument version)#26

Description

@Kianzahrai

Given the code implementation in the Triangle.classify() method in the TriangleBranchTargetObjectiveFunction.java, the line for the second branch compares num1 and num2 again, when it should be comparing num1 and num3 instead (see 1st image). This is to align with the code implementation in the main Triangle class (without the branch ID argument) as implemented here (see 2nd image).


Triangle class implementation of classify (instrumented):
Image


Triangle class implementation of classify (main):
Image

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