This is a migrated thread and some comments may be shown as answers.

Warning wanted - unused methods.

3 Answers 87 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hessner
Top achievements
Rank 2
Hessner asked on 25 Jan 2010, 02:17 PM
Hi,

I can get warnings when unused parameters are found - it would be sweet if the same could be done for unused methods (and classes maybe).

(still looking forward to the StyleCop integration, so "my competing product" can be skipped :-))

Regards
Bo Hessner

3 Answers, 1 is accepted

Sort by
0
Chris
Telerik team
answered on 26 Jan 2010, 09:35 AM
Hello Bo,
JustCode provides warnings for unused private methods too. Providing warnings for unused public / internal / protected methods and classes is on our TODO list, even though it will take some time as we'll need to do some additional global analysis and we'll also need to know which are the "root" projects.

As for the StyleCop integration, unfortunately we won't be ready with it for the Q1 release but we're working on it. In the latest build for example we introduced code ordering as part of the C# formatter which covers one more category of the StyleCop rules.

Greetings,
Chris
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jeff
Top achievements
Rank 1
answered on 17 May 2013, 01:23 PM
Any update on whether JustCode can or will detect and warn about unused public/internal/protected methods?  It would be tremendously useful for our solution.  I couldn't find any work item in the PITS, so if there is, please point me to it.
Thanks!
0
Nikolay Valchev
Telerik team
answered on 17 May 2013, 03:13 PM
Hello Jeff,

I'm sorry for our delay. We have raised the priority of this feature request and we'll implement it in one of our upcoming versions. So expect it from us soon. You can follow our release notes to be informed when the feature is introduced.


Regards,
Nikolay Valchev
the Telerik team
Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
Tags
Code Analysis
Asked by
Hessner
Top achievements
Rank 2
Answers by
Chris
Telerik team
Jeff
Top achievements
Rank 1
Nikolay Valchev
Telerik team
Share this question
or