AttackFlow Findings Dictionary

Finding A Way To Try AttackFlow Enterprise Edition?

If so, click to download 15 days full version for free!

Using Identifier Names From Standard Libraries

Ambiguities may arise using the custom identifier names in code that are already defined in public standard libraries

Severity

Low

Fix Cost

Low

Trust Level

High

Declaring and using identifier names that are already used in framework’s public standard libraries may create ambiguities and maintenance problems. In a multiple developer environments this ambiguity can make consumer developers end up using wrong classes, interfaces, etc.

The class declaration below uses Statement identifier name from java.beans.Statement in Java Standard Library. A consumer developer may omit the correct package name for import and use the unintended one.

            
class Statement
{
  public Statement(string cmd)
{
}
 
public void execute()
{
	 
}
}
                 
            

Finding A Way To Purchase AttackFlow Enterprise Edition?

If so, click to buy now for yearly subscriptions!