Please find the
sonar-project.properties
sonar.projectKey=ScbTCommon
sonar.projectName=ScbTCommon
sonar.projectVersion=1.0
sonar.sources=Sources/Framework/scbt/common
sonar.tests=Tests/Framework/scbt/common
sonar.language=py
sonar.sourceEncoding=UTF-8
sonar.python.pylint=C:\Program Files\Python36\Scripts\pylint.exe
sonar.python.pylint_config=xxxx.pylintrc
sonar.python.pylint.reportPath=pylint-report.txt
sonar.python.xunit.reportPath=nosetests.xml
sonar.python.coverage.reportPath=coverage.xml
sonar.python.coveragePlugin=cobertura
pylint-report.txt
************* Module scbt.common.generalhelper
Sources\Framework\scbt\common\generalhelper.py(36): [C0103(invalid-name)FileHelper.ReadLinesToList] Variable name “f” doesn’t conform to ‘(([a-z][A-Za-z0-9_]{2,30})|([A-Za-z0-9]*))' pattern ('(([a-z][A-Za-z0-9_]{2,30})|(_[A-Za-z0-9_]*))’ pattern)
Sources\Framework\scbt\common\generalhelper.py(13): [R0903(too-few-public-methods)FileHelper] Too few public methods (1/2)
************* Module scbt.common.logger.stdoutloghandler
Sources\Framework\scbt\common\logger\stdoutloghandler.py(88): [W0702(bare-except)StdOutLogHandler.emit] No exception type(s) specified
Your code has been rated at 9.87/10 (previous run: 9.87/10, +0.00)
Log file:
INFO: Scanner configuration file: D:\Tools\sonar-scanner\bin…\conf\sonar-scanner.properties
INFO: Project root configuration file: D:\GIT\ScbT\sonar-project.properties
INFO: SonarQube Scanner 3.2.0.1227
INFO: Java 1.8.0_121 Oracle Corporation (64-bit)
INFO: Windows 7 6.1 amd64
INFO: User cache: C:\Users\GeorgeM.sonar\cache
INFO: SonarQube server 7.4.0
INFO: Default locale: “en_US”, source code encoding: “UTF-8”
INFO: Publish mode
INFO: Load global settings
INFO: Load global settings (done) | time=78ms
INFO: Server id: BF41A1F2-AWesxHfAy-I7TR7mUicM
INFO: User cache: C:\Users\GeorgeM.sonar\cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=78ms
INFO: Load/download plugins (done) | time=109ms
INFO: Loaded core extensions:
INFO: Process project properties
INFO: Load project repositories
INFO: Load project repositories (done) | time=63ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=46ms
INFO: Load active rules
INFO: Load active rules (done) | time=983ms
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=15ms
INFO: Project key: ScbTCommon
INFO: Project base dir: D:\GIT\ScbT
INFO: ------------- Scan ScbTCommon
INFO: Base dir: D:\GIT\ScbT
INFO: Working dir: D:\GIT\ScbT.scannerwork
INFO: Source paths: Sources/Framework/scbt/common
INFO: Test paths: Tests/Framework/scbt/common
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Load server rules
INFO: Load server rules (done) | time=343ms
INFO: Language is forced to py
INFO: Index files
INFO: 27 files indexed
INFO: Quality profile for py: Sonar way
INFO: Sensor Python Squid Sensor [python]
INFO: Sensor Python Squid Sensor [python] (done) | time=670ms
INFO: Sensor PythonXUnitSensor [python]
INFO: Processing report ‘D:\GIT\ScbT\nosetests.xml’
INFO: Sensor PythonXUnitSensor [python] (done) | time=141ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=15ms
INFO: SCM provider for this project is: git
INFO: 5 files to be analyzed
INFO: 0/5 files analyzed
INFO: 9 files had no CPD blocks
INFO: Calculating CPD for 13 files
INFO: CPD calculation finished
INFO: Analysis report generated in 171ms, dir size=137 KB
INFO: Analysis reports compressed in 109ms, zip size=62 KB
INFO: Analysis report uploaded in 94ms
INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=ScbTCommon
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=AWhxBg7uI2WwjFus1RkE
INFO: Task total time: 5.304 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 6.864s
INFO: Final Memory: 18M/342M
INFO: ------------------------------------------------------------------------