Hello,
What am I doing wrong so that the analysis shows zero on all items?
this is a CSharp project.
--------> sonar-project.properties
SonarQube
sonar.host.url=http://localhost:9000
Encoding of the source files
sonar.sourceEncoding=UTF-8
Required metadata
sonar.projectKey=BanBif_3
sonar.projectName=BanBif_3
sonar.projectVersion=1.0.4
Comma-separated paths to directories with sources (required)
sonar.sources=.
sonar.language=cs
sonar.visualstudio.enable=true
sonar.scm.exclusions.disabled=true
sonar.cs.analyzeGeneratedCode=true
------>my project structure (C#)
->Bif
–>BifTest
–>packages
–>BifTest.sln
–>sonar-project.properties
-----> sonar-scanner (execute)
D:\Bif\C:\tools\sonar-scanner\bin\sonar-scanner.bat
LOG
D:\xxxVectorSF\BanBif\BanBifTest>C:\tools\sonar-scanner-cli\bin\sonar-scanner.bat
INFO: Scanner configuration file: C:\tools\sonar-scanner-cli\bin…\conf\sonar-scanner.properties
INFO: Project root configuration file: D:\xxxVectorSF\BanBif\BanBifTest\sonar-project.properties
INFO: SonarQube Scanner 4.2.0.1873
INFO: Java 11.0.3 AdoptOpenJDK (64-bit)
INFO: Windows 10 10.0 amd64
INFO: User cache: C:\Users\rwcalle.sonar\cache
INFO: SonarQube server 7.9.3
INFO: Default locale: “en_US”, source code encoding: “UTF-8”
INFO: Load global settings
INFO: Load global settings (done) | time=69ms
INFO: Server id: BF41A1F2-AXGT5TJtn9OaTlhuPAgc
INFO: User cache: C:\Users\rwcalle.sonar\cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=54ms
INFO: Load/download plugins (done) | time=195ms
INFO: Process project properties
INFO: Execute project builders
INFO: Execute project builders (done) | time=8ms
INFO: Project key: BanBif_3
INFO: Base dir: D:\xxxVectorSF\BanBif\BanBifTest
INFO: Working dir: D:\xxxVectorSF\BanBif\BanBifTest.scannerwork
INFO: Load project settings for component key: ‘BanBif_3’
INFO: Load project settings for component key: ‘BanBif_3’ (done) | time=15ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=69ms
INFO: Load active rules
INFO: Load active rules (done) | time=2429ms
INFO: Exclusions based on SCM info is disabled by configuration
INFO: Indexing files…
INFO: Project configuration:
INFO: 513 files indexed
INFO: Quality profile for cs: CSharre
INFO: Quality profile for xml: Sonar way
INFO: ------------- Run sensors on module BanBif_3
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=31ms
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/C:/Users/rwcalle/.sonar/cache/866bb1adbf016ea515620f1aaa15ec53/sonar-javascript-plugin.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte,int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
INFO: Sensor SonarCSS Rules [cssfamily]
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
INFO: Sensor SonarCSS Rules [cssfamily] (done) | time=16ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
INFO: Sensor C# Properties [csharp]
WARN: Property missing: ‘sonar.cs.analyzer.projectOutPaths’. No protobuf files will be loaded for this project.
WARN: No Roslyn issues report found for this project.
INFO: Sensor C# Properties [csharp] (done) | time=15ms
INFO: Sensor JavaXmlSensor [java]
INFO: 3 source files to be analyzed
INFO: Load project repositories
INFO: Load project repositories (done) | time=31ms
INFO: Sensor JavaXmlSensor [java] (done) | time=1367ms
INFO: 3/3 source files have been analyzed
INFO: Sensor HTML [web]
INFO: Sensor HTML [web] (done) | time=20ms
INFO: Sensor XML Sensor [xml]
INFO: 5 source files to be analyzed
INFO: Sensor XML Sensor [xml] (done) | time=1157ms
INFO: 5/5 source files have been analyzed
INFO: Sensor C# [csharp]
INFO: Sensor C# [csharp] (done) | time=0ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=20ms
INFO: SCM provider for this project is: git
INFO: 85 files to be analyzed
INFO: 0/85 files analyzed
WARN: Missing blame information for the following files:
WARN: * BanBifTest/Models/GeneralMessage.cs
WARN: * BanBifTest/Views/Pantalla/Registro_Nro_Objetos.cs
WARN: * BanBifTest/Properties/Settings.Designer.cs
WARN: * BanBifTest/Views/Flujo/Flujos.Designer.cs
WARN: * BanBifTest/Views/Flujo/Pantalla_flujo.cs
WARN: * BanBifTest/Models/Usuario.cs
WARN: * BanBifTest/Views/Connection.cs
WARN: * BanBifTest/Models/Pantalla.cs
WARN: * BanBifTest/Views/Flujo/Flujos.cs
WARN: * BanBifTest/Views/Key_Evaluatecs.cs
WARN: * BanBifTest/Views/Flujo/Pantalla_flujo.Designer.cs
WARN: * packages/Microsoft.SqlServer.Types.14.0.314.76/content/SqlServerTypes/Loader.cs
WARN: * BanBifTest/Views/Menu_Listar.cs
WARN: * BanBifTest/Views/Pantalla/Nombrar_Objetos.cs
WARN: * BanBifTest/bin/Debug/EnvDTE.xml
WARN: * BanBifTest/Views/Login.cs
WARN: * BanBifTest/Views/Objeto/Crear_Propiedades.cs
WARN: * BanBifTest/Views/Flujo/Flujo_Registro.Designer.cs
WARN: * BanBifTest/Models/Propiedad.cs
WARN: * BanBifTest/Views/Caso/Registro.cs
WARN: * BanBifTest/Models/Caso.cs
WARN: * BanBifTest/Views/GenerarResumenPruebas.cs
WARN: * BanBifTest/Views/MostrarResumenPruebas.Designer.cs
WARN: * BanBifTest/Controllers/Controller.cs
WARN: * BanBifTest/Views/Usuario/Users.cs
WARN: * BanBifTest/Views/Menu.cs
WARN: * BanBifTest/obj/Release/BanBifTest.TrustInfo.xml
WARN: * BanBifTest/Models/Evento.cs
WARN: * BanBifTest/Views/Objeto/Objetos.Designer.cs
WARN: * BanBifTest/Models/Persona.cs
WARN: * BanBifTest/Models/TipoObjeto.cs
WARN: * BanBifTest/BDTestDataSet.xsd
WARN: * BanBifTest/Views/PlantillaViewUpload.cs
WARN: * BanBifTest/obj/Debug/BanBifTest.TrustInfo.xml
WARN: * BanBifTest/Controllers/FlujoController.cs
WARN: * BanBifTest/Controllers/UsuarioController.cs
WARN: * BanBifTest/Models/TipoPropiedad.cs
WARN: * BanBifTest/Views/AboutIt.cs
WARN: * BanBifTest/Views/PlantillaViewDescargar.Designer.cs
WARN: * BanBifTest/Controllers/PropiedadesController.cs
WARN: * BanBifTest/Views/Caso/Casos.Designer.cs
WARN: * BanBifTest/Models/Objeto.cs
WARN: * BanBifTest/Views/Pantalla/Nombrar_Objetos.Designer.cs
WARN: * BanBifTest/Utils/Util.cs
WARN: * BanBifTest/Views/Objeto/Crear_Propiedades.Designer.cs
WARN: * BanBifTest/Views/Menu.Designer.cs
WARN: * BanBifTest/DataSet/DataSetResumenPruebas.Designer.cs
WARN: * BanBifTest/SqlServerTypes/Loader.cs
WARN: * BanBifTest/Views/Objeto/Objetos.cs
WARN: * BanBifTest/Controllers/PersonaController.cs
WARN: * BanBifTest/Models/Dato.cs
WARN: * BanBifTest/Views/Pantalla/Pantallas.cs
WARN: * BanBifTest/Views/Usuario/NewPassword.cs
WARN: * BanBifTest/Views/PlantillaViewDescargar.cs
WARN: * BanBifTest/Views/Flujo/Flujo_Registro.cs
WARN: * BanBifTest/Views/Key_Evaluatecs.Designer.cs
WARN: * BanBifTest/Views/PlantillaViewUpload.Designer.cs
WARN: * BanBifTest/Views/GenerarResumenPruebas.Designer.cs
WARN: * BanBifTest/Views/Pantalla/Registro_Nro_Objetos.Designer.cs
WARN: * BanBifTest/Controllers/ObjetoController.cs
WARN: * BanBifTest/Views/Login.Designer.cs
WARN: * BanBifTest/Properties/AssemblyInfo.cs
WARN: * BanBifTest/Views/Objeto/Registro_Nro_Propiedades.Designer.cs
WARN: * BanBifTest/Views/Usuario/Registro_Usuario.Designer.cs
WARN: * BanBifTest/BDTestDataSet.Designer.cs
WARN: * BanBifTest/Views/Usuario/Users.Designer.cs
WARN: * BanBifTest/Views/Usuario/Registro_Usuario.cs
WARN: * BanBifTest/Models/UpdateDatoModel.cs
WARN: * BanBifTest/Views/Caso/Casos.cs
WARN: * BanBifTest/Views/Caso/Registro.Designer.cs
WARN: * BanBifTest/Views/Objeto/Registro_Nro_Propiedades.cs
WARN: * BanBifTest/Controllers/PantallaController.cs
WARN: * BanBifTest/Controllers/PlantillaDescargaController.cs
WARN: * BanBifTest/Views/Pantalla/Pantallas.Designer.cs
WARN: * BanBifTest/Properties/Resources.Designer.cs
WARN: * BanBifTest/Controllers/CasoController.cs
WARN: * BanBifTest/Views/AboutIt.Designer.cs
WARN: * BanBifTest/DataSet/DataSetResumenPruebas.xsd
WARN: * BanBifTest/Views/MostrarResumenPruebas.cs
WARN: * BanBifTest/Views/Connection.Designer.cs
WARN: * BanBifTest/Views/Usuario/NewPassword.Designer.cs
WARN: * BanBifTest/Program.cs
WARN: * BanBifTest/Models/Flujo.cs
WARN: * BanBifTest/Views/Menu_Listar.Designer.cs
WARN: * BanBifTest/Models/TipoDocumento.cs
WARN: This may lead to missing/broken features in SonarQube
INFO: Calculating CPD for 0 files
INFO: CPD calculation finished
INFO: Analysis report generated in 310ms, dir size=2 MB
INFO: Analysis report compressed in 918ms, zip size=451 KB
INFO: Analysis report uploaded in 101ms
INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=BanBif_3
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXGZ3IfckfFCD5yD_wjZ
INFO: Analysis total time: 11.536 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 14.481s
INFO: Final Memory: 13M/50M
INFO: ------------------------------------------------------------------------
Thanks.