Marco Stornelli
bacb42110e
Bug 546609 - Added checker for magic numbers
...
Change-Id: Idedcf15f9d5eb3a5d405fe8dc83131f1faf0efa3
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-04 12:09:38 +01:00
Marco Stornelli
2e761a5359
Bug 545714 - Added a shallow copy checker
...
Change-Id: I8998a98f9d7836405afcaf54bf241b0acbd9edea
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-03 14:11:08 -05:00
Marco Stornelli
55e08c0dfa
Bug 273252 - Added checker for variable masking
...
Added new checker for variable masking another in a parent scope
Change-Id: Icff6b6499a1d38cc5a719d143552bbe17d57b15c
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-03 02:17:30 -05:00
Marco Stornelli
fa012eb7d4
Bug 545704 - Added checker for float comparison
...
Change-Id: Id5529b9bd5ee38bac5f5b7e8adab741f0bce3f8e
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-17 00:58:22 -04:00
Marco Stornelli
f8316e315b
Bug 545977 - Added checker for variable initialization
...
Checker checks for multiple declarations on one line and
static variables defined in header files.
Change-Id: Ibc9670ee129e9bdd3ea58ac5409493fd99c4a234
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-13 08:29:11 +02:00
Marco Stornelli
6504d1a917
Bug 546173 - Add a check for returning of local variable addresses
...
Change-Id: Ief17af55c20b6e075381fa22a9208b7dfa67ec0b
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-12 09:11:24 +02:00
Marco Stornelli
a159173a51
Bug 545954 - Added checker for functions/methods blacklist
...
Change-Id: I69d32f166e09ec38e4bf3dd9eaca2643c2e2d01e
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-09-23 01:10:46 -04:00
Marco Stornelli
4c0e7d9f68
Bug 545959 - Added checker for assignment operator
...
Change-Id: Ib48742cbc04679ab9e48349f4d68aea5657d38c9
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-23 00:47:39 -04:00
Marco Stornelli
1204bf21b1
Bug 545956 - Added checker for virtual methods in ctor/dtor
...
Change-Id: I63b8a40447e9a5b6080e046030677a13607c4ea3
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-26 20:26:16 +02:00
Marco Stornelli
1065ee7688
Bug 355174 - Added cheker for missing case in a switch
...
Change-Id: I1ba1193186e275bed450eb7447eefd90dc09ebec
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-26 13:54:27 -04:00
Marco Stornelli
f90cd7214d
Bug 545702 - Added new checker to verify copyright information
...
Change-Id: I57cad8565ce3c752a41f89473a95d5427d10cc8b
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-16 00:52:48 -04:00
Marco Stornelli
695de049db
Bug 458850 - Fix false positive for deferred classes
...
Change-Id: I46335a94d69ae8d4e5ae1c68857344d1dc513328
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-12 09:59:22 +02:00
Marco Stornelli
838a12d8f4
Bug 545952 - Added checker to check for goto usage
...
Change-Id: I5f7f157c5c208e686627bb90b001879953d83e70
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-08 00:50:59 -04:00
Marco Stornelli
60a4cccbe3
Bug 545699 - Added checker for C-style casts in C++
...
Change-Id: I38076599b354608a4b806f7b1d2ca1f6acc50a44
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-04-15 10:28:39 -04:00
Marco Stornelli
97e18b4b31
Bug 544980: Added a checker for using directive in header file
...
Change-Id: Ic77fd2f7504e7a6cc4e15a2fdeb507724db9e74f
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-04 09:36:50 -05:00
Hansruedi Patzen
a4dcbbaf15
Bug 527553: Detect invalid decltype(auto) with a type specifier
...
The evaluated type of 'decltype(auto)' in combination with const and/or
volatile will be a ProblemType since this is not valid code. The patch
also contains a checker to give the user a visual feedback.
Note: A proposed quick-fix has been removed after a short discussion.
Change-Id: I8760ed0ac28e28529ab30516accac9c0413c87d9
Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2017-11-30 14:56:02 -05:00
Alena Laskavaia
de3c23df86
adjusted message for comment checker
...
Change-Id: I68e6bf14340e38c7c623b444870596ab917c0b40
2015-02-27 20:17:57 -05:00
Alena Laskavaia
396b946015
codan - checker for comments
...
implement few code style rules for comments
- no line comments (sometimes enforced)
- no nested comments (no /* in block comment)
Change-Id: Ib4042a8ffab0dc1c5effd7b77ab6d2f51a1e6cae
2015-02-25 20:19:39 -05:00
Alex Ruiz
f405944e2d
Code cleanup:
...
- Merged CommandLauncher and ExternalToolInvoker
- Moved CppcheckChecker from project org.eclipse.codan.checkers to
org.eclipse.codan.checkers.ui
- Removed unnecessary dependencies on UI code in project
org.eclipse.codan.checkers
2012-02-23 13:24:18 -08:00
Alex Ruiz
a631e47e43
Externalized Strings.
2012-02-23 12:26:48 -08:00
Alex Ruiz
3115bb4e22
Initial take on external-tool-based checkers.
2012-02-23 12:25:05 -08:00
Anton Gorenkov
3b6f6642b8
Bug 339795 - [checker] Checker that finds class members that are not
...
initialized in constructor
2011-07-06 02:34:49 -04:00
Sergey Prigogin
ffc95c0d8d
Bug 315528 - Non-virtual destructor diagnostics doesn't take superclass into account. Patch by Patrick Hofer.
2011-05-25 06:06:05 +00:00
Sergey Prigogin
f88c1e14b6
Bug 326269. A follow up patch by Anton Gorenkov.
2011-05-02 18:40:24 +00:00
Andrew Gvozdev
f1daf6235a
bug 343429: [checker] Checker to pinpoint unused static functions in a file
2011-04-29 03:00:09 +00:00
Sergey Prigogin
a7adfb502f
Bug 326269 - Checker for instantiation of an abstract class. Patch by Anton Gerenkov.
2011-04-12 23:19:00 +00:00
Alena Laskavaia
527ee4ff5a
started adding support for multiple instance problems
2011-03-20 01:53:23 +00:00
Alena Laskavaia
1e1fdab079
Bug 320187 - A codan checker for detecting format string vulnerabilities
2011-02-08 02:51:59 +00:00
Alena Laskavaia
60100b4d38
Bug 331790 Externalize Problem Binding checker
2011-01-18 03:28:41 +00:00
Alena Laskavaia
83ea511e24
Bug 329497 - checker for no break at the end of case
2010-12-01 02:36:00 +00:00
Alena Laskavaia
ea00500725
Bug 322119 - [checker] Suspicious semicolon (i.e. ";" after "if")
2010-10-18 01:18:49 +00:00
Alena Laskavaia
cefc281f9f
Bug 321471 Return statement style patch from Marc-Andre Laperle
2010-09-20 01:17:25 +00:00
Alena Laskavaia
54aeb3242f
make semantic error to have their own marker type
2010-08-27 00:18:22 +00:00
Alena Laskavaia
3a67847b2b
Bug 314576: added assignment to itself checker, contribution from Severin Gehwolf
2010-07-29 12:00:38 +00:00
Alena Laskavaia
d2f4f9daa0
- added category and did some renaming for problem binding checker
2010-07-29 01:11:43 +00:00
Alena Laskavaia
bcc7727f9c
Bug 309760 - renamed checker
2010-07-21 00:05:44 +00:00
Alena Laskavaia
38b1009303
Bug 309760 name resolution checker, contributed patch
2010-06-24 01:26:28 +00:00
Alena Laskavaia
d91b53a16b
Externalized strings in manifest
2010-05-31 01:42:48 +00:00
Alena Laskavaia
6e50087a2b
Added arguments, description and externalized strings
2010-05-24 21:54:19 +00:00
Alena Laskavaia
53845ca38e
Externalized strings
2010-05-13 02:07:25 +00:00
Alena Laskavaia
823deee35f
Added data parameter to statement has no effect checker
2010-05-11 02:37:10 +00:00
Alena Laskavaia
dab4cc2c7e
Bug 311268 added checker to check for return values
2010-05-08 02:43:49 +00:00
Alena Laskavaia
c9823a073f
- renamed catch by reference checker
2010-04-13 00:55:39 +00:00
Alena Laskavaia
47c9b5205a
[281187] checker was doing the opposite - implemented properly
2010-03-26 15:02:42 +00:00
Alena Laskavaia
b179923338
- added problem descriptions
2010-03-23 03:18:16 +00:00
Alena Laskavaia
b239297541
[306563 ] - fixed false positives
2010-03-20 14:19:43 +00:00
Alena Laskavaia
78e4512614
- added real NamingConvention checker
2010-03-18 15:03:30 +00:00
Alena Laskavaia
bad558e232
- extracted example from real checkers
2010-03-18 14:33:13 +00:00
Alena Laskavaia
5cc82d793a
separate language specific plugins from general
2010-03-18 14:06:45 +00:00
Alena Laskavaia
9c13ed2b01
- changed enablement, severity and message for naming convention checker
2010-03-08 21:06:18 +00:00