[SrcML] static analyzis
Status: Beta
Brought to you by:
crashchaos
From: Leif B. <lei...@in...> - 2005-05-24 19:22:14
|
The analyzer plugins can handle more than one SrcML document now. Therefore I changed the execute method from: public abstract Vector execute(SrcML f_srcml) throws PluginException; to public abstract Vector execute(Vector f_docs) throws PluginException; I also changed the Analyzer Platform, but I didn't adopted the way the View Platform handles this. Instead I will use a Vector with SrcML documents in it. To manage the Vector there are 4 methods: public Vector addDocument(SrcML f_srcml) {} public Vector getDocuments() {} public void removeAllDocuments() {} public Vector removeDocument(SrcML f_srcml) {} The advantage is, that you can add all your files you want to be analyzed and then run numerous analyzes on it, with just set the new plugin each time. As always, tell me what you think about it! Leif |