[Upload] 解壓縮 kA5fDBrbysSQu5h8nMw4ueq30WA0IDwddChrgsD4.zip [解壓縮完成] exit=0 [Upload] 解壓縮路徑:/tmp/code-scan-104-1793776166,共 3083 個項目 [原始碼統計] 檔案:3083,資料夾:535 [2026-11-04 15:09:27] SonarQube 掃描開始 Project Key:portal-scan-104 Server:http://localhost:9000 sonar-src-portal-scan-104 10dcf7ec7946159d6d8eba2d2bf91035a6bf5b65d7944c24497d78229cf05f90 [Volume copy] exit=0 [Volume 檔案數] 3083 07:09:30.887 INFO Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties 07:09:30.889 INFO Project root configuration file: NONE 07:09:30.898 INFO SonarScanner CLI 8.1.0.6389 07:09:30.901 INFO Linux 7.0.0-42-generic amd64 07:09:31.537 INFO Communicating with SonarQube Community Build 26.7.0.124771 07:09:31.537 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. 07:09:31.537 INFO JRE provisioning: os[linux], arch[x86_64] 07:09:32.697 INFO Starting SonarScanner Engine... 07:09:32.697 INFO Java 21.0.9 Eclipse Adoptium (64-bit) 07:09:33.515 INFO Load global settings 07:09:33.574 INFO Load global settings (done) | time=57ms 07:09:33.576 INFO Server id: 147B411E-AZ9pIc40ybfvzA5uUuf9 07:09:33.584 INFO Loading required plugins 07:09:33.584 INFO Load plugins index 07:09:33.593 INFO Load plugins index (done) | time=9ms 07:09:33.594 INFO Load/download plugins 07:09:33.810 INFO Load/download plugins (done) | time=216ms 07:09:33.999 INFO Process project properties 07:09:34.008 INFO Process project properties (done) | time=9ms 07:09:34.017 INFO Project key: portal-scan-104 07:09:34.017 INFO Base dir: /usr/src 07:09:34.017 INFO Working dir: /tmp/.scannerwork 07:09:34.024 INFO Load project settings for component key: 'portal-scan-104' 07:09:34.045 INFO Load quality profiles 07:09:34.099 INFO Load quality profiles (done) | time=53ms 07:09:34.129 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. 07:09:34.138 INFO Load active rules 07:09:34.347 INFO Load active rules (done) | time=209ms 07:09:34.352 INFO Load analysis cache 07:09:34.356 INFO Load analysis cache (404) | time=4ms 07:09:34.394 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. 07:09:34.408 INFO Preprocessing files... 07:09:34.894 INFO 6 languages detected in 3083 preprocessed files (done) | time=486ms 07:09:34.896 INFO Loading plugins for detected languages 07:09:34.896 INFO Load/download plugins 07:09:36.149 INFO Load/download plugins (done) | time=1253ms 07:09:36.313 INFO Load project repositories 07:09:36.317 INFO Load project repositories (done) | time=4ms 07:09:36.342 INFO Indexing files... 07:09:36.342 INFO Project configuration: 07:09:36.764 INFO 2998 files indexed (done) | time=423ms 07:09:36.765 INFO Quality profile for css: Sonar way 07:09:36.766 INFO Quality profile for js: Sonar way 07:09:36.766 INFO Quality profile for json: Sonar way 07:09:36.766 INFO Quality profile for php: Sonar way 07:09:36.766 INFO Quality profile for py: Sonar way 07:09:36.766 INFO Quality profile for xml: Sonar way 07:09:36.766 INFO ------------- Run sensors on module portal-scan-104 07:09:36.795 INFO Load metrics repository 07:09:36.818 INFO Load metrics repository (done) | time=22ms 07:09:37.139 INFO Reflections took 52 ms to scan 1 urls, producing 30 keys and 295 values 07:09:37.549 INFO Sensor Python Sensor [python] 07:09:37.552 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" 07:09:37.704 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. 07:09:37.704 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. 07:09:37.709 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. 07:09:37.709 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. 07:09:37.713 INFO Starting global symbols computation 07:09:37.715 INFO 1 source file to be analyzed 07:09:37.825 INFO 1/1 source file has been analyzed 07:09:37.826 INFO Finished step global symbols computation in 112ms 07:09:37.842 INFO Starting rules execution 07:09:37.842 INFO 1 source file to be analyzed 07:09:38.370 INFO 1/1 source file has been analyzed 07:09:38.371 INFO Finished step rules execution in 528ms 07:09:38.371 INFO The Python analyzer was able to leverage cached data from previous analyses for 0 out of 1 files. These files were not parsed. 07:09:38.373 INFO Sensor Python Sensor [python] (done) | time=824ms 07:09:38.373 INFO Sensor Cobertura Sensor for Python coverage [python] 07:09:38.404 INFO Sensor Cobertura Sensor for Python coverage [python] (done) | time=30ms 07:09:38.404 INFO Sensor PythonXUnitSensor [python] 07:09:38.430 INFO Sensor PythonXUnitSensor [python] (done) | time=26ms 07:09:38.430 INFO Sensor Python Dependency Sensor [python] 07:09:38.433 INFO Sensor Python Dependency Sensor [python] (done) | time=3ms 07:09:38.434 INFO Sensor HTML [web] 07:09:38.793 INFO Sensor HTML [web] (done) | time=359ms 07:09:38.793 INFO Sensor XML Sensor [xml] 07:09:38.796 INFO 1 source file to be analyzed 07:09:38.865 INFO 1/1 source file has been analyzed 07:09:38.865 INFO Sensor XML Sensor [xml] (done) | time=71ms 07:09:38.865 INFO Sensor PHP sensor [php] 07:09:38.880 INFO Starting PHP symbol indexer 07:09:38.880 INFO 479 source files to be analyzed 07:09:40.446 INFO 479/479 source files have been analyzed 07:09:40.447 INFO Cached information of global symbols will be used for 0 out of 479 files. Global symbols were recomputed for the remaining files. 07:09:40.460 INFO Starting PHP rules 07:09:40.460 INFO 479 source files to be analyzed 07:09:45.714 INFO 479/479 source files have been analyzed 07:09:45.714 INFO The PHP analyzer was able to leverage cached data from previous analyses for 0 out of 479 files. These files were not parsed. 07:09:45.714 INFO Sensor PHP sensor [php] (done) | time=6849ms 07:09:45.714 INFO Sensor Analyzer for "php.ini" files [php] 07:09:45.722 INFO Sensor Analyzer for "php.ini" files [php] (done) | time=7ms 07:09:45.722 INFO Sensor PHPUnit report sensor [php] 07:09:45.722 INFO No PHPUnit tests reports provided (see 'sonar.php.tests.reportPath' property) 07:09:45.722 INFO No PHPUnit coverage reports provided (see 'sonar.php.coverage.reportPaths' property) 07:09:45.723 WARN PHPUnit test cases are detected. Make sure to specify test sources via `sonar.test` to get more precise analysis results. 07:09:45.728 INFO Sensor PHPUnit report sensor [php] (done) | time=6ms 07:09:45.729 INFO Sensor IaC CloudFormation Sensor [iac] 07:09:45.742 INFO There are no files to be analyzed for the CloudFormation language 07:09:45.742 INFO Sensor IaC CloudFormation Sensor [iac] (done) | time=13ms 07:09:45.742 INFO Sensor IaC cfn-lint report Sensor [iac] 07:09:45.742 INFO Sensor IaC cfn-lint report Sensor [iac] (done) | time=0ms 07:09:45.742 INFO Sensor IaC hadolint report Sensor [iac] 07:09:45.742 INFO Sensor IaC hadolint report Sensor [iac] (done) | time=0ms 07:09:45.743 INFO Sensor IaC Azure Resource Manager Sensor [iac] 07:09:45.743 INFO There are no files to be analyzed for the Azure Resource Manager language 07:09:45.743 INFO Sensor IaC Azure Resource Manager Sensor [iac] (done) | time=0ms 07:09:45.743 INFO Sensor Java Config Sensor [iac] 07:09:45.755 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'. 07:09:45.767 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'. 07:09:45.812 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'. 07:09:45.814 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'. 07:09:45.832 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'. 07:09:45.874 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'. 07:09:45.884 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'. 07:09:45.912 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'. 07:09:45.929 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'. 07:09:45.933 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'. 07:09:46.792 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'. 07:09:46.804 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'. 07:09:46.816 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'. 07:09:46.826 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'. 07:09:46.838 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'. 07:09:46.872 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'. 07:09:46.875 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'. 07:09:46.882 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'. 07:09:46.888 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'. 07:09:46.890 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'. 07:09:46.892 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'. 07:09:46.904 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'. 07:09:46.930 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'. 07:09:46.935 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'. 07:09:46.983 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'. 07:09:47.036 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'. 07:09:47.320 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'. 07:09:47.322 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'. 07:09:47.331 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'. 07:09:47.358 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'. 07:09:47.360 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'. 07:09:47.367 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'. 07:09:47.380 INFO There are no files to be analyzed for the Java language 07:09:47.380 INFO Sensor Java Config Sensor [iac] (done) | time=1636ms 07:09:47.380 INFO Sensor IaC Docker Sensor [iac] 07:09:47.400 INFO There are no files to be analyzed for the Docker language 07:09:47.400 INFO Sensor IaC Docker Sensor [iac] (done) | time=19ms 07:09:47.400 INFO Sensor TextAndSecretsSensor [text] 07:09:47.409 INFO Available processors: 12 07:09:47.409 INFO Using 12 threads for analysis. 07:09:47.560 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" 07:09:47.574 INFO Start fetching files for the text and secrets analysis 07:09:47.587 INFO Using Git CLI to retrieve dirty files 07:09:47.589 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" 07:09:47.592 INFO Starting the text and secrets analysis 07:09:47.593 INFO 672 source files to be analyzed for the text and secrets analysis 07:09:47.787 INFO 672/672 source files have been analyzed for the text and secrets analysis 07:09:47.788 INFO Skipped 38 file(s) in the secrets analysis due to automatic test file detection 07:09:47.789 INFO Sensor TextAndSecretsSensor [text] (done) | time=389ms 07:09:47.790 INFO ------------- Run sensors on project 07:09:47.914 INFO Sensor JavaScript/TypeScript/CSS analysis [javascript] 07:09:48.113 INFO Detected os: Linux arch: amd64 alpine: false. Platform: LINUX_X64 07:09:48.114 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 07:09:50.312 INFO Using embedded Node.js runtime. 07:09:50.312 INFO Using Node.js executable: '/opt/sonar-scanner/.sonar/js/node-runtime/node'. 07:09:51.646 INFO Memory configuration: OS (47937 MB), Node.js (4288 MB). 07:09:51.656 INFO gRPC analyze-project server listening on 127.0.0.1:37071 07:09:51.750 INFO Plugin version: [13.1.0.42921] 07:09:52.961 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 07:09:53.166 INFO Found 0 tsconfig.json file(s): [] 07:09:56.255 INFO 130 source files to be analyzed 07:09:56.255 INFO Analyzing 74 file(s) using default options [lib: lib.esnext.d.ts, lib.dom.d.ts] 07:09:56.255 INFO 130/130 source files have been analyzed 07:09:56.262 INFO Hit the cache for 0 out of 81 07:09:56.262 INFO Miss the cache for 81 out of 81: ANALYSIS_MODE_INELIGIBLE [81/81] 07:09:56.262 INFO Sensor JavaScript/TypeScript/CSS analysis [javascript] (done) | time=8348ms 07:09:56.262 INFO Sensor IaC Project Sensor [iac] 07:09:56.263 INFO Sensor IaC Project Sensor [iac] (done) | time=0ms 07:09:56.263 INFO Sensor Zero Coverage Sensor 07:09:56.300 INFO Sensor Zero Coverage Sensor (done) | time=37ms 07:09:56.301 INFO ------------- Gather SCA dependencies on project 07:09:56.304 INFO Dependency analysis skipped 07:09:56.305 INFO SCM Publisher No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it. 07:09:56.321 INFO CPD Executor 271 files had no CPD blocks 07:09:56.321 INFO CPD Executor Calculating CPD for 339 files 07:09:56.383 INFO CPD Executor CPD calculation finished (done) | time=62ms 07:09:56.594 INFO Analysis report generated in 189ms, dir size=4.5 MB 07:09:57.027 INFO Analysis report compressed in 433ms, zip size=2.4 MB 07:09:58.554 INFO Analysis report uploaded in 1526ms 07:09:58.555 INFO ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=portal-scan-104 07:09:58.555 INFO Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 07:09:58.555 INFO More about the report processing at http://localhost:9000/api/ce/task?id=33179ebc-c579-41cd-9473-0e2138067d33 07:09:58.699 INFO Analysis total time: 24.856 s 07:09:58.700 INFO SonarScanner Engine completed successfully 07:09:58.769 INFO EXECUTION SUCCESS 07:09:58.770 INFO Total time: 27.884s [Scanner 結束] exit=0