{"id":178,"date":"2006-07-21T15:31:58","date_gmt":"2006-07-21T20:31:58","guid":{"rendered":"http:\/\/studorgs.bowdoin.edu\/robocup\/?p=178"},"modified":"2006-07-21T15:31:58","modified_gmt":"2006-07-21T20:31:58","slug":"our-sloc-readings-are-high","status":"publish","type":"post","link":"https:\/\/research.bowdoin.edu\/robocup\/asides\/our-sloc-readings-are-high\/","title":{"rendered":"Our SLOC readings are high&#8230;"},"content":{"rendered":"<p>What is <a href=\"http:\/\/en.wikipedia.org\/wiki\/Source_lines_of_code\">SLOC<\/a>? It means <strong>S<\/strong>ource <strong>L<\/strong>ines <strong>o<\/strong>f <strong>C<\/strong>ode&#8211;and we&#8217;ve generated a lot of them. So we ran this\u00c2\u00a0 program called <a href=\"http:\/\/www.dwheeler.com\/sloccount\/\">sloccount<\/a> on our bulky our entirely fresh, brand-spanking new code base as of last fall.\u00c2\u00a0 It came up with some interesting numbers:<br \/>\nTotal Physical Source Lines of Code (SLOC)                = <strong>33,716 <\/strong>&#8211;Ed.: 10,000 of this is Python 2.3 source code (and not ours)<br \/>\nDevelopment Effort Estimate, Person-Years (Person-Months) = <strong>8.04<\/strong> (96.48)<br \/>\nSchedule Estimate, Years (Months)                         = <strong>1.18<\/strong> (14.19)<br \/>\nEstimated Average Number of Developers (Effort\/Schedule)  = <strong>6.80<\/strong><br \/>\nTotal Estimated Cost to Develop                           = <strong>$ 1,086,099<\/strong> (average salary = $56,286\/year).<\/p>\n<p>I can only conclude that I have been vastly underpaid over the last year.<\/p>\n<p>Here&#8217;s how it broke down in terms of languages:<\/p>\n<p>cpp:\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 <strong>16838<\/strong> (49.94%)<br \/>\npython:\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 <strong>10995<\/strong> (32.61%)<br \/>\nansic:\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 <strong>5421<\/strong> (16.08%)<br \/>\nsh:\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 <strong>462<\/strong> (1.37%)<\/p>\n<p>So overall we&#8217;ve done quite a lot of work.\u00c2\u00a0 Roll, nBites!<\/p>\n<p>*generated using David A. Wheeler&#8217;s &#8216;SLOCCount&#8217;.*<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is SLOC? It means Source Lines of Code&#8211;and we&#8217;ve generated a lot of them. So we ran this\u00c2\u00a0 program called sloccount on our bulky our entirely fresh, brand-spanking new code base as of last fall.\u00c2\u00a0 It came up with some interesting numbers: Total Physical Source Lines of Code (SLOC) = 33,716 &#8211;Ed.: 10,000 of [&hellip;]<\/p>\n","protected":false},"author":56,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,14,53,67],"tags":[],"class_list":["post-178","post","type-post","status-publish","format-standard","hentry","category-asides","category-dev","category-robocup","category-team"],"_links":{"self":[{"href":"https:\/\/research.bowdoin.edu\/robocup\/wp-json\/wp\/v2\/posts\/178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/research.bowdoin.edu\/robocup\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/research.bowdoin.edu\/robocup\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/research.bowdoin.edu\/robocup\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/research.bowdoin.edu\/robocup\/wp-json\/wp\/v2\/comments?post=178"}],"version-history":[{"count":0,"href":"https:\/\/research.bowdoin.edu\/robocup\/wp-json\/wp\/v2\/posts\/178\/revisions"}],"wp:attachment":[{"href":"https:\/\/research.bowdoin.edu\/robocup\/wp-json\/wp\/v2\/media?parent=178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/research.bowdoin.edu\/robocup\/wp-json\/wp\/v2\/categories?post=178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/research.bowdoin.edu\/robocup\/wp-json\/wp\/v2\/tags?post=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}