-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include while (true)
lines in coverage
#67
Comments
I could be the case that we have a mistake in our test data. Which is the project example related to |
This is a new test case based on |
Signed-off-by: André Silva <[email protected]>
You can see #69 now |
Perfect. I see now that in the PR the example has the while(true) |
Right now,
flacoco
does not considerwhile
loop conditions that have a constant valuetrue
in the coverage computation.Example:
Output:
while(true) {
is on line 10.Another example where this happens is https://github.com/SpoonLabs/astor/tree/master/examples/quixbugscompiled/detect_cycle
The text was updated successfully, but these errors were encountered: