[Upload] 解壓縮 U4S3n8ehULguOZsgn9KMZSGdVPFzQUi3L3zWsUep.zip [解壓縮完成] exit=0 [Upload] 解壓縮路徑:/tmp/code-scan-103-1793775346,共 3083 個項目 [原始碼統計] 檔案:3083,資料夾:535 [2026-11-04 14:55:47] SonarQube 掃描開始 Project Key:portal-scan-103 Server:http://localhost:9000 sonar-src-portal-scan-103 bcc066fe6d899039ee7344ca18870470a9c9f9f67d70757edff9c782362083d3 [Volume copy] exit=0 [Volume 檔案數] 3083 06:55:53.278 INFO Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties 06:55:53.280 INFO Project root configuration file: NONE 06:55:53.290 INFO SonarScanner CLI 8.1.0.6389 06:55:53.293 INFO Linux 7.0.0-42-generic amd64 06:55:53.951 INFO Communicating with SonarQube Community Build 26.7.0.124771 06:55:53.951 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. 06:55:53.952 INFO JRE provisioning: os[linux], arch[x86_64] 06:55:55.136 INFO Starting SonarScanner Engine... 06:55:55.136 INFO Java 21.0.9 Eclipse Adoptium (64-bit) 06:55:55.956 INFO Load global settings 06:55:56.018 INFO Load global settings (done) | time=60ms 06:55:56.021 INFO Server id: 147B411E-AZ9pIc40ybfvzA5uUuf9 06:55:56.029 INFO Loading required plugins 06:55:56.029 INFO Load plugins index 06:55:56.039 INFO Load plugins index (done) | time=10ms 06:55:56.040 INFO Load/download plugins 06:55:56.251 INFO Load/download plugins (done) | time=211ms 06:55:56.493 INFO Process project properties 06:55:56.504 INFO Process project properties (done) | time=11ms 06:55:56.515 INFO Project key: portal-scan-103 06:55:56.515 INFO Base dir: /usr/src 06:55:56.515 INFO Working dir: /tmp/.scannerwork 06:55:56.524 INFO Load project settings for component key: 'portal-scan-103' 06:55:56.547 INFO Load quality profiles 06:55:56.606 INFO Load quality profiles (done) | time=58ms 06:55:56.630 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. 06:55:56.637 INFO Load active rules 06:55:56.850 INFO Load active rules (done) | time=214ms 06:55:56.855 INFO Load analysis cache 06:55:56.859 INFO Load analysis cache (404) | time=5ms 06:55:56.898 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. 06:55:56.911 INFO Preprocessing files... 06:55:57.326 INFO 6 languages detected in 3083 preprocessed files (done) | time=415ms 06:55:57.328 INFO Loading plugins for detected languages 06:55:57.328 INFO Load/download plugins 06:55:58.813 INFO Load/download plugins (done) | time=1485ms 06:55:58.969 INFO Load project repositories 06:55:58.975 INFO Load project repositories (done) | time=6ms 06:55:59.001 INFO Indexing files... 06:55:59.002 INFO Project configuration: 06:55:59.538 INFO 2998 files indexed (done) | time=537ms 06:55:59.539 INFO Quality profile for css: Sonar way 06:55:59.540 INFO Quality profile for js: Sonar way 06:55:59.540 INFO Quality profile for json: Sonar way 06:55:59.540 INFO Quality profile for php: Sonar way 06:55:59.540 INFO Quality profile for py: Sonar way 06:55:59.540 INFO Quality profile for xml: Sonar way 06:55:59.540 INFO ------------- Run sensors on module portal-scan-103 06:55:59.572 INFO Load metrics repository 06:55:59.594 INFO Load metrics repository (done) | time=22ms 06:55:59.902 INFO Reflections took 49 ms to scan 1 urls, producing 30 keys and 295 values 06:56:00.317 INFO Sensor Python Sensor [python] 06:56:00.320 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" 06:56:00.472 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. 06:56:00.473 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. 06:56:00.476 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. 06:56:00.477 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. 06:56:00.481 INFO Starting global symbols computation 06:56:00.482 INFO 1 source file to be analyzed 06:56:00.594 INFO 1/1 source file has been analyzed 06:56:00.594 INFO Finished step global symbols computation in 112ms 06:56:00.609 INFO Starting rules execution 06:56:00.609 INFO 1 source file to be analyzed 06:56:01.097 INFO 1/1 source file has been analyzed 06:56:01.098 INFO Finished step rules execution in 489ms 06:56:01.098 INFO The Python analyzer was able to leverage cached data from previous analyses for 0 out of 1 files. These files were not parsed. 06:56:01.099 INFO Sensor Python Sensor [python] (done) | time=782ms 06:56:01.100 INFO Sensor Cobertura Sensor for Python coverage [python] 06:56:01.127 INFO Sensor Cobertura Sensor for Python coverage [python] (done) | time=27ms 06:56:01.128 INFO Sensor PythonXUnitSensor [python] 06:56:01.154 INFO Sensor PythonXUnitSensor [python] (done) | time=26ms 06:56:01.154 INFO Sensor Python Dependency Sensor [python] 06:56:01.158 INFO Sensor Python Dependency Sensor [python] (done) | time=3ms 06:56:01.158 INFO Sensor HTML [web] 06:56:01.651 INFO Sensor HTML [web] (done) | time=492ms 06:56:01.651 INFO Sensor XML Sensor [xml] 06:56:01.655 INFO 1 source file to be analyzed 06:56:01.781 INFO 1/1 source file has been analyzed 06:56:01.781 INFO Sensor XML Sensor [xml] (done) | time=130ms 06:56:01.781 INFO Sensor PHP sensor [php] 06:56:01.807 INFO Starting PHP symbol indexer 06:56:01.808 INFO 479 source files to be analyzed 06:56:03.524 INFO 479/479 source files have been analyzed 06:56:03.525 INFO Cached information of global symbols will be used for 0 out of 479 files. Global symbols were recomputed for the remaining files. 06:56:03.537 INFO Starting PHP rules 06:56:03.538 INFO 479 source files to be analyzed 06:56:08.603 INFO 479/479 source files have been analyzed 06:56:08.603 INFO The PHP analyzer was able to leverage cached data from previous analyses for 0 out of 479 files. These files were not parsed. 06:56:08.603 INFO Sensor PHP sensor [php] (done) | time=6821ms 06:56:08.603 INFO Sensor Analyzer for "php.ini" files [php] 06:56:08.610 INFO Sensor Analyzer for "php.ini" files [php] (done) | time=6ms 06:56:08.610 INFO Sensor PHPUnit report sensor [php] 06:56:08.610 INFO No PHPUnit tests reports provided (see 'sonar.php.tests.reportPath' property) 06:56:08.610 INFO No PHPUnit coverage reports provided (see 'sonar.php.coverage.reportPaths' property) 06:56:08.611 WARN PHPUnit test cases are detected. Make sure to specify test sources via `sonar.test` to get more precise analysis results. 06:56:08.617 INFO Sensor PHPUnit report sensor [php] (done) | time=6ms 06:56:08.617 INFO Sensor IaC CloudFormation Sensor [iac] 06:56:08.630 INFO There are no files to be analyzed for the CloudFormation language 06:56:08.630 INFO Sensor IaC CloudFormation Sensor [iac] (done) | time=13ms 06:56:08.630 INFO Sensor IaC cfn-lint report Sensor [iac] 06:56:08.630 INFO Sensor IaC cfn-lint report Sensor [iac] (done) | time=0ms 06:56:08.630 INFO Sensor IaC hadolint report Sensor [iac] 06:56:08.630 INFO Sensor IaC hadolint report Sensor [iac] (done) | time=0ms 06:56:08.630 INFO Sensor IaC Azure Resource Manager Sensor [iac] 06:56:08.631 INFO There are no files to be analyzed for the Azure Resource Manager language 06:56:08.631 INFO Sensor IaC Azure Resource Manager Sensor [iac] (done) | time=0ms 06:56:08.631 INFO Sensor Java Config Sensor [iac] 06:56:08.641 WARN Invalid character encountered in file /usr/src/public/fonts/vendor/@fortawesome/fontawesome-free/webfa-regular-400.ttf at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:08.655 WARN Invalid character encountered in file /usr/src/public/fonts/vendor/@fortawesome/fontawesome-free/webfa-regular-400.woff2 at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:08.692 WARN Invalid character encountered in file /usr/src/public/images/default-demo/logo/logo-white.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:08.693 WARN Invalid character encountered in file /usr/src/public/vendor/jquery-ui/1.13.2/images/ui-icons_444444_256x240.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:08.711 WARN Invalid character encountered in file /usr/src/public/images/default-demo/error/error-default.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:08.753 WARN Invalid character encountered in file /usr/src/public/images/default-demo/logo/logo.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:08.763 WARN Invalid character encountered in file /usr/src/public/vendor/jquery-ui/1.13.2/images/ui-icons_ffffff_256x240.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:08.790 WARN Invalid character encountered in file /usr/src/public/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.ttf at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:08.808 WARN Invalid character encountered in file /usr/src/public/vendor/slick-1.8.0/slick/fonts/slick.ttf at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:08.811 WARN Invalid character encountered in file /usr/src/web-assessment-core/Assessment/assessment.jar at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.712 WARN Invalid character encountered in file /usr/src/public/vendor/slick-1.8.0/slick/ajax-loader.gif at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.724 WARN Invalid character encountered in file /usr/src/public/css/bootstrap/bootstrap-icon/bootstrap-icons-1.11.1/fonts/bootstrap-icons.woff at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.737 WARN Invalid character encountered in file /usr/src/public/images/default-demo/pushAnnouncement/bullhorn.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.748 WARN Invalid character encountered in file /usr/src/public/images/logo.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.760 WARN Invalid character encountered in file /usr/src/public/images/icon_ai_agent.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.797 WARN Invalid character encountered in file /usr/src/public/vendor/jquery-ui/1.13.2/images/ui-icons_555555_256x240.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.799 WARN Invalid character encountered in file /usr/src/public/images/default-demo/reportDownload/reportDownloadHead.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.806 WARN Invalid character encountered in file /usr/src/public/vendor/jquery-ui/1.13.2/images/ui-icons_777620_256x240.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.812 WARN Invalid character encountered in file /usr/src/public/favicon.ico at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.815 WARN Invalid character encountered in file /usr/src/public/images/default-demo/logo/favicon.ico at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.816 WARN Invalid character encountered in file /usr/src/public/vendor/jquery-ui/1.13.2/images/ui-icons_777777_256x240.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.828 WARN Invalid character encountered in file /usr/src/public/vendor/slick-1.8.0/slick/fonts/slick.woff at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.853 WARN Invalid character encountered in file /usr/src/public/vendor/slick-1.8.0/slick/fonts/slick.eot at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.858 WARN Invalid character encountered in file /usr/src/public/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.ttf at line 4 for encoding windows-1252. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.903 WARN Invalid character encountered in file /usr/src/public/images/sender_ai_agent.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:09.951 WARN Invalid character encountered in file /usr/src/web-assessment-core/Assessment/sqlite-jdbc-3.8.11.2.jar at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:10.248 WARN Invalid character encountered in file /usr/src/public/vendor/jquery-ui/1.13.2/images/ui-icons_cc0000_256x240.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:10.249 WARN Invalid character encountered in file /usr/src/public/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.woff2 at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:10.259 WARN Invalid character encountered in file /usr/src/public/images/default-demo/example/web01.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:10.284 WARN Invalid character encountered in file /usr/src/public/images/default-demo/reportDownload/reportDownloadLogo.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:10.286 WARN Invalid character encountered in file /usr/src/public/css/bootstrap/bootstrap-icon/bootstrap-icons-1.11.1/fonts/bootstrap-icons.woff2 at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:10.293 WARN Invalid character encountered in file /usr/src/public/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.woff2 at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. 06:56:10.303 INFO There are no files to be analyzed for the Java language 06:56:10.304 INFO Sensor Java Config Sensor [iac] (done) | time=1672ms 06:56:10.304 INFO Sensor IaC Docker Sensor [iac] 06:56:10.323 INFO There are no files to be analyzed for the Docker language 06:56:10.323 INFO Sensor IaC Docker Sensor [iac] (done) | time=19ms 06:56:10.323 INFO Sensor TextAndSecretsSensor [text] 06:56:10.331 INFO Available processors: 12 06:56:10.331 INFO Using 12 threads for analysis. 06:56:10.474 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" 06:56:10.486 INFO Start fetching files for the text and secrets analysis 06:56:10.495 INFO Using Git CLI to retrieve dirty files 06:56:10.496 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" 06:56:10.497 INFO Starting the text and secrets analysis 06:56:10.498 INFO 672 source files to be analyzed for the text and secrets analysis 06:56:10.686 INFO 672/672 source files have been analyzed for the text and secrets analysis 06:56:10.686 INFO Skipped 38 file(s) in the secrets analysis due to automatic test file detection 06:56:10.687 INFO Sensor TextAndSecretsSensor [text] (done) | time=364ms 06:56:10.689 INFO ------------- Run sensors on project 06:56:10.827 INFO Sensor JavaScript/TypeScript/CSS analysis [javascript] 06:56:11.021 INFO Detected os: Linux arch: amd64 alpine: false. Platform: LINUX_X64 06:56:11.021 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 06:56:13.120 INFO Using embedded Node.js runtime. 06:56:13.120 INFO Using Node.js executable: '/opt/sonar-scanner/.sonar/js/node-runtime/node'. 06:56:14.478 INFO Memory configuration: OS (47937 MB), Node.js (4288 MB). 06:56:14.488 INFO gRPC analyze-project server listening on 127.0.0.1:41915 06:56:14.588 INFO Plugin version: [13.1.0.42921] 06:56:15.786 INFO Some of the project files were automatically excluded because they looked like generated code. Enable debug logging to see which files were excluded. You can disable bundle detection by setting sonar.javascript.detectBundles=false 06:56:15.984 INFO Found 0 tsconfig.json file(s): [] 06:56:19.135 INFO 130 source files to be analyzed 06:56:19.135 INFO Analyzing 74 file(s) using default options [lib: lib.esnext.d.ts, lib.dom.d.ts] 06:56:19.135 INFO 130/130 source files have been analyzed 06:56:19.142 INFO Hit the cache for 0 out of 81 06:56:19.142 INFO Miss the cache for 81 out of 81: ANALYSIS_MODE_INELIGIBLE [81/81] 06:56:19.142 INFO Sensor JavaScript/TypeScript/CSS analysis [javascript] (done) | time=8315ms 06:56:19.142 INFO Sensor IaC Project Sensor [iac] 06:56:19.143 INFO Sensor IaC Project Sensor [iac] (done) | time=0ms 06:56:19.143 INFO Sensor Zero Coverage Sensor 06:56:19.180 INFO Sensor Zero Coverage Sensor (done) | time=37ms 06:56:19.181 INFO ------------- Gather SCA dependencies on project 06:56:19.184 INFO Dependency analysis skipped 06:56:19.185 INFO SCM Publisher No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it. 06:56:19.201 INFO CPD Executor 271 files had no CPD blocks 06:56:19.201 INFO CPD Executor Calculating CPD for 339 files 06:56:19.274 INFO CPD Executor CPD calculation finished (done) | time=73ms 06:56:19.489 INFO Analysis report generated in 193ms, dir size=4.5 MB 06:56:19.923 INFO Analysis report compressed in 434ms, zip size=2.4 MB 06:56:20.283 INFO Analysis report uploaded in 359ms 06:56:20.283 INFO ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=portal-scan-103 06:56:20.283 INFO Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 06:56:20.284 INFO More about the report processing at http://localhost:9000/api/ce/task?id=535af46c-0b3f-4ba3-92ca-12242b73c941 06:56:20.469 INFO Analysis total time: 24.181 s 06:56:20.470 INFO SonarScanner Engine completed successfully 06:56:20.539 INFO EXECUTION SUCCESS 06:56:20.540 INFO Total time: 27.263s [Scanner 結束] exit=0