1 / 9

J Depend the Java package design analyser

J Depend the Java package design analyser. Table Of Contents. Why use JDepend?. How to install JDepend?. How to use JDepend?. How to understand the output in JDepend?. Sources. Why use JDepend?. JDepend automatically measures:. extensibility. reusability. maintainability.

leliza
Download Presentation

J Depend the Java package design analyser

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JDepend the Java package design analyser

  2. Table Of Contents • Why use JDepend? • How to install JDepend? • How to use JDepend? • How to understand the output in JDepend? • Sources

  3. Why use JDepend? • JDepend automatically measures: • extensibility • reusability • maintainability of a package to manage and control its dependencie effectively

  4. Install JDepend • Download JDepend from • http://andrei.gmxhome.de/jdepend4eclipse/ • Put the downloaded .jar file into the Eclipse plugin directory • Restart Eclipse (only if it is already opened) • Installation complete

  5. 1. press right mouse buttononto the sourcefolder you would like to analyse 2. select „Run JDepend analysis“to start JDepend How to use JDepend?

  6. Shows all subpackages.Select the package youwant to analyse How to use JDepend?

  7. different values appearexplanation on next page shows all packages withcircular dependency shows packages where our selected package isaddicted to shows packages which are addicted to our selected one shows the instability and abstractness of the selectedpackage How to use JDepend?

  8. How to understand the output in JDepend • CC (Concrete Classes): Number of Concrete Classes in package • AC (Abstract Classes): Number of abstract classes and interfaces in package • Ca (Afferent Couplings): Number of packages which are addicted to the selected package • Ce (Efferent Couplings): Number of packages which our selected package is addicted to • A (Abstractness): Number of abstract classes in percent • I (Instability): Shows instability of the package (stable = 0, instable = 1) • D (Distance): The Factor of a good balanced software is about 1 (A+I) • Package Dependeny Cycles: Shows if the package has circular dependencies

  9. Sources • http://www.clarkware.com/software/JDepend.html • http://ebus.informatik.uni-leipzig.de/www/media/lehre/seminar-javatools05/semtools05-selesnjov-text.pdf • This presentation will be available at www.johner.org very soon ;-) Thanks for your attention!!!

More Related