From: bdemsky Date: Thu, 13 Sep 2007 09:10:44 +0000 (+0000) Subject: small change in results of Execution Graph...it will generate graphs for classes... X-Git-Tag: preEdgeChange~446 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8088e82b3361e3d1f4e6e42b2ebe68c82a52321d;p=IRC.git small change in results of Execution Graph...it will generate graphs for classes w/o source nodes...we just ignore them. --- diff --git a/Robust/src/Analysis/TaskStateAnalysis/SafetyAnalysis.java b/Robust/src/Analysis/TaskStateAnalysis/SafetyAnalysis.java index 36ec073e..e86d4db8 100644 --- a/Robust/src/Analysis/TaskStateAnalysis/SafetyAnalysis.java +++ b/Robust/src/Analysis/TaskStateAnalysis/SafetyAnalysis.java @@ -121,6 +121,11 @@ public class SafetyAnalysis { //mark the graph EGTaskNode sourcenode = findSourceNode(nodes); + + //skip classes that don't have source nodes + if (sourcenode==null) + continue; + doGraphMarking(sourcenode); createDOTFile( classname ); reducedgraph.clear();