more sonar cleanups: visibility of fields and complexity of read
visibilities