[Git] clone https://git.steps.tw/steps/cpu-sso-new.git branch=main 正複製到 '/tmp/code-scan-83-1787039534'... [原始碼統計] 檔案:92,資料夾:52 [2026-08-18 15:52:15] SonarQube 掃描開始 Project Key:portal-scan-83 Server:http://localhost:9000 sonar-src-portal-scan-83 4622a5d71589c2ce684d6cdb52b92e3bc07d17f9dd067738bee8bb47598ecf7a [Volume copy] exit=0 [Volume 檔案數] 92 07:52:17.818 INFO Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties 07:52:17.820 INFO Project root configuration file: NONE 07:52:17.828 INFO SonarScanner CLI 8.0.1.6346 07:52:17.832 INFO Linux 7.0.0-28-generic amd64 07:52:18.460 INFO Communicating with SonarQube Community Build 26.7.0.124771 07:52:18.460 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:52:18.461 INFO JRE provisioning: os[linux], arch[x86_64] 07:52:19.628 INFO Starting SonarScanner Engine... 07:52:19.629 INFO Java 21.0.9 Eclipse Adoptium (64-bit) 07:52:20.423 INFO Load global settings 07:52:20.486 INFO Load global settings (done) | time=61ms 07:52:20.489 INFO Server id: 147B411E-AZ9pIc40ybfvzA5uUuf9 07:52:20.497 INFO Loading required plugins 07:52:20.498 INFO Load plugins index 07:52:20.508 INFO Load plugins index (done) | time=10ms 07:52:20.508 INFO Load/download plugins 07:52:20.722 INFO Load/download plugins (done) | time=214ms 07:52:20.943 INFO Process project properties 07:52:20.954 INFO Process project properties (done) | time=11ms 07:52:20.963 INFO Project key: portal-scan-83 07:52:20.963 INFO Base dir: /usr/src 07:52:20.964 INFO Working dir: /tmp/.scannerwork 07:52:20.969 INFO Load project settings for component key: 'portal-scan-83' 07:52:20.985 INFO Load quality profiles 07:52:21.027 INFO Load quality profiles (done) | time=41ms 07:52:21.056 INFO Load active rules 07:52:21.298 INFO Load active rules (done) | time=241ms 07:52:21.306 INFO Load analysis cache 07:52:21.312 INFO Load analysis cache (404) | time=6ms 07:52:21.423 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:52:21.434 INFO Preprocessing files... 07:52:21.483 INFO 7 languages detected in 63 preprocessed files (done) | time=49ms 07:52:21.484 INFO 29 files ignored because of scm ignore settings 07:52:21.485 INFO Loading plugins for detected languages 07:52:21.485 INFO Load/download plugins 07:52:22.429 INFO Load/download plugins (done) | time=944ms 07:52:22.532 INFO Load project repositories 07:52:22.536 INFO Load project repositories (done) | time=5ms 07:52:22.555 INFO Indexing files... 07:52:22.555 INFO Project configuration: 07:52:22.626 INFO 62 files indexed (done) | time=71ms 07:52:22.627 INFO Quality profile for css: Sonar way 07:52:22.627 INFO Quality profile for docker: Sonar way 07:52:22.627 INFO Quality profile for js: Sonar way 07:52:22.628 INFO Quality profile for json: Sonar way 07:52:22.628 INFO Quality profile for php: Sonar way 07:52:22.628 INFO Quality profile for xml: Sonar way 07:52:22.628 INFO Quality profile for yaml: Sonar way 07:52:22.628 INFO ------------- Run sensors on module portal-scan-83 07:52:22.667 INFO Load metrics repository 07:52:22.683 INFO Load metrics repository (done) | time=16ms 07:52:22.751 INFO Reflections took 45 ms to scan 1 urls, producing 30 keys and 295 values 07:52:23.238 INFO Sensor HTML [web] 07:52:23.278 INFO Sensor HTML [web] (done) | time=40ms 07:52:23.278 INFO Sensor XML Sensor [xml] 07:52:23.281 INFO 1 source file to be analyzed 07:52:23.372 INFO 1/1 source file has been analyzed 07:52:23.372 INFO Sensor XML Sensor [xml] (done) | time=93ms 07:52:23.372 INFO Sensor PHP sensor [php] 07:52:23.394 INFO Starting PHP symbol indexer 07:52:23.395 INFO 27 source files to be analyzed 07:52:23.603 INFO 27/27 source files have been analyzed 07:52:23.604 INFO Cached information of global symbols will be used for 0 out of 27 files. Global symbols were recomputed for the remaining files. 07:52:23.617 INFO Starting PHP rules 07:52:23.618 INFO 27 source files to be analyzed 07:52:24.080 INFO 27/27 source files have been analyzed 07:52:24.080 INFO The PHP analyzer was able to leverage cached data from previous analyses for 0 out of 27 files. These files were not parsed. 07:52:24.080 INFO Sensor PHP sensor [php] (done) | time=708ms 07:52:24.080 INFO Sensor Analyzer for "php.ini" files [php] 07:52:24.082 INFO Sensor Analyzer for "php.ini" files [php] (done) | time=1ms 07:52:24.082 INFO Sensor PHPUnit report sensor [php] 07:52:24.082 INFO No PHPUnit tests reports provided (see 'sonar.php.tests.reportPath' property) 07:52:24.082 INFO No PHPUnit coverage reports provided (see 'sonar.php.coverage.reportPaths' property) 07:52:24.082 WARN PHPUnit test cases are detected. Make sure to specify test sources via `sonar.test` to get more precise analysis results. 07:52:24.083 INFO Sensor PHPUnit report sensor [php] (done) | time=1ms 07:52:24.083 INFO Sensor IaC CloudFormation Sensor [iac] 07:52:24.087 INFO There are no files to be analyzed for the CloudFormation language 07:52:24.087 INFO Sensor IaC CloudFormation Sensor [iac] (done) | time=3ms 07:52:24.087 INFO Sensor IaC cfn-lint report Sensor [iac] 07:52:24.087 INFO Sensor IaC cfn-lint report Sensor [iac] (done) | time=0ms 07:52:24.087 INFO Sensor IaC Kustomization Sensor [iac] 07:52:24.108 INFO Sensor IaC Kustomization Sensor [iac] (done) | time=21ms 07:52:24.108 INFO Sensor IaC hadolint report Sensor [iac] 07:52:24.109 INFO Sensor IaC hadolint report Sensor [iac] (done) | time=0ms 07:52:24.109 INFO Sensor IaC Azure Resource Manager Sensor [iac] 07:52:24.109 INFO There are no files to be analyzed for the Azure Resource Manager language 07:52:24.109 INFO Sensor IaC Azure Resource Manager Sensor [iac] (done) | time=0ms 07:52:24.109 INFO Sensor Java Config Sensor [iac] 07:52:24.109 INFO There are no files to be analyzed for the Java language 07:52:24.109 INFO Sensor Java Config Sensor [iac] (done) | time=0ms 07:52:24.109 INFO Sensor IaC Docker Sensor [iac] 07:52:24.149 INFO 1 source file to be analyzed 07:52:24.241 INFO 1/1 source file has been analyzed 07:52:24.241 INFO Sensor IaC Docker Sensor [iac] (done) | time=132ms 07:52:24.242 INFO Sensor IaC Kubernetes Sensor [iac] 07:52:24.282 INFO There are no files to be analyzed for the Kubernetes language 07:52:24.282 INFO Sensor IaC Kubernetes Sensor [iac] (done) | time=40ms 07:52:24.282 INFO Sensor TextAndSecretsSensor [text] 07:52:24.289 INFO Available processors: 12 07:52:24.289 INFO Using 12 threads for analysis. 07:52:24.435 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:52:24.450 INFO Start fetching files for the text and secrets analysis 07:52:24.454 INFO Using Git CLI to retrieve dirty files 07:52:24.455 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:52:24.456 INFO Starting the text and secrets analysis 07:52:24.457 INFO 37 source files to be analyzed for the text and secrets analysis 07:52:24.496 INFO 37/37 source files have been analyzed for the text and secrets analysis 07:52:24.496 INFO Skipped 3 file(s) in the secrets analysis due to automatic test file detection 07:52:24.498 INFO Sensor TextAndSecretsSensor [text] (done) | time=216ms 07:52:24.500 INFO ------------- Run sensors on project 07:52:24.649 INFO Sensor JavaScript/TypeScript/CSS analysis [javascript] 07:52:24.861 INFO Detected os: Linux arch: amd64 alpine: false. Platform: LINUX_X64 07:52:24.861 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:52:26.933 INFO Using embedded Node.js runtime. 07:52:26.933 INFO Using Node.js executable: '/opt/sonar-scanner/.sonar/js/node-runtime/node'. 07:52:28.262 INFO Memory configuration: OS (47937 MB), Node.js (4288 MB). 07:52:28.272 INFO gRPC analyze-project server listening on 127.0.0.1:35761 07:52:28.376 INFO Plugin version: [13.1.0.42921] 07:52:29.572 INFO Found 0 tsconfig.json file(s): [] 07:52:30.226 INFO 5 source files to be analyzed 07:52:30.227 INFO Analyzing 4 file(s) using default options [lib: lib.esnext.d.ts, lib.dom.d.ts] 07:52:30.227 INFO 5/5 source files have been analyzed 07:52:30.234 INFO Hit the cache for 0 out of 4 07:52:30.234 INFO Miss the cache for 4 out of 4: ANALYSIS_MODE_INELIGIBLE [4/4] 07:52:30.234 INFO Sensor JavaScript/TypeScript/CSS analysis [javascript] (done) | time=5585ms 07:52:30.234 INFO Sensor IaC Project Sensor [iac] 07:52:30.235 INFO Sensor IaC Project Sensor [iac] (done) | time=0ms 07:52:30.235 INFO Sensor Zero Coverage Sensor 07:52:30.240 INFO Sensor Zero Coverage Sensor (done) | time=4ms 07:52:30.240 INFO ------------- Gather SCA dependencies on project 07:52:30.243 INFO Dependency analysis skipped 07:52:30.245 INFO SCM Publisher SCM provider for this project is: git 07:52:30.246 INFO SCM Publisher 34 source files to be analyzed 07:52:30.246 WARN Shallow clone detected, no blame information will be provided. You can convert to non-shallow with 'git fetch --unshallow'. 07:52:30.249 INFO SCM Publisher 0/34 source files have been analyzed (done) | time=3ms 07:52:30.249 WARN Missing blame information for the following files: 07:52:30.249 WARN * tests/Unit/ExampleTest.php 07:52:30.250 WARN * database/factories/UserFactory.php 07:52:30.250 WARN * resources/css/app.css 07:52:30.250 WARN * config/auth.php 07:52:30.250 WARN * database/migrations/0001_01_01_000000_create_users_table.php 07:52:30.250 WARN * vite.config.js 07:52:30.250 WARN * config/queue.php 07:52:30.250 WARN * config/cache.php 07:52:30.250 WARN * config/database.php 07:52:30.250 WARN * database/seeders/DatabaseSeeder.php 07:52:30.251 WARN * app/Models/User.php 07:52:30.251 WARN * database/migrations/0001_01_01_000002_create_jobs_table.php 07:52:30.251 WARN * config/mail.php 07:52:30.251 WARN * config/filesystems.php 07:52:30.251 WARN * docker/8.4/Dockerfile 07:52:30.251 WARN * config/logging.php 07:52:30.251 WARN * vite-module-loader.js 07:52:30.251 WARN * app/Providers/AppServiceProvider.php 07:52:30.251 WARN * routes/console.php 07:52:30.251 WARN * routes/web.php 07:52:30.252 WARN * bootstrap/app.php 07:52:30.252 WARN * config/session.php 07:52:30.252 WARN * resources/js/bootstrap.js 07:52:30.252 WARN * database/migrations/0001_01_01_000001_create_cache_table.php 07:52:30.252 WARN * public/index.php 07:52:30.252 WARN * bootstrap/providers.php 07:52:30.252 WARN * config/services.php 07:52:30.252 WARN * tests/TestCase.php 07:52:30.252 WARN * phpunit.xml 07:52:30.253 WARN * resources/js/app.js 07:52:30.253 WARN * tests/Feature/ExampleTest.php 07:52:30.253 WARN * config/app.php 07:52:30.253 WARN * app/Http/Controllers/Controller.php 07:52:30.253 WARN * config/modules.php 07:52:30.253 WARN This may lead to missing/broken features in SonarQube 07:52:30.253 INFO CPD Executor 11 files had no CPD blocks 07:52:30.253 INFO CPD Executor Calculating CPD for 21 files 07:52:30.266 INFO CPD Executor CPD calculation finished (done) | time=13ms 07:52:30.272 INFO SCM revision ID 'a798db7c1331afb96cda928ebc95c600b4f5ee27' 07:52:30.362 INFO Analysis report generated in 91ms, dir size=414.4 kB 07:52:30.395 INFO Analysis report compressed in 33ms, zip size=124.5 kB 07:52:30.816 INFO Analysis report uploaded in 420ms 07:52:30.817 INFO ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=portal-scan-83 07:52:30.817 INFO Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 07:52:30.817 INFO More about the report processing at http://localhost:9000/api/ce/task?id=77f1d423-b690-4ee5-9d98-9ba97ac7e242 07:52:30.902 INFO Analysis total time: 10.145 s 07:52:30.903 INFO SonarScanner Engine completed successfully 07:52:30.946 INFO EXECUTION SUCCESS 07:52:30.946 INFO Total time: 13.131s [Scanner 結束] exit=0