[Upload] 解壓縮 0yn5d68EPwW9XQPpSFiGTBatT6aKICmQj4CNWroF.zip [解壓縮完成] exit=0 [Upload] 解壓縮路徑:/tmp/code-scan-106-1794276714/mattermost_sso_bridge-main,共 63 個項目 [原始碼統計] 檔案:63,資料夾:11 [2026-11-10 10:11:56] SonarQube 掃描開始 Project Key:portal-scan-106 Server:http://localhost:9000 sonar-src-portal-scan-106 4889c6b63bc6ae6df8ced424bae5ea6497484bdb9e3517a02c47345216d90b1c [Volume copy] exit=0 [Volume 檔案數] 63 02:12:06.862 INFO Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties 02:12:06.875 INFO Project root configuration file: NONE 02:12:07.216 INFO SonarScanner CLI 8.1.0.6389 02:12:07.220 INFO Linux 7.0.0-42-generic amd64 02:12:11.087 INFO Communicating with SonarQube Community Build 26.7.0.124771 02:12:11.087 WARN Use of 'sonar.login' property has been deprecated in favor of 'sonar.token' (or the env variable alternative 'SONAR_TOKEN'). Please use the latter when passing a token. 02:12:11.088 INFO JRE provisioning: os[linux], arch[x86_64] 02:12:12.926 INFO Starting SonarScanner Engine... 02:12:12.926 INFO Java 21.0.9 Eclipse Adoptium (64-bit) 02:12:13.758 INFO Load global settings 02:12:13.828 INFO Load global settings (done) | time=68ms 02:12:13.831 INFO Server id: 147B411E-AZ9pIc40ybfvzA5uUuf9 02:12:13.839 INFO Loading required plugins 02:12:13.840 INFO Load plugins index 02:12:13.859 INFO Load plugins index (done) | time=19ms 02:12:13.859 INFO Load/download plugins 02:12:14.289 INFO Load/download plugins (done) | time=431ms 02:12:14.503 INFO Process project properties 02:12:14.512 INFO Process project properties (done) | time=10ms 02:12:14.545 INFO Project key: portal-scan-106 02:12:14.546 INFO Base dir: /usr/src 02:12:14.546 INFO Working dir: /tmp/.scannerwork 02:12:14.552 INFO Load project settings for component key: 'portal-scan-106' 02:12:14.572 INFO Load quality profiles 02:12:14.696 INFO Load quality profiles (done) | time=125ms 02:12:14.718 WARN SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings. 02:12:14.725 INFO Load active rules 02:12:15.043 INFO Load active rules (done) | time=319ms 02:12:15.052 INFO Load analysis cache 02:12:15.061 INFO Load analysis cache (404) | time=9ms 02:12:15.105 WARN The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token. 02:12:15.121 INFO Preprocessing files... 02:12:15.167 INFO 4 languages detected in 63 preprocessed files (done) | time=45ms 02:12:15.168 INFO Loading plugins for detected languages 02:12:15.168 INFO Load/download plugins 02:12:18.117 INFO Load/download plugins (done) | time=2949ms 02:12:18.483 INFO Load project repositories 02:12:18.489 INFO Load project repositories (done) | time=6ms 02:12:18.514 INFO Indexing files... 02:12:18.514 INFO Project configuration: 02:12:18.532 INFO 63 files indexed (done) | time=17ms 02:12:18.533 INFO Quality profile for docker: Sonar way 02:12:18.533 INFO Quality profile for json: Sonar way 02:12:18.533 INFO Quality profile for py: Sonar way 02:12:18.533 INFO Quality profile for web: Sonar way 02:12:18.533 INFO ------------- Run sensors on module portal-scan-106 02:12:18.611 INFO Load metrics repository 02:12:18.640 INFO Load metrics repository (done) | time=29ms 02:12:19.129 INFO Reflections took 51 ms to scan 1 urls, producing 30 keys and 295 values 02:12:19.239 INFO Sensor IaC CloudFormation Sensor [iac] 02:12:19.251 INFO There are no files to be analyzed for the CloudFormation language 02:12:19.251 INFO Sensor IaC CloudFormation Sensor [iac] (done) | time=12ms 02:12:19.252 INFO Sensor IaC cfn-lint report Sensor [iac] 02:12:19.252 INFO Sensor IaC cfn-lint report Sensor [iac] (done) | time=0ms 02:12:19.252 INFO Sensor IaC hadolint report Sensor [iac] 02:12:19.252 INFO Sensor IaC hadolint report Sensor [iac] (done) | time=0ms 02:12:19.252 INFO Sensor IaC Azure Resource Manager Sensor [iac] 02:12:19.252 INFO There are no files to be analyzed for the Azure Resource Manager language 02:12:19.253 INFO Sensor IaC Azure Resource Manager Sensor [iac] (done) | time=0ms 02:12:19.253 INFO Sensor Java Config Sensor [iac] 02:12:19.306 INFO There are no files to be analyzed for the Java language 02:12:19.307 INFO Sensor Java Config Sensor [iac] (done) | time=54ms 02:12:19.307 INFO Sensor IaC Docker Sensor [iac] 02:12:19.353 INFO 1 source file to be analyzed 02:12:19.408 INFO 1/1 source file has been analyzed 02:12:19.408 INFO Sensor IaC Docker Sensor [iac] (done) | time=101ms 02:12:19.409 INFO Sensor Python Sensor [python] 02:12:19.411 WARN Your code is analyzed as compatible with all Python 3 versions by default. You can get a more precise analysis by setting the exact Python version in your configuration via the parameter "sonar.python.version" 02:12:19.662 WARN Access to the multi-values/property set property 'sonar.test.inclusions' should be made using 'getStringArray' method. The SonarQube plugin using this property should be updated. 02:12:19.663 WARN Access to the multi-values/property set property 'sonar.test.exclusions' should be made using 'getStringArray' method. The SonarQube plugin using this property should be updated. 02:12:19.667 WARN Access to the multi-values/property set property 'sonar.test.inclusions' should be made using 'getStringArray' method. The SonarQube plugin using this property should be updated. 02:12:19.667 WARN Access to the multi-values/property set property 'sonar.test.exclusions' should be made using 'getStringArray' method. The SonarQube plugin using this property should be updated. 02:12:19.672 INFO Starting global symbols computation 02:12:19.673 INFO 39 source files to be analyzed 02:12:20.133 INFO 39/39 source files have been analyzed 02:12:20.133 INFO Finished step global symbols computation in 460ms 02:12:20.168 INFO Starting rules execution 02:12:20.168 INFO 39 source files to be analyzed 02:12:20.376 WARN SonarPython detected files that look like test code but 'sonar.tests' is not configured. Rules targeting production code were not executed on these files. Configure 'sonar.tests' in your project properties for a more accurate analysis. 02:12:21.419 INFO 39/39 source files have been analyzed 02:12:21.420 INFO Finished step rules execution in 1251ms 02:12:21.420 INFO The Python analyzer was able to leverage cached data from previous analyses for 0 out of 39 files. These files were not parsed. 02:12:21.487 INFO Sensor Python Sensor [python] (done) | time=2078ms 02:12:21.487 INFO Sensor Cobertura Sensor for Python coverage [python] 02:12:21.504 INFO Sensor Cobertura Sensor for Python coverage [python] (done) | time=16ms 02:12:21.504 INFO Sensor PythonXUnitSensor [python] 02:12:21.505 INFO Sensor PythonXUnitSensor [python] (done) | time=1ms 02:12:21.505 INFO Sensor Python Dependency Sensor [python] 02:12:22.213 INFO Sensor Python Dependency Sensor [python] (done) | time=707ms 02:12:22.213 INFO Sensor HTML [web] 02:12:23.617 INFO Sensor HTML [web] (done) | time=1404ms 02:12:23.618 INFO Sensor TextAndSecretsSensor [text] 02:12:23.878 INFO Available processors: 12 02:12:23.878 INFO Using 12 threads for analysis. 02:12:28.182 INFO The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true: * The filename starts with "test" * The filename contains "test." or "tests." * Any directory in the file path is named: "doc", "docs", "test", "tests", "mock" or "mocks" * Any directory in the file path has a name ending in "test" or "tests" 02:12:28.525 INFO Start fetching files for the text and secrets analysis 02:12:30.303 INFO Using Git CLI to retrieve dirty files 02:12:30.817 WARN Retrieving only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions" 02:12:30.818 INFO Starting the text and secrets analysis 02:12:30.821 INFO 43 source files to be analyzed for the text and secrets analysis 02:12:31.279 INFO 43/43 source files have been analyzed for the text and secrets analysis 02:12:31.279 INFO Skipped 13 file(s) in the secrets analysis due to automatic test file detection 02:12:31.280 INFO Sensor TextAndSecretsSensor [text] (done) | time=7662ms 02:12:31.299 INFO ------------- Run sensors on project 02:12:32.775 INFO Sensor JavaScript/TypeScript/CSS analysis [javascript] 02:12:37.419 INFO Detected os: Linux arch: amd64 alpine: false. Platform: LINUX_X64 02:12:37.419 INFO Deploy location /opt/sonar-scanner/.sonar/js/node-runtime, tagetRuntime: /opt/sonar-scanner/.sonar/js/node-runtime/node, version: /opt/sonar-scanner/.sonar/js/node-runtime/version.txt 02:12:40.314 INFO Using embedded Node.js runtime. 02:12:40.315 INFO Using Node.js executable: '/opt/sonar-scanner/.sonar/js/node-runtime/node'. 02:12:42.396 INFO Memory configuration: OS (47937 MB), Node.js (4288 MB). 02:12:42.517 INFO gRPC analyze-project server listening on 127.0.0.1:39735 02:12:42.771 INFO Plugin version: [13.1.0.42921] 02:12:43.751 INFO Found 0 tsconfig.json file(s): [] 02:12:43.839 INFO 2 source files to be analyzed 02:12:43.839 INFO 2/2 source files have been analyzed 02:12:43.871 INFO Hit the cache for 0 out of 2 02:12:43.871 INFO Miss the cache for 2 out of 2: ANALYSIS_MODE_INELIGIBLE [2/2] 02:12:43.871 INFO Sensor JavaScript/TypeScript/CSS analysis [javascript] (done) | time=11096ms 02:12:43.871 INFO Sensor IaC Project Sensor [iac] 02:12:43.872 INFO Sensor IaC Project Sensor [iac] (done) | time=0ms 02:12:43.872 INFO Sensor Zero Coverage Sensor 02:12:43.902 INFO Sensor Zero Coverage Sensor (done) | time=29ms 02:12:43.902 INFO ------------- Gather SCA dependencies on project 02:12:43.917 INFO Dependency analysis skipped 02:12:43.921 INFO SCM Publisher No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it. 02:12:43.931 INFO CPD Executor 6 files had no CPD blocks 02:12:43.938 INFO CPD Executor Calculating CPD for 35 files 02:12:43.984 INFO CPD Executor CPD calculation finished (done) | time=51ms 02:12:44.199 INFO Analysis report generated in 170ms, dir size=1.1 MB 02:12:44.328 INFO Analysis report compressed in 128ms, zip size=520.9 kB 02:12:46.085 INFO Analysis report uploaded in 1757ms 02:12:46.086 INFO ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=portal-scan-106 02:12:46.109 INFO Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 02:12:46.109 INFO More about the report processing at http://localhost:9000/api/ce/task?id=40b6981c-fbd7-44f2-9260-f50b343a5349 02:12:46.203 INFO Analysis total time: 31.866 s 02:12:46.215 INFO SonarScanner Engine completed successfully 02:12:46.374 INFO EXECUTION SUCCESS 02:12:46.407 INFO Total time: 39.550s [Scanner 結束] exit=0