Slices/DFA
The current "slices"/"Dataflow to this" feature is very powerful...it has already changed the way I navigate through code.
It would really rock if Diana final would provide some improvements:
Allow me to select scope. Right now test code is completely polluting my DFA graph with noise
Allow outgoing navigation / "Dataflow from this"
Allow to group the graph by the expression of the edge: I'd like to aggregate all graph endpoints that cause the current variable to be populated with a null value, etc
Perhaps integrate the UI with the "Call Hierarchy" feature.
Interestingly, Eclipse 3.4 provides something similar to "Dataflow to this" already, allows some filtering (usable enough to exclude tests), and integrates the feature nicely into its "Call Hierachy" UI.
Based on experience so far, the value of DFA navigation is very high - please continue expanding and polishing the feature :)
Please sign in to leave a comment.
What's that?
Tom
Invoke it from "Analyze...Dataflow to this".
It will show how data values flow through your code.
Thanks. Indeed a nice feature.
Tom
Here are some issues to vote for in case you think the feature is useful to you:
Slices: provide forward slicing:
http://www.jetbrains.net/jira/browse/IDEA-18978
Slices: allow to control scope:
http://www.jetbrains.net/jira/browse/IDEA-18983
Don't show modal progress dialog for slices:
http://www.jetbrains.net/jira/browse/IDEA-19019
Slices/DFA navigation: allow to group results by graph edge expression:
http://www.jetbrains.net/jira/browse/IDEA-19541
Slices pane: provide better layout when docked left/right
http://www.jetbrains.net/jira/browse/IDEA-19020
Ok, it is late, and I'm hoping that's the reason I'm not getting this yet. I don't yet see what it's doing, can you explain a bit further? Thanks!
Tobin