1
###############################################################################
2
# Copyright (c) 2010 Alena Laskavaia and others.
3
# All rights reserved. This program and the accompanying materials
4
# are made available under the terms of the Eclipse Public License v1.0
5
# which accompanies this distribution, and is available at
6
# http://www.eclipse.org/legal/epl-v10.html
9
# Alena Laskavaia - initial API and implementation
10
###############################################################################
11
#Properties file for org.eclipse.cdt.codan.checkers
12
Bundle-Vendor = Eclipse CDT
13
Bundle-Name = Codan Checkers
14
checker.name.AssignmentInCondition = Assignment in condition
15
problem.description.AssignmentInCondition = Finds statements like 'if (a=b)'
16
problem.messagePattern.AssignmentInCondition = Possible assignment in condition ''{0}''
17
problem.name.AssignmentInCondition = Assignment in condition
18
checker.name.StatementHasNoEffect = StatementHasNoEffectChecker
19
problem.description.StatementHasNoEffect = Finds statements like 'a;' or '-a;' or 'a-b;' which do no seems to have any side effect therefore suspicious
20
problem.messagePattern.StatementHasNoEffect = Statement has no effect ''{0}''
21
problem.name.StatementHasNoEffect = Statement has no effect
22
checker.name.NonVirtualDestructor = NonVirtualDestructorChecker
23
problem.description.NonVirtualDestructor = If destructor is not declared virtual - destructor of derived class would not be called.
24
problem.messagePattern.NonVirtualDestructor = Class ''{0}'' has virtual method ''{1}'' but non-virtual destructor
25
problem.name.NonVirtualDestructor = Class has a virtual method and non-virtual destructor
26
checker.name.CatchByReference = CatchByReferenceChecker
27
problem.description.CatchByReference = Catching by reference is recommended by C++ experts, "Throw by value, catch by reference". For one thing, this avoids copying and potentially slicing the exception.
28
problem.messagePattern.CatchByReference = Catching by reference is recommended ''{0}''
29
problem.name.CatchByReference = Catching by reference is recommended
30
checker.name.SuggestedParenthesis = SuggestedParenthesisChecker
31
problem.description.SuggestedParenthesis = This checker finds problems related to either lack of understanding precedence of operators or misspelling of operators in expression. For example (!a<10) or (a && b & c)
32
problem.messagePattern.SuggestedParenthesis = Suggested parenthesis around expression ''{0}''
33
problem.name.SuggestedParenthesis = Suggested parenthesis around expression
34
checker.name.NamingConventionFunction = NamingConventionFunctionChecker
35
problem.description.NamingConventionFunction = Finds and reports functions name of which does not match pattern parameter
36
problem.messagePattern.NamingConventionFunction = Bad function name "{0}" (pattern /{1}/)
37
problem.name.NamingConventionFunction = Name convention for function
38
checker.name.ReturnChecker = Return inconsistencies
39
problem.description.NoReturnValue = Return statement has no return value, if somebody would use return value from this function it would be random
40
problem.messagePattern.NoReturnValue = Return without value, in function returning non-void
41
problem.name.NoReturnValue = No return value
42
problem.description.UnusedReturnValue = Return statement has a value, but function is declared to return void. Did you mean to declare function with return value?
43
problem.messagePattern.UnusedReturnValue = Return has value, in function returning void
44
problem.name.UnusedReturnValue = Unused return value
45
problem.description.NoReturn = No return statement in a function which is declared to return value
46
problem.messagePattern.NoReturn = No return, in function returning non-void
47
problem.name.NoReturn = No return
48
checker.name.FormatString = Format String
49
problem.description.FormatString = Finds statements lead to format string vulnerability (e.g. 'char[5] str; scanf("%10s", str);'
50
problem.messagePattern.FormatString = Format string vulnerability in ''{0}''
51
problem.name.FormatString = Format String Vulnerability
52
checker.name.AssignmentToItself = Assignment to itself
53
problem.messagePattern.AssignmentToItself = Assignment to itself ''{0}''
54
problem.name.AssignmentToItself = Assignment to itself
55
problem.description.AssignmentToItself = Finds expression where left and right sides of the assignment are the same, i.e. 'var = var'
56
checker.name.ReturnStyle = Return with parenthesis
57
problem.name.ReturnStyle = Return with parenthesis
58
problem.messagePattern.ReturnStyle = Return statement has invalid style. Return value should be surrounded by parenthesis
59
problem.description.ReturnStyle = Checks for return statements that do no return the value in parenthesis. For example 'return 0;'
60
checker.name.SuspiciousSemicolon = Suspicious semicolon
61
problem.name.SuspiciousSemicolon = Suspicious semicolon
62
problem.messagePattern.SuspiciousSemicolon = Suspicious semicolon
63
problem.description.SuspiciousSemicolon = A semicolon is used as a null statement in a condition. For example, 'if (expression);'
64
checker.name.CaseBreak = No break at end of case
65
problem.description.CaseBreak = Looks for "case" statements which end without a "break" statement
66
problem.messagePattern.CaseBreak = No break at the end of case
67
binding.checker.name = Problem Binding Checker
68
problem.description.G = Name resolution problem found by the indexer
69
problem.messagePattern.G = Symbol ''{0}'' could not be resolved
70
problem.name.G = Symbol is not resolved
71
problem.description.0 = Name resolution problem found by the indexer
72
problem.messagePattern.0 = Invalid overload of ''{0}''
73
problem.name.0 = Invalid overload
74
problem.description.1 = Name resolution problem found by the indexer
75
problem.messagePattern.1 = ''{0}'' is ambiguous ''{1}''
76
problem.name.1 = Ambiguous problem
77
problem.description.2 = Name resolution problem found by the indexer
78
problem.messagePattern.2 = Circular inheritance encountered in ''{0}''
79
problem.name.2 = Circular inheritance
80
problem.description.3 = Name resolution problem found by the indexer
81
problem.messagePattern.3 = Invalid redeclaration of ''{0}''
82
problem.name.3 = Invalid redeclaration
83
problem.description.4 = Name resolution problem found by the indexer
84
problem.messagePattern.4 = Invalid redefinition of ''{0}''
85
problem.name.4 = Invalid redefinition
86
problem.description.5 = Name resolution problem found by the indexer
87
problem.messagePattern.5 = Member declaration not found
88
problem.name.5 = Member declaration not found
89
problem.description.6 = Name resolution problem found by the indexer
90
problem.messagePattern.6 = Label ''{0}'' not found
91
problem.name.6 = Label statement not found
92
problem.description.7 = Name resolution problem found by the indexer
93
problem.messagePattern.7 = Invalid template arguments
94
problem.name.7 = Invalid template argument
95
problem.description.8 = Name resolution problem found by the indexer
96
problem.messagePattern.8 = Type ''{0}'' could not be resolved
97
problem.name.8 = Type cannot be resolved
98
problem.description.9 = Name resolution problem found by the indexer
99
problem.messagePattern.9 = Function ''{0}'' could not be resolved
100
problem.name.9 = Function cannot be resolved
101
problem.description.10 = Name resolution problem found by the indexer
102
problem.messagePattern.10 = Invalid arguments ''{0}''
103
problem.name.10 = Invalid arguments
104
problem.description.11 = Name resolution problem found by the indexer
105
problem.messagePattern.11 = Method ''{0}'' could not be resolved
106
problem.name.11 = Method cannot be resolved
107
problem.description.12 = Name resolution problem found by the indexer
108
problem.messagePattern.12 = Field ''{0}'' could not be resolved
109
problem.name.12 = Field cannot be resolved
110
checker.name.AbstractClassCreation = Abstract class cannot be instantiated
111
problem.name.AbstractClassCreation = Abstract class cannot be instantiated
112
problem.messagePattern.AbstractClassCreation = The type ''{0}'' must implement the inherited pure virtual method ''{1}''
113
problem.description.AbstractClassCreation = All inherited pure virtual methods must be implemented to allow instantiation of the class
115
checker.name.UnusedSymbolInFileScopeChecker = Unused symbols and declarations in file scope
116
problem.description.UnusedVariableDeclarationProblem = Finds unused global variable declarations in file scope
117
problem.messagePattern.UnusedVariableDeclarationProblem = Unused declaration of variable ''{0}''
118
problem.name.UnusedVariableDeclarationProblem = Unused variable declaration in file scope
119
problem.description.UnusedFunctionDeclarationProblem = Finds unused function declarations
120
problem.messagePattern.UnusedFunctionDeclarationProblem = Unused declaration of function ''{0}''
121
problem.name.UnusedFunctionDeclarationProblem = Unused function declaration
122
problem.description.UnusedStaticFunctionProblem = Finds static functions which cannot be possible used not being referenced inside the file
123
problem.messagePattern.UnusedStaticFunctionProblem = Unused static function ''{0}''
124
problem.name.UnusedStaticFunctionProblem = Unused static function