cppgraphqlgen icon indicating copy to clipboard operation
cppgraphqlgen copied to clipboard

Issues reported by SonarQube in autogenerated files

Open paussu opened this issue 3 years ago • 0 comments
trafficstars

I thought it might be better I report the SonarQube issues and you can decide their validity and what to do about them.

These are not that severe, but since they are in the autogenerated files they do come up quite often in pull requests.

Header files

Schema header:

kuva

Object header

kuva

Why replace the final with override: The class is already final, so no need to declare the functions as final:

kuva

Source files:

Schema source

kuva

kuva

Object source

The bug one I already mentioned earlier. It is also saying that the result is unused, not sure why, might be a false positive.

kuva

paussu avatar Sep 08 '22 08:09 paussu