Lines of code count

3 posts, 0 answers
  1. Tomica
    Tomica avatar
    147 posts
    Member since:
    Apr 2008

    Posted 22 Dec 2013 Link to this post

    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. Ivo Bratoev
    Admin
    Ivo Bratoev avatar
    107 posts

    Posted 26 Dec 2013 Link to this post

    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.
  3. DevCraft banner
  4. Tomica
    Tomica avatar
    147 posts
    Member since:
    Apr 2008

    Posted 26 Dec 2013 Link to this post

    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.

Back to Top