About
About Cppcheck
About Cppcheck
Version %1
Version %1
Cppcheck - A tool for static C/C++ code analysis.
Cppcheck - A tool for static C/C++ code analysis.
Copyright © 2007-2018 Cppcheck team.
This program is licensed under the terms
of the GNU General Public License version 3
This program is licensed under the terms
of the GNU General Public License version 3
Visit Cppcheck homepage at %1
Visit Cppcheck homepage at %1
ApplicationDialog
Add an application
Add a new application
Here you can add an application that can open error files. Specify a name for the application, the application executable and command line parameters for the application.
The following texts in parameters are replaced with appropriate values when application is executed:
(file) - Filename containing the error
(line) - Line number containing the error
(message) - Error message
(severity) - Error severity
Example opening a file with Kate and make Kate scroll to the correct line:
Executable: kate
Parameters: -l(line) (file)
&Name:
&Executable:
&Parameters:
Browse
Browse
Executable files (*.exe);;All files(*.*)
Executable files (*.exe);;All files(*.*)
Select viewer application
Select viewer application
Cppcheck
Cppcheck
You must specify a name, a path and optionally parameters for the application!
FileViewDialog
Could not find the file: %1
Could not find the file: %1
Cppcheck
Cppcheck
Could not read the file: %1
Could not read the file: %1
LibraryAddFunctionDialog
Add function
Function name(s)
Number of arguments
LibraryDialog
Library Editor
Open
Save
Save as
Functions
Sort
Add
Filter:
Comments
noreturn
False
True
Unknown
return value must be used
ignore function in leaks checking
Arguments
Edit
Library files (*.cfg)
Open library file
Cppcheck
Cppcheck
Can not open file %1.
Failed to load %1. %2.
Can not save file %1.
Save the library as
LibraryEditArgDialog
Edit argument
<html><head/><body>
<p>Is bool value allowed? For instance result from comparison or from '!' operator.</p>
<p>Typically, set this if the argument is a pointer, size, etc.</p>
<p>Example:</p>
<pre> memcmp(x, y, i == 123); // last argument should not have a bool value</pre>
</body></html>
Not bool
<html><head/><body>
<p>Is a null parameter value allowed?</p>
<p>Typically this should be used on any pointer parameter that does not allow null.</p>
<p>Example:</p>
<pre> strcpy(x,y); // neither x or y is allowed to be null.</pre>
</body></html>
Not null
Not uninit
String
Format string
Min size of buffer
Type
None
argvalue
mul
strlen
Arg
Arg2
and
Valid values
LogView
Cppcheck
Cppcheck
MainWindow
Cppcheck
Cppcheck
A&nalyze
Standard
Standard
&File
&File
&View
&View
&Toolbars
&Check
&Check
C++ standard
&C standard
C standard
&Edit
&Edit
&License...
&License...
A&uthors...
A&uthors...
&About...
&About...
&Files...
&Files...
Analyze files
Check files
Ctrl+F
Ctrl+F
&Directory...
&Directory...
Analyze directory
Check directory
Ctrl+D
Ctrl+D
&Recheck files
&Recheck files
Ctrl+R
Ctrl+R
&Stop
&Stop
Stop analysis
Stop checking
Esc
Esc
&Save results to file...
&Save results to file...
Ctrl+S
Ctrl+S
&Quit
&Quit
&Clear results
&Clear results
&Preferences
&Preferences
Show errors
Show warnings
Show performance warnings
Show &hidden
Information
Show information messages
Show portability warnings
Show Cppcheck results
Clang
Show Clang results
&Filter
Filter results
Windows 32-bit ANSI
Windows 32-bit ANSI
Windows 32-bit Unicode
Windows 32-bit Unicode
Unix 32-bit
Unix 32-bit
Unix 64-bit
Unix 64-bit
Windows 64-bit
Windows 64-bit
C++11
C++11
C99
C99
&Print...
Print the Current Report
Print Pre&view...
Open a Print Preview Dialog for the Current Results
Open library editor
Gtk
Gtk
Posix
Posix
C11
C11
C89
C89
C++03
C++03
&Check all
&Check all
Filter
&Reanalyze modified files
&Recheck modified files
Reanal&yze all files
Style war&nings
E&rrors
&Uncheck all
&Uncheck all
Collapse &all
Collapse &all
&Expand all
&Expand all
&Standard
Standard items
Toolbar
&Categories
Error categories
&Open XML...
Open P&roject File...
Sh&ow Scratchpad...
&New Project File...
&Log View
Log View
C&lose Project File
&Edit Project File...
&Statistics
&Warnings
Per&formance warnings
&Information
&Portability
P&latforms
C++&11
C&99
&Posix
C&11
&C89
&C++03
&Library Editor...
&Auto-detect language
&Enforce C++
E&nforce C
C++14
C++14
&Contents
Categories
Show style warnings
Open the help contents
F1
F1
&Help
&Help
Select directory to check
Select directory to check
No suitable files found to check!
No suitable files found to check!
Quick Filter:
C/C++ Source, Compile database, Visual Studio (%1 %2 *.sln *.vcxproj)
Select configuration
Found project file: %1
Do you want to load this project file instead?
File not found
Bad XML
Missing attribute
Bad attribute value
Failed to load the selected library '%1'.
%2
License
License
Authors
Authors
XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)
XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)
Save the report file
Save the report file
XML files (*.xml)
XML files (*.xml)
There was a problem with loading the editor application settings.
This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly.
You must close the project file before selecting new files or directories!
Select files to check
Select files to check
The library '%1' contains unknown elements:
%2
Unsupported format
Duplicate platform type
Platform type redefined
Unknown element
Unknown issue
Error
Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir=<directory> at the command line to specify where this file is located. Please note that --data-dir is supposed to be used by installation scripts and therefore the GUI does not start when it is used, all that happens is that the setting is configured.
Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?
Open the report file
Text files (*.txt)
Text files (*.txt)
CSV files (*.csv)
Cppcheck - %1
Cppcheck - %1
Project files (*.cppcheck);;All files(*.*)
Select Project File
Project:
No suitable files found to analyze!
Select files to analyze
Select directory to analyze
Select the configuration that will be analyzed
Found project files from the directory.
Do you want to proceed analysis without using any of these project files?
Analyzer is running.
Do you want to stop the analysis and exit Cppcheck?
XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)
Build dir '%1' does not exist, create it?
Failed to import '%1', analysis is stopped
Project files (*.cppcheck)
Select Project Filename
No project file loaded
The project file
%1
could not be found!
Do you want to remove the file from the recently used projects -list?
Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p <file> Open given project file and start checking it
-l <file> Open given results xml file
-d <directory> Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version
--data-dir=<directory> This option is for installation scripts so they can configure the directory where
datafiles are located (translations, cfg). The GUI is not started when this option
is used.
Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p <file> Open given project file and start checking it
-l <file> Open given results xml file
-d <directory> Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version
--data-dir=<directory> Specify directory where GUI datafiles are located (translations, cfg)
Cppcheck GUI - Command line parameters
Platforms
Native
Unix 32-bit
Unix 32-bit
Unix 64-bit
Unix 64-bit
Windows 32-bit ANSI
Windows 32-bit ANSI
Windows 32-bit Unicode
Windows 32-bit Unicode
Windows 64-bit
Windows 64-bit
Project
Cppcheck
Cppcheck
ProjectFile
Project File
Paths and Defines
Import Project (Visual studio / compile database)
Defines must be separated by a semicolon. Example: DEF1;DEF2=5;DEF3=int
Defines must be separated by a semicolon ';'
Note: Put your own custom .cfg files in the same folder as the project file. You should see them above.
Exclude paths
Addons and tools
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>
...
<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>
Browse...
Analyze all Visual Studio configurations
Paths:
Add...
Edit
Remove
Include Paths:
Up
Down
Checking
Platform
Warning options
Root path:
Warning tags (separated by semicolon)
External tools
Cppcheck build dir (whole program analysis, incremental analysis, statistics, etc)
Libraries
Suppressions
Add
Addons
Y2038
Thread safety
Coding standards
Cert
Clang analyzer
Clang-tidy
Defines:
ProjectFileDialog
Project file: %1
Select Cppcheck build dir
Visual Studio (*.sln *.vcxproj);;Compile database (compile_commands.json)
Select include directory
Select a directory to check
(no rule texts file)
Clang-tidy (not found)
Import Project
Select directory to ignore
Add Suppression
Select error id suppress:
Select MISRA rule texts file
Misra rule texts file (%1)
QDialogButtonBox
OK
Cancel
Close
Save
QObject
Unknown language specified!
Language file %1 not found!
Could not find the file: %1!
Failed to load translation for language %1 from file %2
Failed to load translation for language %1 from file %2
line %1: Unhandled element %2
(Not found)
QPlatformTheme
OK
Cancel
Close
Save
ResultsTree
File
File
Severity
Severity
Line
Line
Summary
Undefined file
Undefined file
Could not find file:
Please select the folder '%1'
Select Directory '%1'
Please select the directory where file is located.
[Inconclusive]
debug
note
Recheck
Copy filename
Copy filename
Copy full path
Copy full path
Copy message
Copy message id
Copy line nr
Hide
Hide all with id
Suppress selected id(s)
Open containing folder
Tag
No tag
Cppcheck
Cppcheck
No editor application configured.
Configure the editor application for Cppcheck in preferences/Applications.
You can open this error by specifying applications in program's settings.
No default editor application selected.
Please select the default editor application in preferences/Applications.
Could not find the file!
Could not start %1
Please check the application path and parameters are correct.
Could not start %1
Please check the application path and parameters are correct.
Select Directory
Id
Inconclusive
Since date
style
Style
error
Error
warning
performance
portability
information
ResultsView
Print Report
No errors found, nothing to print.
%p% (%1 of %2 files checked)
Cppcheck
Cppcheck
No errors found.
No errors found.
Errors were found, but they are configured to be hidden.
To toggle what kind of errors are shown, open view menu.
Errors were found, but they are configured to be hidden.
To toggle what kind of errors are shown, open view menu.
Failed to read the report.
XML format version 1 is no longer supported.
Summary
Message
First included by
Id
Clear Log
Copy this Log entry
Copy complete Log
No errors found, nothing to save.
No errors found, nothing to save.
Failed to save the report.
Failed to save the report.
Results
Results
Analysis Log
Warning Details
ScratchPad
Scratchpad
Copy or write some C/C++ code here:
Optionally enter a filename (mainly for automatic language detection) and click on "Check":
filename
Check
Settings
Preferences
Preferences
General
General
Add...
Number of threads:
Number of threads:
Ideal count:
Force checking all #ifdef configurations
Check all #ifdef configurations
Show full path of files
Show full path of files
Show "No errors found" message when no errors found
Show "No errors found" message when no errors found
Display error Id in column "Id"
Enable inline suppressions
Check for inconclusive errors also
Show statistics on check completion
Show internal warnings in log
Addons
Python binary (leave this empty to use python in the PATH)
...
Misra addon
Misra rule texts file
<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>
Clang
Clang path (leave empty to use system PATH)
Visual Studio headers
<html><head/><body><p>Paths to Visual Studio headers, separated by semicolon ';'.</p><p>You can open a Visual Studio command prompt, write "SET INCLUDE". Then copy/paste the paths.</p></body></html>
Remove
Applications
Applications
Edit...
Set as default
Reports
Reports
Save all errors when creating report
Save all errors when creating report
Save full path to files in reports
Save full path to files in reports
Language
SettingsDialog
N/A
Add a new application
Add a new application
Modify an application
Modify an application
[Default]
[Default]
Select python binary
Select MISRA File
Select clang path
StatsDialog
Statistics
Project
Project:
Paths:
Include paths:
Defines:
Previous Scan
Path Selected:
Number of Files Scanned:
Scan Duration:
Errors:
Warnings:
Stylistic warnings:
Portability warnings:
Performance issues:
Information messages:
History
File:
Copy to Clipboard
Pdf Export
1 day
%1 days
1 hour
%1 hours
1 minute
%1 minutes
1 second
%1 seconds
0.%1 seconds
and
Export PDF
Project Settings
Paths
Include paths
Defines
Path selected
Number of files scanned
Scan duration
Errors
File:
No cppcheck build dir
Warnings
Style warnings
Portability warnings
Performance warnings
Information messages
ThreadResult
%1 of %2 files checked
TranslationHandler
Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.
Cppcheck
Cppcheck
TxtReport
inconclusive