Feature request: detect functions that could be made private
Closed this issue · 4 comments
marcandre commented
Great project, thank you!
Do you think it would be possible to detect functions that are used, but only within it's own module and could thus be made private?
hauleth commented
Technically it should be possible. I can look into this, as with all data we have I should be able to extract that data. The main problem I see is that some functions are meant to be public and used only by the current module (for example telemetry
handlers or report_cb
functions). So I would need to think how to make it work in most reasonable way.
marcandre commented
Oh wow, that was quick! I haven't even gone through our unused functions yet 😅
hauleth commented
It got merged and scheduled for 0.4.0