Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [PROPOSAL] CppCheck support
[PROPOSAL] CppCheck support [message #59544] Sun, 22 January 2023 18:00 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1091
Registered: August 2007
Senior Contributor
Hi,

I've been using CppCheck for a long time, and found it very useful. It is a very popular free static analyzer tool with lots of features and it is easy to integrate.

While its own parser is very good, it also provides an experimental clang AST backend, so it is very flexible.

I am currently integrating it with theIDE, and the integration is very smooth. So I am proposing to add cppcheck support to TheIDE.

My Plan is to make it available to public before U++ 2023 1, in a usable/stable state.

What it requires.

0. CppCheck binary.
1. A single file in TheIDE's codebase (CppCheck.cpp)
2. Detection of CppCheck binary (HasCppCheck() function)
3. A settings pane, in theIDE's settings dialog (will be available only if the binary is detected).
4. Color entries in (Settings/Syntax Highligting pane) for CppCheck error severity types (style, warning, performance, portability, etc.)

5. It will have the ability to check
a) A single file
b) A package
c) Workspace (all packages)
This will require adding menu and toolbar entries when cppcheck binary is detected.
(Similar to existing "Compile $FILENAME" or "Build $PACKAGE" entries -> "Analyze $PACKAGE)

See the below screenshot for a working version (initial)

index.php?t=getfile&id=6767&private=0


I will create a branch (theide_cppcheck) in my fork of upp and make the source code available so others can participate.

What do you think?


Best regards
Oblivion,





 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Assiste symbol information about
Next Topic: Should be an easy one: could we turn word wrapping on in the log view?
Goto Forum:
  


Current Time: Fri Mar 29 00:02:23 CET 2024

Total time taken to generate the page: 0.01225 seconds