Thread: over 1 million lines of code...

  1. #1
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905

    over 1 million lines of code...

    wow, I just found out that i have over 1 million lines of code on my hard drive, lol.

    Code:
    ~~~~~~~~~ total 6138 source file(s) ~~~~~~~~~
    METRIC TOTAL AVG MIN MAX
    Lines 1230290 200 0 9038
    Effective 714344 116 0 2729
    Comment 289679 47 0 8595
    Blank 176256 28 0 627
    Functions 23322 3 0 99
    Class 2576 0 0 26
    Struct 3225 0 0 35
    I'll admit that it's not all unique code, but it's about 98% my code, and quite a bit is reused, but still....that's a lot of code

    My Project folder is also 3 gigs big......insane, I should really back my stuff up again...it's been about 4 months since my last backup :s

  2. #2
    Registered User ventolin's Avatar
    Join Date
    Jan 2004
    Posts
    92
    what program or utility did u use to find this out? im interested in finding out my stats ...

  3. #3
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    c-metrics, very awesome program

  4. #4
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    counting headers, or just stuff you've wrote?
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  5. #5
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    counting cpp/h files. The more accurate count is the effective lines of code, which is 71K.

    -edit-
    oh, i know what you mean

    yes, just stuff i've written. I place all of my projects in a "projects" folder. All of the standard includes and things are in my visual studio folder, elsewhere

  6. #6
    Registered User ventolin's Avatar
    Join Date
    Jan 2004
    Posts
    92
    c-metrics . cool ill take a look, thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Print out first N lines
    By YoYayYo in forum C Programming
    Replies: 1
    Last Post: 02-21-2008, 12:58 AM
  2. Replies: 7
    Last Post: 07-30-2005, 11:28 PM
  3. count only lines of code...
    By flightsimdude in forum C Programming
    Replies: 13
    Last Post: 09-23-2003, 07:08 PM
  4. What do these tow lines of code mean?
    By Gamma in forum C++ Programming
    Replies: 1
    Last Post: 04-25-2002, 04:30 PM
  5. Replies: 4
    Last Post: 01-16-2002, 12:04 AM