TerrenceRyan.com

I'm a 35 year old redhead geek from Philly.
I'm currently a Developer Evangelist for Adobe.
Also the author of Driving Technical Change

Builder Stats

7 Comments

You may have seen my previous posts about Apptacular. I'm getting pretty far along in it, and I wanted to figure out how many lines of code I had written, you know, for my only curiosity's sake. There's no easy way of doing this, but I figured that this was the perfect excuse to build another extension.

So basically I wrote an extension that will count every nonblank line in every file in a targeted folder. It then groups those line counts by folder, extension, and then just all files.

This extension isn't going to change anyone's life. But it's a great example of the fact that ColdFusion Builder extensions remove barriers to entry for this sort of thing. If I had to drop to Java to extend this in Eclipse I would have never done it - too much work for too little reward. But with ColdFusion Builder extensions in ColdFusion there's very little cost to indulging in this sort of experiment:

Feel free to use it, and improve on it: BuilderStats at RIAForge.

7 responses so far ↓

  • 1 Raymond Camden

    Thanks for sharing this! I ran it on BlogCFC- which "only" has 47,092 lines of code. :)
  • 2 cfcoder

    ...I’m probably horrendously slow, but: how do one use this extension, after installing it, can’t seem to find "builder stats" anywhere in any menus og contextual menus (except in the Extensions View)...
  • 3 Rob Brooks-Bilson

    cfcoder,

    You can access it via Right Click from folders in the Navigator view.
  • 4 tpryan

    Thanks, Rob, that is correct.
  • 5 cfcoder

    yeah, that’s what I thought, but it just isn’t there. probably done something wrong while installing.
  • 6 dan fredericks

    I have trouble with this extension as well. I installed it to my local cf9 developers edition in the wwwroot folder. Then I tried to run it on some code I have in the wwwroot folder. I just get Navigation to the webpage was canceled display in my popup display.
    I am interested in this extension to see how it will work for sure.

    thanks for any help.
  • 7 tpryan

    Alright, so it appears that the problem was I am pretty stupid. I think I fixed the issue. Please give it another download.

Leave a Comment









Categories

Monthly Archives

Tag Cloud

coldfusion web development flex coldfusion builder appearances squidhead coldfusion builder extensions higher ed flash builder air mobile android adobe apptacular html5 driving technical change running a coldfusion shop adobemax06 movable type flash catalyst flash blackberry adobemax07 adobemax08 hero finicky css adobemax09 holy crap i’m a mobile developer centaur basecamp cfc unfuddle motorola metablog irrational characters ios git evangelism devices code reviews ant wharton subversion security phonegap philly philadelphia multidevice knowledge@wharton jobs browserlab adobemax10 adobe tv unfuddlecfc svnauth.cfc semantic html semantic html responsive web design qnx nlb linux jquery mobile java it github flexorg fireworks edge eclipse dreamweaver apps apple adobemax11