We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In a switch statement without a default case the edge/path for not taking any case is missing:
Expected would be something like this:
public int mySwitch() { int a = 0; switch (a) { case 1: break; } }
testMethod("mySwitch", false, null, null, null); // with testMethod from the cfg test class ForwardFlowBuilderVisitorTest.java
No response
10.4.2 / Control Flow 0.0.2-SNAPSHOT
21
Linux
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
In a switch statement without a default case the edge/path for not taking any case is missing:
![image](https://private-user-images.githubusercontent.com/50425705/319807609-14113577-7899-49f1-adb9-892cfef634bf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODQzMTQsIm5iZiI6MTcyNDc4NDAxNCwicGF0aCI6Ii81MDQyNTcwNS8zMTk4MDc2MDktMTQxMTM1NzctNzg5OS00OWYxLWFkYjktODkyY2ZlZjYzNGJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDE4NDAxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY4YWUzMTcwNzA5MTlmYzEyMDEzMDQyYzhjNGVlZWZjY2M3ZTI3NjAyOGE0NWM5ZWYxYWU3ZWQ5NWZlNGM1ZmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.MDIqARFzg-DTom-cQoRP56JmTFeAi3nh6DKbEJFmvIc)
Expected would be something like this:
![image](https://private-user-images.githubusercontent.com/50425705/319805776-a6936865-2661-441b-8086-c23c5b53fb8f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODQzMTQsIm5iZiI6MTcyNDc4NDAxNCwicGF0aCI6Ii81MDQyNTcwNS8zMTk4MDU3NzYtYTY5MzY4NjUtMjY2MS00NDFiLTgwODYtYzIzYzViNTNmYjhmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDE4NDAxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVjNzRhZjdiZDYxM2Y4YzVjMGUzZmYzYjQ2YTk0OTIwOGQ1ODAxNTZmZWE5MDc1YjQ4MGU4ZWVjZWU1NGU4YWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ETzwK3j7KlDzbYIpZy_XTmTdJAE31HJQPodvIJo4bSw)
Source code you are trying to analyze/transform
Source code for your Spoon processing
Actual output
No response
Expected output
No response
Spoon Version
10.4.2 / Control Flow 0.0.2-SNAPSHOT
JVM Version
21
What operating system are you using?
Linux
The text was updated successfully, but these errors were encountered: