Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

Source code analyzer tools for J2SE / J2EE code base

Thread view: 
Manfred Schneider - 04 Dec 2005 15:41 GMT
Hi,

I would like to analyze the source code of a larger Java / J2EE projects
repeatedly (every 4 weeks). Therefore I am looking for adequate tools
(commercial or open source) which offer following functionalities:

(1) Good visualization of Java packages, classes, interfaces, optionally
   with attributes and methods.

   Especially I am looking for tools which are really able to generate
   readable and comprehensible visualizations for e.g. 30-50 Java
   packages and 300-500 classes or interfaces.

   A meaningful and really usable visualization printout should be
   offered by the tools.

(2) Determination of dependency graphs for Java packages, classes
   and interfaces. My objective is to repeatedly determine and check
   the layering of the software during the complete project.

   The visualization should be offered in table formas well as
   graph form. Tables should show incoming/outgoing dependencies.
   Graphs should have a good layout and should show a clear direction
   (e.g. top to bottom or left to right).

   A meaningful and really usable dependencies printout should also be
   offered by the tools.

(3) Determination of simple metrics, like LOC (with or without
   comments), number of packages, classes, interfaces, attributes,
   methods, etc.

(4) Comparison of such metric evaluations over time (e.g. when the
   tools measure the metrics each 4 weeks).

(5) Automation of the visualizations and determinations of the metrics
   by scripting, program generation, etc.

   Objective is to evaluate the code base each 4 weeks repeatedly
   with minimal manual work.

What tools would you recommend for these required functionalities?

Thanks for your help.

Kind regards,

Manfred
andreaz - 05 Dec 2005 16:21 GMT
Check the MagicDrawUML 10 Enterprise edition.
Neeraj - 05 Dec 2005 22:43 GMT
Manfred,

Please check out Lattix LDM. It is designed for dependency analysis.
Features include:

1. It will let you visualize large systems. You can visualize and
understand systems containing tens of thousands of classes. The
representation is matrix based and uses hierarchy and ordering. In
order to read about this new approach you can read our paper on it
(from OOPSLA 2005) at
http://sdg.lcs.mit.edu/pubs/2005/oopsla05-dsm.pdf. You can also read
about it from our web site at
http://www.lattix.com/technology/whatisdsm.htm.

2. A variety of architectural patterns, including layering, can be
specified in a very succinct manner. You can then enforce these
patterns by doing updates at any time - every month, every week, every
build or prior to every checkin. In other words, round trip engineering
is effortless and automatic.

3. It generates a variety of architectural metrics which can then be
exported to excel for graphing purposes.

The net result is that architectural creep is prevented and
architectural evolution becomes explicit.

Neeraj Sangal
Lattix, Inc.
http://www.lattix.com
chedgers - 06 Dec 2005 12:57 GMT
Structure101 has pretty much everything you're looking for. Really nice
dependency graphs at any level (method, class, package, jar) that you
can export as jpg to include in docs or print.  It also does
"autopartitioning" to make unreadable graphs more readable. Plus a nice
simple, customizable metrics perspective.  You can download a beta for
free here:

http://www.headwaysoftware.com/downloads/beta.htm

(Check out the online demos first to see if it's really what you want).

Chris.

> Hi,
>
[quoted text clipped - 44 lines]
>
> Manfred
Cos - 14 Dec 2005 23:45 GMT
Hi.

Did you have a look at latest Java Studio Enterprise from Sun? They
have a round-trip application development process, i.e. from UML to
code and back. Sun gives these applications for free nowadays. Check
this out here: http://developers.sun.com/prodtech/javatools/free/

--
WBR,
 Cos
iamfractal@hotmail.com - 15 Dec 2005 08:53 GMT
Manfred Schneider skrev:

> Hi,
>
> I would like to analyze the source code of a larger Java / J2EE projects
> repeatedly (every 4 weeks). Therefore I am looking for adequate tools
> (commercial or open source) which offer following functionalities:

Hej!

Fractality satisfies (barely) just two of your requirements, but what
the heck - at least it's free. (Scripting and LOC-analysis is coming in
January, so that'll be another two requirements down.)

Here's the download page, which also sports some graphical output, so
you can see how it handles, "Large," projects:

www.EdmundKirwan.com/servlet/fractal/frac-page130.html

.ed

--
www.EdmundKirwan.com - Home of The Fractal Class Composition.
Manfred Schneider - 17 Dec 2005 12:39 GMT
Hi,

thanks for all your hints :-)

Regards, Manfred

> Hi,
>
[quoted text clipped - 44 lines]
>
> Manfred


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.