Looking for additional checks
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, We want to include the following checks in CheckStyle;- a. in String equals check, the constant should be on LHS. If both are variables then the LHS variable should have a null check b. size/length calculation of Collections should be done outside loops c. there should not be commented out code in java files I have gone through the documentation on "how to write customized checks" but could not figure how out the above three. Also, is it possible to detect unused imports, excessive logic etc. in JSP through CheckStyle. Any help would be greatly appreciated. Thanks, Arindam This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user