On 24.11.2012 0:53, Nikita Abdullin wrote:
Dear all,
Has anyone considered adding a generic code graph (call graph) support
to OpenGrok?
No, but a LOT of people would love this
I understand that OpenGrok has no reliable information if a
particular occurrence of some symbol inside a source file
is actually a _call_ to the corresponding function/procedure/subroutine
and not an occurrence of some other arbitrary code symbol with the
same name
(I deliberately forgot to mention OOP languages at all).
partially - opengrok basically sees all the semantics that exuberant
ctags gives him(see Ctags.java) - this optionally could be improved by
making the analyzers per language more knowledgeable
( I understand it might be cumbersome, but for Java, .net , ... it would
make sense)
However, for some languages we can still make an educated guess, try
to eliminate these similar-named symbols based on scope restrictions, etc.
correct, this guess would be actually quite accurate imho
I would greatly appreciate your suggestions on this topic.
try to tackle it, I am willing to give guidance/answers about engine
also trunk runs on lucene 4 now, so most of goodies from lucene 4 should
work with opengrok trunk build and I hope lucene 4 will give us more
speed to make such features fast enough even with a lot of queries
behind the request
(I also don't have a problem with redesigning of analyzers, after all we
will do it sooner rather than later, so such input that would make call
graph more possible is really wanted)
- so if you know the language you can already make up a search based on
some result that would give you the proper call graph without many false
positives ... so a simple call graph should be deliverable even now!
xing the fingers & thanks for (re)opening this topic
Lubos
Best regards,
Nikita Abdullin
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss