MaibornWolff / metric-gardener

BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Go classes metric too permissive #222

Closed ResistantBear closed 4 months ago

ResistantBear commented 5 months ago

Go has no classes, but we currently count type_declarations for the classes metric in Go. This is probably too permissive, as that probably also counts something like type intPtr int*

Note:

The current behaviour is also not documented at all and does not really follow the general metric definition for the "classes" metric in the Readme.