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

Clean up #763

Merged
merged 14 commits into from
Apr 10, 2024
Merged

Clean up #763

merged 14 commits into from
Apr 10, 2024

Conversation

seelchen
Copy link
Collaborator

@seelchen seelchen commented Sep 8, 2023

Clean up the code a little bit

…pgBackend class and rename to BaseCpgBackenCommand for consistency
paramInstance is the script instance so it should probably never be an
argument for the primaryConstructor. Furthermore, we check above that
the primaryConstructor does not have any parameters, so it should not be
necessary to use the script instance as a argument.
This reverts commit f2ad444.
In some cases the script instance is needed as an argument for some constructors
@codecov
Copy link

codecov bot commented Sep 11, 2023

Codecov Report

Attention: Patch coverage is 85.71429% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 82.39%. Comparing base (f0eef46) to head (ab2622b).

Files Patch % Lines
...c/codyze/backends/cpg/cli/BaseCpgBackendCommand.kt 0.00% 1 Missing ⚠️
...c/codyze/backends/cpg/cli/CokoCpgBackendCommand.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #763      +/-   ##
============================================
+ Coverage     82.14%   82.39%   +0.24%     
  Complexity      179      179              
============================================
  Files            49       49              
  Lines          1372     1363       -9     
  Branches        189      184       -5     
============================================
- Hits           1127     1123       -4     
  Misses          157      157              
+ Partials         88       83       -5     
Flag Coverage Δ
unittests 82.39% <85.71%> (+0.24%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@fwendland
Copy link
Collaborator

fwendland commented Mar 19, 2024

Some of the changes have been addresses in other PRs. We'll first merge:

Afterwards, we'll take another look at code coverage.

@fwendland fwendland self-assigned this Mar 19, 2024
CodingDepot
CodingDepot previously approved these changes Apr 10, 2024
@fwendland fwendland merged commit 20e8d01 into main Apr 10, 2024
6 checks passed
@fwendland fwendland deleted the clean-up branch April 10, 2024 10:48
fwendland added a commit that referenced this pull request Apr 15, 2024
Co-authored-by: Florian Wendland <[email protected]>
Co-authored-by: Robert Haimerl <[email protected]>
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.

3 participants