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
In #49 we removed an unused method which was breaking the build. Surely there are are other unused methods in the code. We should find them and remove them.
The hard way to do this is:
Add private for all methods of every class
Build the code, and remove private for every method until it builds
Comment out every private method
Build the code, and un-comment every private method actually used until it builds
Delete the remaining commented-out private methods
An easier way would be to find a static analysis tool to do this. Maybe:
In #49 we removed an unused method which was breaking the build. Surely there are are other unused methods in the code. We should find them and remove them.
The hard way to do this is:
private
for all methods of every classprivate
for every method until it buildsprivate
methodprivate
method actually used until it buildsprivate
methodsAn easier way would be to find a static analysis tool to do this. Maybe:
https://github.com/caolanm/callcatcher
There may be other options.
The text was updated successfully, but these errors were encountered: