These files are mostly upstream code apart from some minor modifications. There are a number of places that sonarqube reports issues because of different code style/expectations.