Sonar-scanner a file in langage C

Thanks for the answer.
I don’t undetrstand why it is necessary to build code to make an analyse of the metrics of the rules it is strange.