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

Class analyzer test #105

Merged
merged 2 commits into from
Aug 20, 2021
Merged

Conversation

ABHAY0O7
Copy link
Contributor

Implemented a test for DefaultClassAnalyzer (DCA).
This test will be ensuring the proper functioning of DCA i.e.

  • whether DCA is analyzing (accepting) jars and directories or not.
  • after analyzing DCA is returning the results (classes) successfully.

Also refactored some previous code i.e. moved the test classes and resources to their respective packages.

@codecov
Copy link

codecov bot commented Aug 16, 2021

Codecov Report

Merging #105 (0f2a3bc) into master (3336346) will increase coverage by 3.42%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #105      +/-   ##
============================================
+ Coverage     19.25%   22.67%   +3.42%     
- Complexity       73       83      +10     
============================================
  Files            29       29              
  Lines          1023     1023              
  Branches        137      137              
============================================
+ Hits            197      232      +35     
+ Misses          800      760      -40     
- Partials         26       31       +5     

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3336346...0f2a3bc. Read the comment docs.

This test will aensure that the analyzer is accepting the jar successfully and also after analyzing the jar, the test will ensure that the result has been collected successfully
@tdurieux tdurieux force-pushed the class-analyzer-test branch from 60e6a71 to 0f2a3bc Compare August 20, 2021 09:42
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@tdurieux tdurieux merged commit 063572c into ASSERT-KTH:master Aug 20, 2021
@ABHAY0O7 ABHAY0O7 deleted the class-analyzer-test branch August 20, 2021 15:20
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