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:
- 10 minutes to write the base code
- 10 minutes to turn it into an extension
- 1 hour getting the formatting right to share publicly. (CSS is sadly harder then ColdFusion)
Feel free to use it, and improve on it: BuilderStats at RIAForge.

7 response s so far ↓
1 Raymond Camden // Jan 27, 2010 at 12:38 PM
2 cfcoder // Jan 27, 2010 at 1:31 PM
3 Rob Brooks-Bilson // Jan 27, 2010 at 2:16 PM
You can access it via Right Click from folders in the Navigator view.
4 tpryan // Jan 27, 2010 at 2:55 PM
5 cfcoder // Jan 27, 2010 at 4:54 PM
6 dan fredericks // Feb 3, 2010 at 2:10 PM
I am interested in this extension to see how it will work for sure.
thanks for any help.
7 tpryan // Feb 3, 2010 at 5:12 PM
Leave a Comment