2010-06-03 17:01:53 +00:00
###############################################################################
2011-07-06 02:12:45 -04:00
# Copyright (c) 2010, 2011 Alena Laskavaia and others.
2010-06-03 17:01:53 +00:00
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Alena Laskavaia - initial API and implementation
###############################################################################
2010-05-31 01:42:48 +00:00
#Properties file for org.eclipse.cdt.codan.checkers
Bundle-Vendor = Eclipse CDT
Bundle-Name = Codan Checkers
checker.name.AssignmentInCondition = Assignment in condition
problem.description.AssignmentInCondition = Finds statements like 'if (a=b)'
problem.messagePattern.AssignmentInCondition = Possible assignment in condition ''{0}''
problem.name.AssignmentInCondition = Assignment in condition
checker.name.StatementHasNoEffect = StatementHasNoEffectChecker
problem.description.StatementHasNoEffect = Finds statements like 'a;' or '-a;' or 'a-b;' which do no seems to have any side effect therefore suspicious
problem.messagePattern.StatementHasNoEffect = Statement has no effect ''{0}''
problem.name.StatementHasNoEffect = Statement has no effect
2011-05-25 06:06:05 +00:00
checker.name.NonVirtualDestructor = NonVirtualDestructorChecker
problem.description.NonVirtualDestructor = If destructor is not declared virtual - destructor of derived class would not be called.
problem.messagePattern.NonVirtualDestructor = Class ''{0}'' has virtual method ''{1}'' but non-virtual destructor
problem.name.NonVirtualDestructor = Class has a virtual method and non-virtual destructor
2010-05-31 01:42:48 +00:00
checker.name.CatchByReference = CatchByReferenceChecker
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.
problem.messagePattern.CatchByReference = Catching by reference is recommended ''{0}''
problem.name.CatchByReference = Catching by reference is recommended
checker.name.SuggestedParenthesis = SuggestedParenthesisChecker
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)
problem.messagePattern.SuggestedParenthesis = Suggested parenthesis around expression ''{0}''
problem.name.SuggestedParenthesis = Suggested parenthesis around expression
checker.name.NamingConventionFunction = NamingConventionFunctionChecker
problem.description.NamingConventionFunction = Finds and reports functions name of which does not match pattern parameter
problem.messagePattern.NamingConventionFunction = Bad function name "{0}" (pattern /{1}/)
problem.name.NamingConventionFunction = Name convention for function
checker.name.ReturnChecker = Return inconsistencies
2010-06-19 17:37:54 +00:00
problem.description.NoReturnValue = Return statement has no return value, if somebody would use return value from this function it would be random
2010-05-31 01:42:48 +00:00
problem.messagePattern.NoReturnValue = Return without value, in function returning non-void
problem.name.NoReturnValue = No return value
problem.description.UnusedReturnValue = Return statement has a value, but function is declared to return void. Did you mean to declare function with return value?
problem.messagePattern.UnusedReturnValue = Return has value, in function returning void
problem.name.UnusedReturnValue = Unused return value
problem.description.NoReturn = No return statement in a function which is declared to return value
problem.messagePattern.NoReturn = No return, in function returning non-void
2010-07-29 12:00:38 +00:00
problem.name.NoReturn = No return
2011-02-08 02:51:59 +00:00
checker.name.FormatString = Format String
problem.description.FormatString = Finds statements lead to format string vulnerability (e.g. 'char[5] str; scanf("%10s", str);'
problem.messagePattern.FormatString = Format string vulnerability in ''{0}''
problem.name.FormatString = Format String Vulnerability
2010-07-29 12:00:38 +00:00
checker.name.AssignmentToItself = Assignment to itself
problem.messagePattern.AssignmentToItself = Assignment to itself ''{0}''
problem.name.AssignmentToItself = Assignment to itself
2011-08-28 19:31:15 -07:00
problem.description.AssignmentToItself = Finds expression where left and right sides of the assignment are the same, i.e. 'var = var'
2010-09-20 01:17:25 +00:00
checker.name.ReturnStyle = Return with parenthesis
problem.name.ReturnStyle = Return with parenthesis
problem.messagePattern.ReturnStyle = Return statement has invalid style. Return value should be surrounded by parenthesis
2010-10-18 01:18:49 +00:00
problem.description.ReturnStyle = Checks for return statements that do no return the value in parenthesis. For example 'return 0;'
checker.name.SuspiciousSemicolon = Suspicious semicolon
problem.name.SuspiciousSemicolon = Suspicious semicolon
problem.messagePattern.SuspiciousSemicolon = Suspicious semicolon
2011-08-28 19:31:15 -07:00
problem.description.SuspiciousSemicolon = A semicolon is used as a null statement in a condition. For example, 'if (expression);'
2010-12-01 02:36:00 +00:00
checker.name.CaseBreak = No break at end of case
2011-01-18 02:55:37 +00:00
problem.description.CaseBreak = Looks for "case" statements which end without a "break" statement
2011-08-28 19:31:15 -07:00
problem.messagePattern.CaseBreak = No break at the end of case
2011-01-18 03:28:41 +00:00
binding.checker.name = Problem Binding Checker
problem.description.G = Name resolution problem found by the indexer
problem.messagePattern.G = Symbol ''{0}'' could not be resolved
problem.name.G = Symbol is not resolved
problem.description.0 = Name resolution problem found by the indexer
problem.messagePattern.0 = Invalid overload of ''{0}''
problem.name.0 = Invalid overload
problem.description.1 = Name resolution problem found by the indexer
problem.messagePattern.1 = ''{0}'' is ambiguous ''{1}''
problem.name.1 = Ambiguous problem
problem.description.2 = Name resolution problem found by the indexer
problem.messagePattern.2 = Circular inheritance encountered in ''{0}''
problem.name.2 = Circular inheritance
problem.description.3 = Name resolution problem found by the indexer
problem.messagePattern.3 = Invalid redeclaration of ''{0}''
problem.name.3 = Invalid redeclaration
problem.description.4 = Name resolution problem found by the indexer
problem.messagePattern.4 = Invalid redefinition of ''{0}''
problem.name.4 = Invalid redefinition
problem.description.5 = Name resolution problem found by the indexer
problem.messagePattern.5 = Member declaration not found
problem.name.5 = Member declaration not found
problem.description.6 = Name resolution problem found by the indexer
2011-01-18 03:33:15 +00:00
problem.messagePattern.6 = Label ''{0}'' not found
2011-01-18 03:28:41 +00:00
problem.name.6 = Label statement not found
problem.description.7 = Name resolution problem found by the indexer
problem.messagePattern.7 = Invalid template arguments
problem.name.7 = Invalid template argument
problem.description.8 = Name resolution problem found by the indexer
2011-01-31 20:37:25 +00:00
problem.messagePattern.8 = Type ''{0}'' could not be resolved
2011-01-18 03:28:41 +00:00
problem.name.8 = Type cannot be resolved
problem.description.9 = Name resolution problem found by the indexer
2011-01-18 03:33:15 +00:00
problem.messagePattern.9 = Function ''{0}'' could not be resolved
2011-01-18 03:28:41 +00:00
problem.name.9 = Function cannot be resolved
problem.description.10 = Name resolution problem found by the indexer
problem.messagePattern.10 = Invalid arguments ''{0}''
problem.name.10 = Invalid arguments
problem.description.11 = Name resolution problem found by the indexer
2011-01-18 03:33:15 +00:00
problem.messagePattern.11 = Method ''{0}'' could not be resolved
2011-01-18 03:28:41 +00:00
problem.name.11 = Method cannot be resolved
problem.description.12 = Name resolution problem found by the indexer
2011-01-18 03:33:15 +00:00
problem.messagePattern.12 = Field ''{0}'' could not be resolved
2011-04-12 23:19:00 +00:00
problem.name.12 = Field cannot be resolved
checker.name.AbstractClassCreation = Abstract class cannot be instantiated
problem.name.AbstractClassCreation = Abstract class cannot be instantiated
problem.messagePattern.AbstractClassCreation = The type ''{0}'' must implement the inherited pure virtual method ''{1}''
problem.description.AbstractClassCreation = All inherited pure virtual methods must be implemented to allow instantiation of the class
2011-07-06 02:12:45 -04:00
checker.name.ClassMembersInitialization = Class members should be properly initialized
problem.name.ClassMembersInitialization = Class members should be properly initialized
problem.messagePattern.ClassMembersInitialization = Member ''{0}'' was not initialized in this constructor
problem.description.ClassMembersInitialization = Class members should be properly initialized to avoid random behavior
2011-04-29 03:00:09 +00:00
checker.name.UnusedSymbolInFileScopeChecker = Unused symbols and declarations in file scope
problem.description.UnusedVariableDeclarationProblem = Finds unused global variable declarations in file scope
problem.messagePattern.UnusedVariableDeclarationProblem = Unused declaration of variable ''{0}''
problem.name.UnusedVariableDeclarationProblem = Unused variable declaration in file scope
problem.description.UnusedFunctionDeclarationProblem = Finds unused function declarations
problem.messagePattern.UnusedFunctionDeclarationProblem = Unused declaration of function ''{0}''
problem.name.UnusedFunctionDeclarationProblem = Unused function declaration
problem.description.UnusedStaticFunctionProblem = Finds static functions which cannot be possible used not being referenced inside the file
problem.messagePattern.UnusedStaticFunctionProblem = Unused static function ''{0}''
problem.name.UnusedStaticFunctionProblem = Unused static function