alfasoftware / astra

Astra: a Java tool for analysing and refactoring Java source code
Apache License 2.0
68 stars 35 forks source link

62 add test coverage for MethodAnalysis #111

Closed ade3p closed 2 years ago

ade3p commented 2 years ago

Issue #62: Add test coverage for FindMethodInvocationsAnalysis and FindMethodDeclarationsAnalysis

Hi, along with the tests I have made some changes to a couple of files (due to same kept the changes in a draft PR) - please find the reason below:

MatchedMethodResult:

MethodAnalysisResult:

DescribedPredicate:

With these two tests was able to bump the overall coverage to 80.1% PFA the screen captures for individual class coverage.

astra3

astra1

astra2

RadikalJin commented 2 years ago

Excellent stuff, thank you for your contribution to Astra @ade3p. Merging now.