A well-designed fitness function is essential to the effectiveness and efficiency of evolutionary testing. Fitness function design has been researched extensively. For fitness calculation, so far the switchcase construct has been regarded as a nested if-else structure with respect to the control flow. Given a target embraced in a <i>case</i> branch, test… (More)
This poster paper addresses the fitness calculation problem fornested if-else constructs. A new term "optimism level" is incorporated into the fitness function to assess the branch distance of nested branches for a given test data.