I don't think the number of lines is relevant. A patch is a patch and the author should be credited as such.
> Maybe it should work like that
Definitely
> Maybe it should work like that
Definitely
But the patch was not taken. The maintainer fixed it a different way. So credit is given for reporting the issue and suggesting a fix, and that is what is represented by the Reported-By. Is that so hard to understand?