Skip to content

feat: Support for ClassInstanceExpr #142

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

Merged
merged 5 commits into from
Sep 26, 2024
Merged

feat: Support for ClassInstanceExpr #142

merged 5 commits into from
Sep 26, 2024

Conversation

shivasurya
Copy link
Owner

This PR adds support for indexing and querying ClassInstanceExpr

Example:

Source:

Socket so = new Socket("www.google.com", 80)

Query:

FROM ClassInstanceExpr AS cie
WHERE cie.getClassName() == "Socket"
SELECT cie, "Insecure Socket connection found"

@shivasurya shivasurya added the enhancement New feature or request label Sep 25, 2024
@shivasurya shivasurya self-assigned this Sep 25, 2024
Copy link

codecov bot commented Sep 25, 2024

Codecov Report

Attention: Patch coverage is 80.21978% with 18 lines in your changes missing coverage. Please review.

Project coverage is 77.74%. Comparing base (e56422a) to head (c03f4b7).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
sourcecode-parser/model/expr.go 23.07% 10 Missing ⚠️
sourcecode-parser/graph/query.go 61.90% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
+ Coverage   76.95%   77.74%   +0.79%     
==========================================
  Files          12       12              
  Lines        1410     1492      +82     
==========================================
+ Hits         1085     1160      +75     
- Misses        289      298       +9     
+ Partials       36       34       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shivasurya shivasurya merged commit 5415090 into main Sep 26, 2024
2 checks passed
@shivasurya shivasurya deleted the shiva/object-instance branch September 26, 2024 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant