Skip to content

794 check for body validations and class validations#1277

Draft
sahilagichani14 wants to merge 23 commits intodevelopfrom
794-check-for-valid-modifier-combinations
Draft

794 check for body validations and class validations#1277
sahilagichani14 wants to merge 23 commits intodevelopfrom
794-check-for-valid-modifier-combinations

Conversation

@sahilagichani14
Copy link
Collaborator

No description provided.

@sahilagichani14 sahilagichani14 linked an issue Apr 18, 2025 that may be closed by this pull request
import sootup.core.model.SootField;

/** Validator that checks for impossible combinations of field modifiers */
public class FieldModifiersValidator implements ClassValidator {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reused this class, which was already there, or should I create another separate class for this wrapper?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is linked to #322
You can directly address the other validators as well.

@sahilagichani14 sahilagichani14 self-assigned this Apr 22, 2025
@sahilagichani14 sahilagichani14 marked this pull request as draft April 22, 2025 09:30
@codecov
Copy link

codecov bot commented May 27, 2025

Codecov Report

❌ Patch coverage is 23.42007% with 206 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.92%. Comparing base (9541911) to head (4388eff).
⚠️ Report is 4 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #1277      +/-   ##
=============================================
- Coverage      71.52%   70.92%   -0.61%     
  Complexity        32       32              
=============================================
  Files            446      453       +7     
  Lines          18514    18778     +264     
  Branches        2964     3050      +86     
=============================================
+ Hits           13242    13318      +76     
- Misses          4161     4333     +172     
- Partials        1111     1127      +16     
Components Coverage Δ
core 63.78% <27.39%> (-1.07%) ⬇️
java.core 72.49% <ø> (ø)
java.bytecode.frontend 79.68% <ø> (ø)
jimple.frontend 74.25% <ø> (ø)
apk.frontend 73.60% <ø> (+0.29%) ⬆️
interceptors 75.82% <0.00%> (-1.27%) ⬇️
callgraph 84.83% <ø> (ø)
codepropertygraph 75.12% <ø> (ø)
analysis.intraprocedural 66.24% <ø> (ø)
analysis.interprocedural 67.66% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sahilagichani14 sahilagichani14 changed the title 794 check for valid modifier combinations 794 check for body validations and class validations Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check for valid modifier combinations

3 participants