A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cnescatlab/i-CodeCNES/issues/118 below:

COM.NAME.Homonymy · Issue #118 · cnescatlab/i-CodeCNES · GitHub

Implementation of the rule COM.NAME.Homonymy.

Description

Homonymy, the fact of using the same names for global, external, and functions variables, is forbidden.

Known problems False positives False positive when a variable is declared

Description : when using a local variable in the function where it's declared a violation is detected.

Inaccurate violation message

Description : Named variable in the violation message is different from the code message. For instance, if the variable name is _dir the message of the violation will contain only dir.

False positive on variable of different names

Description : A violation is sometimes detected on two variable with different name, for instance, _c and c are considered both as the same variables. It seems the problem is based on

State of the implementation

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4