Recently I received a feedback on a issue with the following warning from a colleague, who uses Coverity, a static analysis tool.
Passing the value of a large parameter (PASS_BY_VALUE)
pass_by_value: Passing parameter parameter_name of type class_name (size 184 bytes) by value, which exceeds the low threshold of 128 Passing parameter
This led me to wonder about how the size of the parameter will affect the quality of the application, and when will it be a major concern if the size of the parameter get out of hand?
And what is a good rule of thumb to keep it in check?