Wednesday, September 13, 2006
Hi, my humble proposal for today is a tool that integrates quality assurance tools such as Checkstyle, or PMD in a JBoss deployment engine. A quality assurance step should generally be a part of a wel defined release process and integrated in Ant or Maven building facilities. Life is normally harder than this and barbarian hordes might easily cross those fences, so we need another defense line before "the application that barely compiles" can make it to production.

The main idea is to have JBoss refuse to deploy applications which don't meet certain quality standards. To make it more effective we absolutely need to include a sarcastic engine for log messages, such as
  • "Do you really think I am gonna run this crap here?"
  • "Hey, who is the dork that created 15.000 String instances in a loop?"
  • "Hoo, hoo! ...and who do you think is going to catch these exceptions? Fix the damn code (you know where, no way I am telling you...) and come back when you're done!"
  • "Go to the whiteboard and write 100 times: I will never ever deploy a 20.000 lines class"
A more powerful version of the tool should track versioning too.
  • "Hmmm, still here... fourth version in four days... I guess you are getting some from the users, aren't you?"
  • "Here we go again, maybe this one is the time you can get close to fix bug 344, or maybe not."
  • "Come on, this time you can make it, yes, getting close to it.... No! Missing a library (as always)... Loser"
posted by Alberto Brandolini at 5:56 AM | 1 comments