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-2017 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.
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
constant
mul
strlen
Arg
Arg2
and
Valid values
LogView
Checking Log
Clear
Save Log
Text files (*.txt *.log);;All files (*.*)
Cppcheck
Cppcheck
Could not open file for writing: "%1"
MainWindow
Cppcheck
Cppcheck
Standard
Standard
&File
&File
&View
&View
&Toolbars
&Check
&Check
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
&Reanalyze all files
&Recheck all files
&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
Errors
Show errors
Show S&cratchpad...
Warnings
Show warnings
Performance warnings
Show performance warnings
Show &hidden
Information
Show information messages
Portability
Show portability warnings
&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
Platforms
C++11
C++11
C99
C99
&Print...
Print the Current Report
Print Pre&view...
Open a Print Preview Dialog for the Current Results
Library Editor...
Open library editor
Auto-detect language
Enforce C++
Enforce C
Gtk
Gtk
Posix
Posix
C11
C11
C89
C89
C++03
C++03
&Check all
&Check all
Analyze
Filter
&Reanalyze modified files
&Recheck modified files
&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...
&New Project File...
&Log View
Log View
C&lose Project File
&Edit Project File...
&Statistics
&Contents
Categories
Style warnings
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?
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
Could not read the project file.
Could not write the project file.
ProjectFile
Project File
Project
<html><head/><body><p>In the build dir, cppcheck stores data about each translation unit.</p><p>With a build dir you get whole program analysis.</p><p>Unchanged files will be analyzed much faster; Cppcheck skip the analysis of these files and reuse their old data.</p></body></html>
Cppcheck build dir (whole program analysis, faster analysis for unchanged files)
Paths and Defines
<html><head/><body><p>Cppcheck can import Visual studio solutions (*.sln), Visual studio projects (*.vcxproj) or compile databases.</p><p>Files to check, defines, include paths are imported.</p></body></html>
Import Project (Visual studio / compile database)
Defines must be separated by a semicolon ';'
&Root:
Root:
Libraries:
Note: Put your own custom .cfg files in the same folder as the project file. You should see them above.
...
Paths:
Add...
Edit
Remove
Include Paths:
Up
Down
Exclude
Suppressions
Suppression list:
Add
Defines:
ProjectFileDialog
Project file: %1
Select Cppcheck build dir
Select include directory
Select a directory to check
Import Project
Visual Studio (*.sln *.vcxproj);;Compile database (compile_database.json)
Select directory to ignore
Add Suppression
Select error id suppress:
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
QPlatformTheme
OK
Cancel
Close
Save
ResultsTree
File
File
Severity
Severity
Line
Line
Summary
Undefined file
Undefined file
[Inconclusive]
debug
note
Recheck
Copy filename
Copy filename
Copy full path
Copy full path
Copy message
Copy message id
Hide
Hide all with id
Open containing folder
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.
Could not find file:
%1
Please select the directory where file is located.
Select Directory
Id
Inconclusive
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
No errors found, nothing to save.
No errors found, nothing to save.
Failed to save the report.
Failed to save the report.
Results
Results
ScratchPad
Scratchpad
filename
Check
Settings
Preferences
Preferences
General
General
Include paths:
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
Paths
Edit
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 include directory
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:
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
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