ByRef/Output method argument not assigned

objectscriptQuality release 
1.0.0
Id 
OS0053
Rule type 
Code Smell
Severity 

Major

Major
SQALE characteristic 
  • Reliability
    • Data
Tags 
probable-bug
Remediation function 
Constant/issue
Remediation cost 
15min

This rule detects when a method argument is passed by reference but is never assigned in the body of the method.

This either means that this argument does not need to be passed by reference, or that the code forgets to assign a value to it.