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

remove dead utility code #6717

Merged
merged 1 commit into from Aug 26, 2022
Merged

remove dead utility code #6717

merged 1 commit into from Aug 26, 2022

Conversation

thrau
Copy link
Member

@thrau thrau commented Aug 21, 2022

This PR removes dead utility code. I went through the coverage report and identified code that was not covered. I then searched for usage in localstack and localstack-ext. I also removed some code that was just covered by tests but was never used elsewhere.

@thrau thrau temporarily deployed to localstack-ext-tests August 21, 2022 17:42 Inactive
@thrau thrau temporarily deployed to localstack-ext-tests August 21, 2022 17:54 Inactive
@github-actions
Copy link

github-actions bot commented Aug 21, 2022

LocalStack integration with Pro

       3 files  ±0         3 suites  ±0   1h 24m 52s ⏱️ + 9m 43s
1 232 tests ±0  1 191 ✔️ ±0  41 💤 ±0  0 ±0 
1 655 runs  ±0  1 583 ✔️ ±0  72 💤 ±0  0 ±0 

Results for commit c1087f7. ± Comparison against base commit 2a9be8c.

♻️ This comment has been updated with latest results.

@thrau thrau temporarily deployed to localstack-ext-tests August 23, 2022 14:29 Inactive
@thrau thrau marked this pull request as ready for review August 23, 2022 15:07
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 91.573% when pulling c1087f7 on remove-dead-code into 2a9be8c on master.

@thrau thrau requested review from alexrashed and removed request for dominikschubert August 26, 2022 07:25
Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

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

Awesome! Code removals are the best! 🧹
It also shows how well our testing ethic works, since non-covered code is most likely dead code. 🔝

@thrau
Copy link
Member Author

thrau commented Aug 26, 2022

thanks for the quick review @alexrashed

@thrau thrau merged commit 91b1f5c into master Aug 26, 2022
@thrau thrau deleted the remove-dead-code branch August 26, 2022 07:53
macnev2013 pushed a commit to macnev2013/localstack that referenced this pull request Sep 4, 2022
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.

None yet

3 participants