Code coverage measures how many code was used by tests. NBM projects in NetBeans CVS contains coverage ant target in project builds script. It generates html report. For example it can be executed from command line.
cd nbcvs/your_module ant coverage
For other types of NBM project can be used Experimetal Project Extension module from nbxdoclet project. Some details about this feature are described here.