Tuesday, July 01, 2008 1:01:13 AM (GMT Standard Time, UTC+00:00)

I am really tired, as I mentioned previously I used this weekend's train journeys to start on the code that would allow external websites to embed data in a user's page (ala FB). This of course means creating some sort of auth system so those external websites are allowed access to the user's data (done), adding the application node to the snippet schema (done), creating a schema and a transform for the xml that the external website would pass back to Scrobbles for embedding (done), adding the database support for caching the results of these requests (done), writing the code to actually make those requests when pages are being generated (done).
Still left to do is adding support to the layout transform for actually embedding this data into the final page, but that can wait until tomorrow because having done most of the above just now I am truely knackered.

I got bored an hour ago and decided to see how much code I've got under the Scrobbles namespace after just under a year's development in my spare time. I started at the end of August, just after I stopped playing World of Warcraft. So.. close enough. 11 months development if I'm being kind to myself.

In total, I have:

  • 723KB of VB across 258 files
  • 164KB of C# across 39 files

This is of course filtering out the Visual Studio generated .designer files and etc, as they're rather large, and I didn't write them.

Of these, the following totals were calculated using SlickEdit.

  • 19,000 lines of text
    • 11,000 lines of code        (58%)
    • 2500 lines of comments    (14%)
    • 5500 lines of whitespace  (30%)


It's not actually too bad, of course on top of that I have a couple of thousand lines of javascript written, a thousand lines or so of hand-written XML Schemas and another thousand lines of hand-written XML transform file.

Calculating it, it's very roughly 50 lines a day, every single day with no break. Sadly I spend entire weeks not writing code, but it does mean I'm quite pleased with this average.

Drawing on those seemingly pointless software engineering lectures, (This project counts as being organic right?)

  • E = 2.4 * (11)^1.05 = 29.762
  • D = 2.5 * (E)^0.38 = 9 months
  • P = 3

Obviously this is entirely meaningless, as COCOMO is a rather outdated and worthless calculation used against these modern languages which can practically write themselves, but it's still quite nice to see that I've managed to maintain some semblance of productivity this past year. Come on release!



Tuesday, July 01, 2008 11:10:02 AM (GMT Standard Time, UTC+00:00)
If nothing else I guess those stats are motivating...
Paul Evans
Tuesday, July 01, 2008 12:56:22 PM (GMT Standard Time, UTC+00:00)
Quite, I often find standing back to get some perpective of where a project has gotten up to gives me the impetus to push through the final straights.

It's hard to motivate yourself to "tie up loose ends" when you're close to the end of a project and you're the only one working on it.
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):