开发者

Check SLOC and flag methods over 300 lines long [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

Is there a way I can configure Visual Studio to automatically scan my source code for methods that are over (eg) 300 lines long so that they can be flagged for review (with an aim to refactoring to smaller metho开发者_开发技巧ds)

I expect any such technique may be language independant, but ideally I'd like to run this over C# code.


Why dont you use some code counter tools which you can search in google for. http://www.google.com/search?hl=en&source=hp&q=code+counter+tools&aq=f&aqi=&aql=&oq=&gs_rfai=

Is there anything specific you are looking for. Why stopping with 300. Are you developing some contest where you would like to restrict people from writing more than 300 lines of code. Anyway be more clear so that we can help you.

I use this one and i find it very useful.

http://www.codeproject.com/KB/applications/codecounter.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜