A feature request that I have not found yet is “better identification of function parameters on separate lines to prevent duplicate line/block detection”
I am running the following versions of SonarQube:
- SonarQube Version: 8.4.1 Enterprise
- SonarGO Version: 1.6
Variable 1 (Something) and variable 2 (somethingElse) are calling different functions, but both functions have the same parameters. It is the coding standard for our development team to separate each input parameter on its own line for readability.
The example below, Lines 2-4 and 6-8 are marked as duplicates even though they are part of different function calls.
something := conn.GetRow(user.Context(), who.Gender, who.Age, who.Location) somethingElse := conn.GetNotaRow(user.Context(), who.Gender, who.Age, who.Location) ```