Checking code coverage

Well, only writing unit tests is not enough – you still need to know how muchof the code your tests test. This is why a code coverage tool is great.

Clover is one of the tols used to compute code coverage and is now updating to a 2.0. The beta is on the site and it seems to add some interesting features:

  • dril down in the test suite to see what statements each code provides
  • Per-method coverage statistics
  • Complexity statistics
  • Simplified Ant Tasks
  • Integrated historical reporting
  • Aggregate package statistics
  • Configurable report columns, column formats and column thresholds
  • Improved runtime coverage recording performance
  • New runtime configuration options to control coverage recording
Advertisements

Beautify your PC

For all of you that got bored of the default background images or the plain color, check out this site (via Micro Persuasion).  It has some nifty pictures you can use – some lower quality images which you can download directly, and higher quality images that are available for registered users. Give’em a spin.

G did it again

Fortune magazine published the list of the best 100 companies to work for. And this year Google was eligible too (it exists for 7 years already). And, in googlish style, it jumped straight to number 1. So it must be a really darn cool place to work for. Check out the entire list here.

Unfortunately the company I work for – Adobe – went down a few places this year, hitting only 31. Check out the entire list here.

Giveaway software

Today I stumbled into an applied example of an old marketing principle: give something out for free for a while, hook users onto it and then, if they want it they will pay for it. You would think that applied to software it means demos and trials. So did I until today when I stumbled [via Lifehacker] upon the Giveaway of the day site. On this site you get one free program each day – they get to choose it though. And when I mean free I mean you get a software with a valid license, for which you would otherwise have to pay money. What’s the catch? Here it goes:

  1. You must download and INSTALL the very same day you see the software. Once the day passes the activation doesn’t work and you’re stuck with trial software.
  2. You cannot reinstall the software, even if your PC dies a very horrible (and sad) death. This means that if you get addicted to one of these programs and want to use it after Windows died you will have to buy it.

Until now the site has featured mostly low-cost software and games, but you might find a small app that just does the trick for you. So their RSS feed will get a place in my reader so that I can check for interesting apps to download.