|
From: Vinod, K. <vi...@de...> - 2000-07-20 06:29:53
|
Firstly let me know if this mail is in HTML format. I have changed my outlook default mail format to text. Now an update on the status of JStandard : Suggestions welcome :-) The parser has been revised. It does not use Visitor's anymore. This has increased the speed and will reduce the size of the plugin as well. The checks currently performed by JStandard are Check for Naming Conventions: 1. Class Names 2. Interface Names 3. Method Names 4. Attribute Names 5. Local Variable Names 6. Final Variable Names 7. Method Parameter Names 8. Label Names Program flow : 9. Every Switch must have a default case 10. Catch blocks must not be empty 11. Finally blocks must not be empty 12. If / While / For statements must have a block 13. If / While / For statements having no body! [ e.g.: for (int i=0;i<6;i++); ] Coding Conventions : 14. No package statement 15. duplicate import's) 16. importing java.lang 17. importing the current package! 18. declaring interfaces Abstract 19. declaring interface methods Abstract 20. Constructors having default access Code Clarity : 21. Multiple Variable declarations in one line 22. Multiple Attribute declarations in one line 23. Usage of ?: operator 24. check for import using .* 25. multiple public classes per source file. All these can be turned on/off thru options, and as suggested JStandard will have its own sub-menu under plugins. I will release the plugin ( binaries+Source ) with all the above features, over this weekend. Do let me know if you have any suggestions. Question : How do we go about putting this on Plugin central and the sourceforge cvs repository ? vinod. |