UML diagram...

Both Borland Jbuilder and Oracle Jdeveloper allow to generate simple UML diagram from the set of the java files. This helps a lot for documentation and some code review. Would it be possible to add this feature to the IDE. I?m not talking about UML design in the way that Rational or Together has it, just simple UML snapshot of the java code, no reverse engendering or anything like that.

0
12 comments

Are you using it successfully on Aurora 818?

"Duane Moore" <jiveadmin@jetbrains.com> wrote in message
news:29778851.1054755780862.JavaMail.jrun@is.intellij.net...

Try the simpleUML plugin:

http://www.intellij.org/twiki/bin/view/Main/SimpleUML


0
Avatar
charles decroes

I wonder if we could add runtime sequence diagrams. It would be cool to mark a spot in the code and say "go 5 method calls deep" and have the plugin generate a sequence diagram. I know of no tool anywhere that can do this. If anyone knows of one please post it

0
Avatar
Jens Peter Grosen

I wonder if we could add runtime sequence diagrams.
It would be cool to mark a spot in the code and say
"go 5 method calls deep" and have the plugin
generate a sequence diagram. I know of no tool
anywhere that can do this. If anyone knows of one
please post it


Together/J can generate sequence diagrams from Java code.

Sincerely

Jens Peter Grosen

0

Apparently they are working on it
(http://www.zanthan.com/itymbi/archives/000596.html)
You can also try
http://www.logicexplorers.com/products/codelogic/details.html

Jacques
"charles decroes" <spam@decroes.com> wrote in message
news:20408668.1054764114392.JavaMail.jrun@is.intellij.net...

I wonder if we could add runtime sequence diagrams. It would be cool to

mark a spot in the code and say "go 5 method calls deep" and have the plugin
generate a sequence diagram. I know of no tool anywhere that can do this.
If anyone knows of one please post it


0

Has anyone tried the Logic Explorers' Code Logic integration with IntelliJ?


"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:bbma6h$2e9$1@is.intellij.net...

Apparently they are working on it
(http://www.zanthan.com/itymbi/archives/000596.html)
You can also try
http://www.logicexplorers.com/products/codelogic/details.html

>

Jacques
"charles decroes" <spam@decroes.com> wrote in message
news:20408668.1054764114392.JavaMail.jrun@is.intellij.net...

I wonder if we could add runtime sequence diagrams. It would be cool to

mark a spot in the code and say "go 5 method calls deep" and have the

plugin

generate a sequence diagram. I know of no tool anywhere that can do this.
If anyone knows of one please post it

>
>


0

I can Oracle Jdeveloper at least it is free:-)

0
Avatar
parthiban subramaniam

yes i have integrated codelogic with idea,
works like a charm even thought its slow .. in my point of view it?s worth it if you are specifically looking for some thing like code logic to analyse some one else or your own code to debug or to document

but it?s not free :(

cheers,
Parthi.


0

parthiban wrote:

yes i have integrated codelogic with idea,
works like a charm even thought its slow .. in my point of view it?s worth it if you are specifically looking for some thing like code logic to analyse some one else or your own code to debug or to document

but it?s not free :(

cheers,
Parthi.



I've tried it and even though it worked it was incredible slow. I had to
drop it.

/kesh

0

I gave this a try on a large project (+1000 files, +1300 classes).

When I started up Code Logic from inside IntelliJ, IntelliJ was using 60
megs.
Code Logic froze IntelliJ when it exceeded the 256 MB max that I had set.
I bumped up IntelliJ's max to 512 and tried again. This time code logic took
IntelliJ up to 381 MB and then just died.

I have uninstalled Code Logic.

Ted Hill


"Ted Hill" <thill@tomotherapy.com> wrote in message
news:bbnf6m$890$1@is.intellij.net...

Has anyone tried the Logic Explorers' Code Logic integration with

IntelliJ?
>
>

"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:bbma6h$2e9$1@is.intellij.net...

Apparently they are working on it
(http://www.zanthan.com/itymbi/archives/000596.html)
You can also try
http://www.logicexplorers.com/products/codelogic/details.html

>

Jacques
"charles decroes" <spam@decroes.com> wrote in message
news:20408668.1054764114392.JavaMail.jrun@is.intellij.net...

I wonder if we could add runtime sequence diagrams. It would be cool

to

mark a spot in the code and say "go 5 method calls deep" and have the

plugin

generate a sequence diagram. I know of no tool anywhere that can do

this.

If anyone knows of one please post it

>
>

>
>


0

I wonder if we could add runtime sequence

diagrams.

It would be cool to mark a spot in the code and

say

"go 5 method calls deep" and have the plugin
generate a sequence diagram. I know of no tool
anywhere that can do this. If anyone knows of one
please post it


Together/J can generate sequence diagrams from Java
code.


Does this work by just analysing the source code (therefore showing all branches it can spot) or is it based on following a running program (much like a debugger).

I'd really like the latter. I can "press record", kick of a scenario/use case in my application (e.g. receiving a JMS message or submitting a form), "stop recording" and get a sequence diagram that shows me all the code that gets called as part of the use case.

Any product do this?

James

0

I agree with the previous assessments of CodeLogic. If it worked 100% of the time or even more than half the time, it would be an invaluable tool, especially for exploring large, unfamiliar code bases, which most developers have to do at some time or another. However, the fact that it seems to fail on precisely those projects for which it would be most useful made me uninstall it. It also became quite intrusive by trying to generate diagrams on project start-up all of the time when I hadn't asked for them. I would be willing to try it in the future if Logic Explorers make significant bug fixes.

0

Please sign in to leave a comment.