-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
FieldRef validator changes #791
Conversation
# Conflicts: # sootup.core/src/main/java/sootup/core/validation/FieldRefValidator.java
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #791 +/- ##
=============================================
+ Coverage 63.38% 63.86% +0.47%
- Complexity 3376 3405 +29
=============================================
Files 314 314
Lines 15074 15097 +23
Branches 2557 2566 +9
=============================================
+ Hits 9555 9641 +86
+ Misses 4626 4549 -77
- Partials 893 907 +14 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
validationException.add( | ||
new ValidationException(fr, "Resolved field is null: " + fr.toString())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can occur when not a complete program is given in the input - lets just ignore those cases.
if (!fieldOpt.isPresent()) { | ||
validationException.add(new ValidationException(v, "Resolved field is empty: ")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can occur when not a complete program is given in the input - lets just ignore those cases.
because I can. There are changes needed.
FieldRef validator changes and test cases