You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the Spezi-based applications contain a decent amount of dead code as students or inexperienced developers forget to remove functions, unused views, and leftover dependencies/import statements.
Solution
We should use a tool that provides a static code analyzer for unused code and ideally integrate this in a PR workflow. For languages like Swift, periphery might be a great solution.
Additional context
It might be great to see/investigate if periphery starts to support SPM/Xcode build plugins as a great way to integrate this right in the build workflow locally as well: peripheryapp/periphery#600
Code of Conduct
I agree to follow this project's Code of Conduct and Contributing Guidelines
The text was updated successfully, but these errors were encountered:
Problem
Some of the Spezi-based applications contain a decent amount of dead code as students or inexperienced developers forget to remove functions, unused views, and leftover dependencies/import statements.
Solution
We should use a tool that provides a static code analyzer for unused code and ideally integrate this in a PR workflow. For languages like Swift, periphery might be a great solution.
Additional context
It might be great to see/investigate if periphery starts to support SPM/Xcode build plugins as a great way to integrate this right in the build workflow locally as well: peripheryapp/periphery#600
Code of Conduct
The text was updated successfully, but these errors were encountered: