How sonarqube analyse source codes

The simpler would be Help with developing a custom plugin for c and c++ as recommended in the other thread.