Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Many of you have probably heard of SLOCCount, a tool used to count the number of source lines of code (SLOC) in a programming project. In addition, it translates this number to "the cost of development by conventional proprietary means," which I sometimes use to motivate me (I have never been paid explicitly to code). You may have even seen some popular measurements:

  • Redhat 7.1 in June 2001: 30 million SLOC and $1.08 billion
  • Debian 2.2 in October 2001: 55 million SLOC and $1.6 billion
  • Mozilla in October 2001: 2 million SLOC and $190 million or so
  • CPAN in July 2004: 15.4 million SLOC and $667 million
  • Linux 2.6 (kernel only) in October 2004: 4.2 million SLOC and somewhere between $176 to 612 million

How big is your largest personal project in SLOC? And what, to you, does SLOC mean? Is it, like XP, just a number? Is it possible to compare the numbers of CPAN and those for, say, Mozilla? I would also appreciate any comments from people actually in industry: have you or your managers ever used SLOCCount? Does it do a good job? Is it at least an appropriate tool for comparing project size (or does "compile time" work equally well)? Thanks in advance.


In reply to Source lines of code (SLOC) -- meaningful number? by kaif

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found