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

Lines of code count

2 Answers 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tomica
Top achievements
Rank 2
Tomica asked on 23 Dec 2013, 01:19 AM

Is there a way to obtain a count of the number of lines of code contained in a project?


This is ASP.NET web-site coded in Visual Basic.



I can get the last line number of the VB code modules, close enough there, but we also have 150 ASPX pages, some quite complex.



If JustCode does not provide a good metric, I'd appreciate pointers to other utilities that might work with VS 2013.

2 Answers, 1 is accepted

Sort by
0
Ivo Bratoev
Telerik team
answered on 26 Dec 2013, 10:01 AM
Hello,

Currently, JustCode does not provide that functionality out of the box. Visual Studio itself has this feature. Here is a blog post describing how to do it in all version of Visual Studio:
http://rionscode.wordpress.com/2013/06/08/line-counting-trickery-within-visual-studio/

Regards,
Ivo Bratoev
Telerik
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.
0
Tomica
Top achievements
Rank 2
answered on 27 Dec 2013, 01:21 AM

Ivo,


Thanks, this looks like a good solution.



The reason for the count is that we have a complex, data-centric application for which we have been systematically removing procedural code in favor of RAD controls, with grids being the most band-for-the-buck.



The client will be happy to have an accurate number, at least 10K reduction in lines of code so far.



Great product, looking forward to Q1 2014 update.

Tags
General Discussions
Asked by
Tomica
Top achievements
Rank 2
Answers by
Ivo Bratoev
Telerik team
Tomica
Top achievements
Rank 2
Share this question
or