Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » IAnalysisRule deprecated
IAnalysisRule deprecated [message #121647] Thu, 31 January 2008 18:54
Eclipse User
Originally posted by:


I was trying out the CDT tptp example to create my own C++ bug detector,
cf. nt/static_analysis/TPTP_static_analysis_tutorial_part3.html

I noticed that some parts in the tutorial are deprecated, like
IAnalysisRule, therefore the following for generateResultsForASTNode is
not possible anymore
rule.addHistoryResultSet( historyId, result );

instead I tried rule.addHistoryResultSet(historyId); with
However, I cant see any results in the viewer.

So there are several questions here.
1) Is the source code for CodeReviewResource available somewhere, so I can
see how this is done in tptp?
2) I was able to use the Java source code analysis coming with tptp, but
I tried to use the C++ one from CDT (C/C++ Code Review Provider), it shows
in the Analyzer tab and it runs, but no results are shown. There is
something buggy here but I cant figure out what.

I would be greatful for some help.
I am running eclipse-SDK-3.3-linux-gtk-x86_64.tar.gz
and org.eclipse.tptp.platform.analysis.codereview.cpp-TPTP-4.4.0
as well as any updates that I found through the updater, especially for

Previous Topic:C/C++ static analysis - Identifying system functions
Next Topic:Large Resource Support
Goto Forum:

Current Time: Sat Aug 23 16:00:34 EDT 2014

Powered by FUDForum. Page generated in 0.02284 seconds