views:

43

answers:

3

hi, do you know if there is any tool which makes structural coverage of java code? did Junit do this ? any links,documenetation which could help me? thanks

A: 

You can try Cobertura.

pugmarx
thanks pugmarx but I'm looking for free tool
From http://cobertura.sourceforge.net/:"Cobertura is a *free* Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage."
pugmarx
+1  A: 

Cobertura or Clover (commercial tool) are dedicated to that kind of task.

Sonar (based on these tools) is a more powerful tool to get quality indicators on your application.

romaintaz
thanks, but I'm searching free tool to download and use with junit tests
thanks but I'm searching free tool to use with junit tests
A: 

See SD Test Coverage for a tool that can do this in extremely large systems with very low overhead.

Ira Baxter
thanks Ira, but I'm looking for free tool
If you wanted a free tool, you should have said sosay so.
Ira Baxter