Re: [SrcML] static source code analyzis
Status: Beta
Brought to you by:
crashchaos
From: Frank R. <fra...@in...> - 2005-05-04 18:42:33
|
On Wed, May 04, 2005 at 05:31:50PM +0200, Leif Bladt wrote: > Hmm, I think the term "plug-in" is a little confusing. With plug-ins I > mean the plug-ins for the "analyzer platform", which are accesible via > the API. Or rather the PluginManager residing in the config package. > To use them, we need a "tool", which can be either a single > java program or an Eclipse plug-in. Or both. > >Ant plugin? Ant is a build platform which is comparable to GNU make. > >I don't think it makes sense to plug into that. > What I meant was to create an Ant task to call the analyzer tool > (written in java for example). Just like you execute the JUnit tests. > For me it makes sense, because you could run your JUnit tests with 'ant > test' and your static analysis with 'ant analyze'. What do you think? Ah ok. I misunderstood you there. Yes that would be a possibility too. I generally believe that there are a lot of different places where the analyses can actually be applied then. But indeed the combination of JUnit tests and analyses through ant sounds like a good idea. > I would appreciate an Eclipse plug-in for the SrcML project, too. And > the analyze functions should be part of it. But I think this whole > plug-in is work for more than one person :-) Ok done :) Simon wanted to work on the Eclipse plugin anyways, so you two could adjust your schedules so that you can get the basic version of an analyzer platform done while Simon prepares the integration of SrcML into Eclipse. You could then flesh out the details of the Eclipse plugin together. As for the analyze functions to be part of the Eclipse plugin I'm not sure I understood you correctly. The goal of the Eclipse plugin should be calling the SrcML Framework. And the various possible analyses should be available outside of Eclipse as well (f.ex. to be used in an ant task). But of course the Eclipse plugin (or plugins.. I'm not yet sure about that) will have to be able to access the analyzer functions in some way (as well as display the results). -- Raiser, Frank Student @ University of Ulm (www.uni-ulm.de) If you torture data sufficiently, it will confess to almost anything. (Fred Menger) |