Skip to content
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

Add analyses from jacodb #222

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Add analyses from jacodb #222

merged 1 commit into from
Dec 9, 2024

Conversation

Lipen
Copy link
Member

@Lipen Lipen commented Dec 9, 2024

This PR transfers some dataflow analyses (namely, NullAssumptionAnalysis and ReachingDefinitionsAnalysis) from jacodb-analysis module (see https://github.com/UnitTestBot/jacodb/tree/5068453f689cfd789cad149c12c7fa03d36df353/jacodb-analysis/src/main/kotlin/org/jacodb/analysis/impl/custom), which is about to be completely removed from JacoDB (see UnitTestBot/jacodb#280).

Note that tests for ReachingDefinitionsAnalysis were absent in the jacodb, so we they absent here as well. The tests for NullAssumptionAnalysis were dependent on some test infrastructure (BaseTest from jacodb-core/testFixtures), which was replaced by the existing BaseAnalysisTest.

@Lipen Lipen requested a review from Saloed December 9, 2024 10:05
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

detekt found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@Lipen Lipen merged commit 6d904a6 into main Dec 9, 2024
2 checks passed
@Lipen Lipen deleted the lipen/transfer-jacodb-analyses branch December 9, 2024 11:48
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.

2 participants