Concentrated issues

Here is the list of the lines that generated the most issues.

File Count Analysis
/system/core/Security.php:7098
  •   Buried Assignation
  •   Wrong Parameter Type
  •   Wrong Type For Native PHP Function
  •   No Null For Native PHP Functions
  •   Could Make A Function
  •   Implied If
  •   Logical Should Use Symbolic Operators
/system/core/compat/password.php:1138
  •   Iffectations
  •   Buried Assignation
  •   Useless Parenthesis
  •   Nested Ifthen
  •   No Need For Else
  •   Variable Is Not A Condition
  •   Drop Else After Return
  •   Could Make A Function
/application/config/constants.php:147
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:317
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:327
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:777
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/system/core/Loader.php:7107
  •   Relay Function
  •   Should Use Local Class
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   No Return Used
  •   Method Could Be Static
  •   Never Called Parameter
/system/core/compat/hash.php:1217
  •   No Boolean As Default
  •   No Class In Global
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Don't Pollute Global Space
  •   Redeclared PHP Functions
  •   Missing Some Returntype
/system/database/DB_driver.php:9357
  •   Uses Default Values
  •   Wrong Parameter Type
  •   No Need For Else
  •   Inconsistent Elseif
  •   Wrong Type For Native PHP Function
  •   Drop Else After Return
  •   Logical Should Use Symbolic Operators
/system/libraries/Email.php:23367
  •   Iffectations
  •   Undefined Properties
  •   Buried Assignation
  •   Useless Parenthesis
  •   Should Make Ternary
  •   Don't Read And Write In One Expression
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:296
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:306
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:436
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:456
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:476
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:496
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:766
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:786
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:796
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:806
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:816
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:826
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:836
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:846
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/application/config/constants.php:856
  •   Invalid Constant Name
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/system/core/Common.php:4376
  •   Methods Without Return
  •   No Boolean As Default
  •   No Class In Global
  •   Use Named Boolean In Argument Definition
  •   Don't Pollute Global Space
  •   Never Called Parameter
/system/core/Hooks.php:2396
  •   Useless Parenthesis
  •   include_once() Usage
  •   No Parenthesis For Language Construct
  •   Could Make A Function
  •   Implied If
  •   Logical Should Use Symbolic Operators
/system/core/compat/password.php:616
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Logical Should Use Symbolic Operators
/system/core/compat/password.php:626
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Use const
  •   Don't Pollute Global Space
  •   Implied If
  •   Logical Should Use Symbolic Operators
/system/core/compat/password.php:966
  •   No Class In Global
  •   Max Level Of Nesting
  •   Don't Pollute Global Space
  •   Assumptions
  •   Redeclared PHP Functions
  •   Missing Some Returntype
/system/database/DB_driver.php:9556
  •   Iffectations
  •   Uses Default Values
  •   Buried Assignation
  •   Wrong Parameter Type
  •   Repeated Regex
  •   Wrong Type For Native PHP Function
/system/database/drivers/oci8/oci8_driver.php:2546
  •   Iffectations
  •   Undefined Functions
  •   Buried Assignation
  •   No Need For Else
  •   Drop Else After Return
  •   Logical Should Use Symbolic Operators
/system/libraries/Cache/drivers/Cache_apc.php:986
  •   Used Once Variables (In Scope)
  •   Unused Parameter
  •   Should Use Local Class
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Method Could Be Static
/system/libraries/Cache/drivers/Cache_wincache.php:1026
  •   Used Once Variables (In Scope)
  •   Unused Parameter
  •   Should Use Local Class
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Method Could Be Static
/system/libraries/Email.php:18306
  •   Iffectations
  •   Uses Default Values
  •   Used Once Variables
  •   Used Once Variables (In Scope)
  •   Written Only Variables
  •   Buried Assignation
/system/libraries/Email.php:23156
  •   Htmlentities Calls
  •   Uses Default Values
  •   Buried Assignation
  •   Htmlentities Using Default Flag
  •   Could Make A Function
  •   Implied If
/system/libraries/Session/Session.php:2096
  •   Missing Include
  •   include_once() Usage
  •   No Parenthesis For Language Construct
  •   Implied If
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
/system/libraries/Session/drivers/Session_memcached_driver.php:2116
  •   Iffectations
  •   Uses Default Values
  •   Buried Assignation
  •   Useless Parenthesis
  •   No Need For Else
  •   Drop Else After Return