Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. LOC Counter/PSP?

LOC Counter/PSP?

Scheduled Pinned Locked Moved The Lounge
csharphtmlvisual-studioquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    J Hurrell
    wrote on last edited by
    #1

    Does anyone have a good LOC (line of code) counter for C#? I don't really feel like writing one and it surprises me that IDE makers still don't see fit to include them. By the way, anyone else use PSP[^]? --- John.

    B S 2 Replies Last reply
    0
    • J J Hurrell

      Does anyone have a good LOC (line of code) counter for C#? I don't really feel like writing one and it surprises me that IDE makers still don't see fit to include them. By the way, anyone else use PSP[^]? --- John.

      B Offline
      B Offline
      Brian Delahunty
      wrote on last edited by
      #2

      J Hurrell wrote: By the way, anyone else use PSP[^]? I don't, but there are people here using it.... there is a course here in PSP too. Worth attending it? Regards, Brian Dela :-)

      J 1 Reply Last reply
      0
      • B Brian Delahunty

        J Hurrell wrote: By the way, anyone else use PSP[^]? I don't, but there are people here using it.... there is a course here in PSP too. Worth attending it? Regards, Brian Dela :-)

        J Offline
        J Offline
        J Hurrell
        wrote on last edited by
        #3

        Worth attending it? If it's company-paid, definitely! I went into it kicking and screaming, went through it kicking and screaming, until my data showed that it actually worked. Just to summarize, PSP stands for Personal Software Process and it's a system and set of tools that helps software engineers develop quality code. It does so by encouraging you to use a more formal approach to development. My productivity really improved and my defect rates have dropped dramatically. It's sometimes tedious to use because I just want to jump in and start coding, but I've found that each time I stood back and followed PSP, the quality was better. --- John

        1 Reply Last reply
        0
        • J J Hurrell

          Does anyone have a good LOC (line of code) counter for C#? I don't really feel like writing one and it surprises me that IDE makers still don't see fit to include them. By the way, anyone else use PSP[^]? --- John.

          S Offline
          S Offline
          Stuart Dootson
          wrote on last edited by
          #4

          You could try CCCC[^] - it works with C, C++, Java, so you might get something out for C# as it's kinda sorta like Java (and as it's open source, I'm sure it would be simple enough to graft a C# parser in:~ )....I've used it with C++ & it threw out LOC numbers that kept my manager happy:-D. It also does McCabes Complexity as well if that floats your boat... Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'

          J 1 Reply Last reply
          0
          • S Stuart Dootson

            You could try CCCC[^] - it works with C, C++, Java, so you might get something out for C# as it's kinda sorta like Java (and as it's open source, I'm sure it would be simple enough to graft a C# parser in:~ )....I've used it with C++ & it threw out LOC numbers that kept my manager happy:-D. It also does McCabes Complexity as well if that floats your boat... Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'

            J Offline
            J Offline
            J Hurrell
            wrote on last edited by
            #5

            Ooohhhhh... complexity. I really wasn't looking forward to writing a parser. I would have been too scared and just settled for a physical line counter. Not as pretty, but it would be fast. I may check that tool out. Thanks. --- John

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups