Re: Code Coverage
Re: Code Coverage
- Subject: Re: Code Coverage
- From: Alan Ward <email@hidden>
- Date: Mon, 13 Jun 2005 09:52:20 -0700
Yeah... but!.... don't forget that KeyValueCoding will add a new
wrinkle to this.
It's kinda tough for code coverage tools to recognize that
component.takeValueForKey(foo, "bar");
is really the same as
component.setBar(foo);
Just keep that in mind. Lot's of your code may be in frequent use
but doesn't
appear to be referenced by any other code.
It's even better when you've got
component.takeValueForKey(foo, bar);
(i.e. the key is non-literal) as there's no way for static analysis
to determine the resulting call.
Alan
On Jun 13, 2005, at 9:26 AM, Sacha Mallais wrote:
On Jun 12, 2005, at 10:45 PM, Michael Holtermann wrote:
I've got another question: Is there someting like a code coverage
tool
available for webobjects?
Use any code coverage tool for Java. Google'ing "java code
coverage" gives this link:
http://emma.sourceforge.net/
I mean, how to find the methods and variables that will be never
used?
This is not code coverage. The Eclipse compiler flags these kind
of things automatically (well, variables, not methods...). I
assume that xCode can too, though I don't know for sure.
sacha
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden