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

Check for unused code #9

Open
karlb opened this issue Jul 28, 2022 · 1 comment
Open

Check for unused code #9

karlb opened this issue Jul 28, 2022 · 1 comment

Comments

@karlb
Copy link
Contributor

karlb commented Jul 28, 2022

The three dependent projects are

Remove code in raiden-common which is used by none of these.

@karlb karlb mentioned this issue Jul 28, 2022
@karlb
Copy link
Contributor Author

karlb commented Aug 11, 2022

Some code to make it easier to see what is actually used in the dependent projects:

#!/bin/sh
findimports -n ~/raiden-services/src | grep '^  raiden_common[.]' | sort -u > services.imports
findimports -n ~/scenario-player/scenario_player | grep '^  raiden_common[.]' | sort -u > sp.imports
findimports -n ~/explorer/backend/metrics_backend | grep '^  raiden_common[.]' | sort -u > explorer.imports
cat *.imports | sort | uniq > all.txt

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

No branches or pull requests

1 participant