Skip to content

Java: Exclude source-to-source flow in 5 queries. #13754

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 1 commit into from
Jul 18, 2023

Conversation

aschackmull
Copy link
Contributor

In certain projects there can be a lot of source-to-source flow, which can cause a cartesian explosion in the number of results for queries that already tends to have many results for such projects. A recent QA run identified these 5 queries to be the worst offenders in this regard.

Should fix https://github.com/github/codeql-java-team/issues/325

@aschackmull aschackmull added the no-change-note-required This PR does not need a change note label Jul 17, 2023
@aschackmull aschackmull requested a review from a team as a code owner July 17, 2023 07:10
@github-actions github-actions bot added the Java label Jul 17, 2023
Copy link
Contributor

@atorralba atorralba left a comment

Choose a reason for hiding this comment

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

LGTM (assuming this is enough to fix the regression)

@aschackmull
Copy link
Contributor Author

LGTM (assuming this is enough to fix the regression)

I think it mostly will be. This definitely cuts drastically down on the number of results, so it's going to help a lot. How the end-to-end time for path calculation for the entire query suite is going to look after this, I don't know though.

@aschackmull aschackmull merged commit e723661 into github:main Jul 18, 2023
@aschackmull aschackmull deleted the java/remotesource-inbarrier branch July 18, 2023 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants