Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: code mangler



On Oct 25, 2004, at 3:58 PM, Brad BARCLAY wrote:

I've used some of the features in PMD prior to each of my projects final releases, however as much of what my project provides is an API, I can't really use the ability to get rid of unused code (as if I did, much of the API would be completely obliterated :) ).

You mean every line of your code isn't exercised by some test case somewhere? It should be. PMD is finding problems with your code. They just aren't quite what you thought they were.


(Of course, if your test cases are exercising your code, just make sure PMD sees your test cases too.)

--

  Elliotte Rusty Harold
  email@hidden
  Effective XML (Addison-Wesley, 2003)
  http://www.cafeconleche.org/books/effectivexml
  http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >code mangler (From: Mohsan Khan <email@hidden>)
 >Re: code mangler (From: Bjorn Roche <email@hidden>)
 >Re: code mangler (From: Chris Lininger <email@hidden>)
 >Re: code mangler (From: Dmitry Markman <email@hidden>)
 >Re: code mangler (From: MegaBight <email@hidden>)
 >Re: code mangler (From: Brad BARCLAY <email@hidden>)
 >Re: code mangler (From: Joshua Smith <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.