Skip to content

Conversation

@ashik-18
Copy link
Collaborator

@ashik-18 ashik-18 commented Oct 15, 2025

Closes #1086

@codecov
Copy link

codecov bot commented Oct 15, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.59%. Comparing base (b78075c) to head (d27617c).

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #1435      +/-   ##
=============================================
+ Coverage      71.57%   71.59%   +0.01%     
  Complexity        32       32              
=============================================
  Files            446      447       +1     
  Lines          18514    18534      +20     
  Branches        2964     2970       +6     
=============================================
+ Hits           13251    13269      +18     
+ Misses          4150     4148       -2     
- Partials        1113     1117       +4     
Components Coverage Δ
core 64.86% <ø> (+0.01%) ⬆️
java.core 72.49% <ø> (ø)
java.bytecode.frontend 79.68% <ø> (ø)
jimple.frontend 74.25% <ø> (ø)
apk.frontend 73.60% <ø> (ø)
interceptors 77.17% <ø> (ø)
callgraph 84.84% <75.00%> (+<0.01%) ⬆️
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.

Copy link
Collaborator

@swissiety swissiety left a comment

Choose a reason for hiding this comment

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

would be great if we can make the sorting optional / another method / ...

return pos instanceof LinePosition lp ? lp.getLastCol() : Integer.MAX_VALUE;
}

private static Object stmtPositionOf(Call c) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

more precise return type. please move logic into a custom Comparator class

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 added a new method to sort the calls and also had to implement it in OnFlyCallGraph. Some existing methods in OnFlyCallGraph throw UnsupportedOperationException, so I wasn’t sure if sorting is needed, let me know if it should be removed.

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.

[Feature]: Method calls sorted by sequence

2 participants