Monday, January 10, 2011

TPTP and Static Code review Tools for eclipse


In software development process code review is overhead because it may be emanated from coders' low skill level , vague requirement , introduction of new to technology , bad old code , bad processes .Often the onus of code reviews comes on shoulder of team lead.There are two of code reviews like manual - peer review, external code review etc and automated / static code review .

Static code review can ensure good coding practices like style , indentation , unused methods , unused variables recursive calls etc .Too much rely on it may cause to ignore pitfalls due to thread safety , memory leakage , inefficient loops etc .

As there are many free plug-ins we can rely on them so that coders comply for usual Java rules .But too much automation always leads to problem like ignoring serious flaws in code - design pattern ,concurrent modification etc as mentioned .

Commit in memory that automation of every thing is always bad , for example street collapsed due to automation freak managers who contributed to automatic artificial intelligence for trading went wrong badly spiraling in utter disaster .

So automated code review is just to ensure good practices in JAVA it can not become replacement for manual code review .

Ultimately coding is art and if coder is not good at it , then automated tool can not do anything for serious errors in design patterns , memory leakage etc .



NOTE : If you are in firewall enabled network don't forget proxy setting for that

Windows >> General >> Network Connection >> fill the setting , give login password as required in the network

For installing plugin through update manger .


Help >> Install New Software .. >> click on "Add" >> Copy paste the URL given in following table >> next things are intuitive

Must have eclipse(helios plugin ) plugins


Feature

Description

Reference Site


Eclipse Update Site

Find Bug

Static code analysis

http://andrei.gmxhome.de/findbugs/index.html


http://findbugs.cs.umd.edu/eclipse

PMD

Programming Mistake Detector

http://pmd.sourceforge.net/integrations.html


http://pmd.sf.net/eclipse

Check Style

Coding standard analysis

http://checkstyle.sourceforge.net/


http://eclipse-cs.sourceforge.net/update/

ReviewClipse

Making comment for code review

http://www.inso.tuwien.ac.at/projects/reviewclipse/installation/


http://www.inso.tuwien.ac.at/projects/reviewclipse/update-site

Jdepend

Package dependency analysis

http://www.clarkware.com/software/JDepend.html


http://andrei.gmxhome.de/eclipse/

Metrics

Code Complexity monitoring

http://metrics.sourceforge.net/


http://metrics.sourceforge.net/update

Memory Analsysis

Performance analysis
Memory leakage , time execution analysis etc.

http://www.eclipse.org/tptp/


Eclipse Helios >>Help > Install New Software >> Test and Performance >>TPTP update


courtesy : NILESH SALPE

No comments: