ProjectFile
0
0
940
617
Project File
-
0
Paths and Defines
-
Import Project (Visual studio / compile database/ Borland C++ Builder 6)
-
-
true
-
false
:/images/edit-clear.png
-
Browse...
-
-
-
<html><head/><body><p>You have a choice:</p><p> * Analyze all Debug and Release configurations</p><p> * Only analyze the first matching Debug configuration</p><p><br/></p></body></html>
Analyze all Visual Studio configurations
-
Qt::Vertical
20
40
-
Qt::Horizontal
40
20
-
-
Selected VS Configurations
-
Qt::Vertical
20
40
-
-
-
-
Paths:
-
Qt::Vertical
20
40
-
16777215
140
-
-
Add...
-
Edit
-
Remove
-
Qt::Vertical
20
40
-
-
Defines:
mEditDefines
-
Defines must be separated by a semicolon. Example: DEF1;DEF2=5;DEF3=int
-
-
Undefines:
mEditUndefines
-
Undefines must be separated by a semicolon. Example: UNDEF1;UNDEF2;UNDEF3
-
-
-
Include Paths:
-
Qt::Vertical
20
40
-
QAbstractItemView::SelectRows
-
-
Add...
-
Edit
-
Remove
-
Qt::Vertical
20
40
-
Up
-
Down
-
Qt::Vertical
20
0
Types and Functions
-
Platform
-
-
Libraries
-
-
Note: Put your own custom .cfg files in the same folder as the project file. You should see them above.
true
Analysis
-
Cppcheck build dir (whole program analysis, incremental analysis, statistics, etc)
-
This is a workfolder that Cppcheck will use for various purposes.
-
Browse...
-
Parser
-
Cppcheck (built in)
true
-
Clang (experimental)
-
Analysis
-
Normal analysis -- Avoid false positives.
true
-
Bug hunting -- Generates mostly noise. The goal is to be "soundy" and detect most bugs.
-
If you want to design your classes to be as flexible and robust as possible then the public interface must be very robust. Cppcheck will asumme that arguments can take *any* value.
Check that each class has a safe public interface
-
0
0
Limit analysis
-
Check code in headers (should be ON normally. if you want a limited quick analysis then turn this OFF)
true
-
Check code in unused templates (should be ON normally, however in theory you can safely ignore warnings in unused templates)
true
-
-
Max CTU depth
-
10
-
Qt::Horizontal
40
20
-
-
Max recursion in template instantiation
-
1000
100
-
Qt::Horizontal
40
20
-
Qt::Vertical
20
73
Warning options
-
Root path:
-
Filepaths in warnings will be relative to this path
-
Warning tags (separated by semicolon)
-
If tags are added, you will be able to right click on warnings and set one of these tags. You can manually categorize warnings.
-
Exclude source files
-
-
-
Exclude folder...
-
Exclude file...
-
Edit
-
Remove
-
Qt::Vertical
20
40
-
Suppressions
-
-
-
Add
-
Remove
-
Qt::Vertical
20
40
-
Qt::Vertical
20
96
Addons
-
Addons
-
Note: Addons require <a href="https://www.python.org/">Python</a> being installed.
true
-
Y2038
-
Thread safety
-
Coding standards
-
MISRA C 2012
-
-
MISRA rule texts
-
<html><head/><body><p>Copy/paste the text from Appendix A "Summary of guidelines" from the MISRA C 2012 pdf to a text file.</p></body></html>
-
...
-
External tools
-
Clang-tidy
-
Clang analyzer
-
Qt::Vertical
20
368
-
Qt::Horizontal
QDialogButtonBox::Cancel|QDialogButtonBox::Ok
mButtons
mButtons
accepted()
ProjectFile
accept()
270
352
157
158
mButtons
rejected()
ProjectFile
reject()
338
352
286
158