Hi, I’ve been writing quite some code for a project I’m working on and I’m noticing that there is quite some legacy code piling up. In particular, there are some functions that I’ve implemented at some point but that, due to changes to my project structure, are not being used anymore. Is there a way to visualise what functions are not getting used? E.g. by automatically computing some Hasse diagram for the relationship “function f calls function g”? It is fine for me if the tool is a bit conservative, I just want to quickly see if there are some functions that I can (probably) delete easily.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How could I analyze my package code to find rarely used or unused functions? | 0 | 242 | August 8, 2021 | |
How's the progress in garbage-collecting unused functions? | 5 | 415 | June 27, 2024 | |
Tool to tell if a package has unused dependencies or using unused packages | 11 | 4035 | September 10, 2020 | |
Identify function arguments that have been used | 2 | 328 | August 23, 2019 | |
Is there a way to easily identify useless import, export and using statements | 6 | 586 | September 22, 2022 |