This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 196979 - Extend the callgraph feature for structure/class elements and global variables
Summary: Extend the callgraph feature for structure/class elements and global variables
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 16:57 UTC by Let_Me_Be
Modified: 2015-05-30 10:04 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
screenshot from eclipse (11.04 KB, image/png)
2011-03-22 16:57 UTC, Let_Me_Be
Details
extends call graph with variables as starting points (37.72 KB, patch)
2015-05-20 16:21 UTC, danilasergeyev
Details | Diff
improved patch (42.75 KB, patch)
2015-05-22 06:53 UTC, danilasergeyev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Let_Me_Be 2011-03-22 16:57:11 UTC
Created attachment 107192 [details]
screenshot from eclipse

Eclipse supports displaying call graph for structure/class elements and global variables.

This is great since it allows very fast overview of where variables and structure elements are modified and read. It is an awesome feature for code reviews and code refactoring.
Comment 1 Vladimir Voskresensky 2015-05-07 10:31:38 UTC
I think it's worth to generalize and allow to show callgraph for any kind of start reference: Macro, Variable, Classifier, ...
Comment 2 Vladimir Kvashin 2015-05-07 10:59:02 UTC
Right. That's what I always dreamed about.
Comment 3 danilasergeyev 2015-05-20 16:21:04 UTC
Created attachment 153768 [details]
extends call graph with variables as starting points

First patch to Call Graph feature. Variables and struct/class elements can now be the end nodes of graph.
Comment 4 danilasergeyev 2015-05-22 06:53:51 UTC
Created attachment 153805 [details]
improved patch

Improved patch for call graph feature.
Changes:
    - variables and fields now can be the starting points of graph
    - icons were added to nodes to distinguish variables from functions
Comment 5 danilasergeyev 2015-05-27 12:04:41 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/cbac04795d79
Comment 6 Quality Engineering 2015-05-30 10:04:49 UTC
Integrated into 'main-silver', will be available in build *201505300811* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/df00ace095bc
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug 196979 - Extend the callgraph feature for structure/class elements and global variables
- field from files symbolic links should be same