Hello! I deleted the project in sonar and created it again. Then created a PR and merged it to master. This is the log of the master branch:
/usr/bin/docker run --name d5581435519f3ce454ff88963f359a1780b53_5d2d71 --label 8d5581 --workdir /github/workspace --rm -e "GITHUB_TOKEN" -e "SONAR_TOKEN" -e "INPUT_ARGS" -e "INPUT_PROJECTBASEDIR" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/flash/flash":"/github/workspace" 8d5581:435519f3ce454ff88963f359a1780b53
INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /github/workspace/sonar-project.properties
INFO: SonarScanner 4.7.0.2747
INFO: Java 11.0.15 Alpine (64-bit)
INFO: Linux 5.15.0-1022-azure amd64
INFO: User cache: /opt/sonar-scanner/.sonar/cache
INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /github/workspace/sonar-project.properties
INFO: Analyzing on SonarCloud
INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=579ms
INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
INFO: User cache: /opt/sonar-scanner/.sonar/cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=562ms
INFO: Load/download plugins (done) | time=3571ms
INFO: Loaded core extensions: developer-scanner
INFO: Found an active CI vendor: 'Github Actions'
INFO: Load project settings for component key: 'QuadMinds_flash'
INFO: Load project settings for component key: 'QuadMinds_flash' (done) | time=541ms
INFO: Process project properties
INFO: Execute project builders
INFO: Execute project builders (done) | time=1ms
INFO: Project key: QuadMinds_flash
INFO: Base dir: /github/workspace
INFO: Working dir: /github/workspace/.scannerwork
INFO: Load project branches
INFO: Load project branches (done) | time=573ms
INFO: Check ALM binding of project 'QuadMinds_flash'
INFO: Detected project binding: BOUND
INFO: Check ALM binding of project 'QuadMinds_flash' (done) | time=528ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=613ms
INFO: Load branch configuration
INFO: Github event: push
INFO: Auto-configuring branch master
INFO: Load branch configuration (done) | time=8ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=635ms
INFO: Load active rules
INFO: Load active rules (done) | time=5403ms
INFO: Organization key: quadminds
INFO: Branch name: master, type: long-lived
INFO: Load project repositories
INFO: Load project repositories (done) | time=535ms
INFO: Indexing files...
INFO: Project configuration:
INFO: Excluded sources: **/build-wrapper-dump.json
WARN: Invalid character encountered in file /github/workspace/app/openstreetmap/proj4php/src/Proj4php.php at line 496 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 2813 files indexed
INFO: 0 files ignored because of inclusion/exclusion patterns
INFO: 0 files ignored because of scm ignore settings
INFO: Quality profile for css: Sonar way
INFO: Quality profile for js: Sonar way
INFO: Quality profile for json: Sonar way
INFO: Quality profile for php: Sonar way
INFO: Quality profile for plsql: Sonar way
INFO: Quality profile for web: Sonar way
INFO: Quality profile for xml: Sonar way
INFO: Quality profile for yaml: Sonar way
INFO: ------------- Run sensors on module QuadMinds_flash
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=535ms
INFO: Sensor IaC CloudFormation Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=1555ms
INFO: Sensor IaC Kubernetes Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=1018ms
INFO: Sensor PL/SQL Sensor [plsql]
WARN: The Data Dictionary is not configured for the PLSQL analyzer, which prevents rule(s) S3641, S3921, S3618, S3651 from raising issues. See https://docs.sonarcloud.io/advanced-setup/languages/pl-sql/
INFO: 6 source files to be analyzed
INFO: 6/6 source files have been analyzed
INFO: Sensor PL/SQL Sensor [plsql] (done) | time=961ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=4ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Sensor C# Analysis Log [csharp] (done) | time=13ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
INFO: Sensor HTML [web]
INFO: Sensor HTML [web] (done) | time=1489ms
INFO: Sensor XML Sensor [xml]
INFO: 2 source files to be analyzed
INFO: 2/2 source files have been analyzed
INFO: Sensor XML Sensor [xml] (done) | time=147ms
INFO: Sensor Text Sensor [text]
INFO: 1293 source files to be analyzed
WARN: Invalid character encountered in file /github/workspace/app/js/ajaxtabs.js at line 3 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /github/workspace/app/js/functions.js at line 22 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 1293/1293 source files have been analyzed
INFO: Sensor Text Sensor [text] (done) | time=1175ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=7ms
INFO: Sensor VB.NET Analysis Log [vbnet]
INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=13ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=7ms
INFO: Sensor JavaScript analysis [javascript]
INFO: 403 source files to be analyzed
INFO: 21/403 files analyzed, current file: /github/workspace/api/api/features/things/resolvers/queries/things.js
INFO: 92/403 files analyzed, current file: /github/workspace/app/js/g_parallel.js
INFO: 123/403 files analyzed, current file: /github/workspace/app/js/jquery.ddslick.js
INFO: 166/403 files analyzed, current file: /github/workspace/app/chameleon/js/chameleon_functions.js
INFO: 183/403 files analyzed, current file: /github/workspace/api/api/features/things/services/thing.js
INFO: 288/403 files analyzed, current file: /github/workspace/api/api/features/routes/swagger/paths/index.js
INFO: 397/403 files analyzed, current file: /github/workspace/api/api/features/things/controllers/drivers.js
INFO: 403/403 source files have been analyzed
INFO: Hit the cache for 0 out of 403
INFO: Miss the cache for 403 out of 403: ANALYSIS_MODE_INELIGIBLE [403/403]
INFO: Sensor JavaScript analysis [javascript] (done) | time=75306ms
INFO: Sensor TypeScript analysis [javascript]
INFO: No input files found for analysis
INFO: Hit the cache for 0 out of 0
INFO: Miss the cache for 0 out of 0
INFO: Sensor TypeScript analysis [javascript] (done) | time=9ms
INFO: Sensor JavaScript inside YAML analysis [javascript]
INFO: No input files found for analysis
INFO: Hit the cache for 0 out of 0
INFO: Miss the cache for 0 out of 0
INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=20ms
INFO: Sensor CSS Metrics [javascript]
INFO: Sensor CSS Metrics [javascript] (done) | time=398ms
INFO: Sensor CSS Rules [javascript]
INFO: 863 source files to be analyzed
INFO: 497/863 files analyzed, current file: /github/workspace/app/classes/Observers/DomainObserverIdentifer.php
INFO: 863/863 source files have been analyzed
INFO: Hit the cache for 0 out of 0
INFO: Miss the cache for 0 out of 0
INFO: Sensor CSS Rules [javascript] (done) | time=15937ms
INFO: Sensor ThymeLeaf template sensor [securityjavafrontend]
INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=18ms
INFO: Sensor PHP sensor [php]
INFO: Starting PHP symbol indexer
INFO: 785 source files to be analyzed
INFO: 391/785 files analyzed, current file: app/classes/PHPExcel/Writer/Excel2007/Worksheet.php
INFO: 785/785 source files have been analyzed
INFO: Starting PHP rules
INFO: 785 source files to be analyzed
INFO: 86/785 files analyzed, current file: crons/routes/process.php
INFO: 207/785 files analyzed, current file: app/flash/flash_ajax.php
INFO: 293/785 files analyzed, current file: app/openstreetmap/proj4php/src/projCode/Vandg.php
INFO: 417/785 files analyzed, current file: app/ruteador_optimizar_rework_old.php
ERROR: Unable to parse file [file:///github/workspace/app/openstreetmap/proj4php/test/spatialreferenceScrapper.php] at line 38
ERROR: Parse error at line 38 column 24:
28: }, explode('</a>', $page)), function ($a) {
29:
30: if (strpos($a, ':') !== false) {
31: return true;
32: }
33:
34: }));
35: echo 'page '.($count+1);
36: if (!array_key_exists($codes[0], $pageCodes)) {
37:
38: echo ' scrapping'.;
^
39:
40: array_walk($codes, function ($c) use (&$pageCodes) {
41: $p = explode(':', $c);
42: $pageCodes[$c] = array(
43: 'ogcwkt' => file_get_contents('http://spatialreference.org/ref/' . strtolower($p[0]) . '/' . $p[1] . '/ogcwkt/'),
44: 'proj4' => file_get_contents('http://spatialreference.org/ref/' . strtolower($p[0]) . '/' . $p[1] . '/proj4/'),
45: 'esriwkt' => file_get_contents('http://spatialreference.org/ref/' . strtolower($p[0]) . '/' . $p[1] . '/esriwkt/'),
46: );
47:
48: echo ' (success)'."\n";
INFO: 512/785 files analyzed, current file: app/classes/PHPExcel/Shared/Date.php
INFO: 625/785 files analyzed, current file: app/uploader/upload_file_clientes_generico.php
INFO: 773/785 files analyzed, current file: app/mapa2_ajax.php
WARN: Failed to resolve 76 include/require statements like 'analytics.php' from 'webhooks_configuracion', 'cron_functions.php' from 'app', 'cron_gap_decode.php' from 'app', 'garmin_comm.php' from 'app', 'google_ws_signing.php' from 'app', 'proj4php/vendor/autoload.php' from 'openstreetmap', 'stork/triggers.php' from 'app', 'util_estadisticas.php' from 'app', 'util_fecha.php' from 'app', 'vendor/autoload.php' from 'stripe'
INFO: 785/785 source files have been analyzed
INFO: No PHPUnit tests reports provided (see 'sonar.php.tests.reportPath' property)
INFO: No PHPUnit coverage reports provided (see 'sonar.php.coverage.reportPaths' property)
INFO: Sensor PHP sensor [php] (done) | time=90520ms
INFO: Sensor Analyzer for "php.ini" files [php]
INFO: Sensor Analyzer for "php.ini" files [php] (done) | time=8ms
INFO: Sensor Serverless configuration file sensor [security]
INFO: 0 Serverless function entries were found in the project
INFO: 0 Serverless function handlers were kept as entrypoints
INFO: Sensor Serverless configuration file sensor [security] (done) | time=8ms
INFO: Sensor AWS SAM template file sensor [security]
INFO: Sensor AWS SAM template file sensor [security] (done) | time=16ms
INFO: Sensor AWS SAM Inline template file sensor [security]
INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=15ms
INFO: Sensor javabugs [dbd]
INFO: Reading IR files from: /github/workspace/.scannerwork/ir/java
INFO: No IR files have been included for analysis.
INFO: Sensor javabugs [dbd] (done) | time=3ms
INFO: Sensor pythonbugs [dbd]
INFO: Reading IR files from: /github/workspace/.scannerwork/ir/python
INFO: No IR files have been included for analysis.
INFO: Sensor pythonbugs [dbd] (done) | time=3ms
INFO: Sensor JavaSecuritySensor [security]
INFO: Reading type hierarchy from: /github/workspace/.scannerwork/ucfg2/java
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /github/workspace/.scannerwork/ucfg2/java
INFO: No UCFGs have been included for analysis.
INFO: Sensor JavaSecuritySensor [security] (done) | time=6ms
INFO: Sensor CSharpSecuritySensor [security]
INFO: Reading type hierarchy from: /github/workspace/ucfg_cs2
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /github/workspace/ucfg_cs2
INFO: No UCFGs have been included for analysis.
INFO: Sensor CSharpSecuritySensor [security] (done) | time=3ms
INFO: Sensor PhpSecuritySensor [security]
INFO: Reading type hierarchy from: /github/workspace/.scannerwork/ucfg2/php
INFO: Read 768 type definitions
INFO: Reading UCFGs from: /github/workspace/.scannerwork/ucfg2/php
INFO: 13:56:16.740076 Running Tarjan on 54363 nodes
INFO: 13:56:16.799881 Tarjan found 53034 components
INFO: 13:56:16.882415 Variable type analysis: done
INFO: 13:56:16.88618 Building Runtime Type propagation graph
INFO: 13:56:17.164776 Running Tarjan on 59321 nodes
INFO: 13:56:17.209952 Tarjan found 57997 components
INFO: 13:56:17.293402 Variable type analysis: done
INFO: 13:56:17.294803 Building Runtime Type propagation graph
INFO: 13:56:17.630836 Running Tarjan on 58275 nodes
INFO: 13:56:17.735253 Tarjan found 56927 components
INFO: 13:56:17.804667 Variable type analysis: done
INFO: Analyzing 6160 ucfgs to detect vulnerabilities.
INFO: All rules entrypoints : 195
INFO: Retained UCFGs : 2632
INFO: Taint analysis starting. Entrypoints: 195
INFO: Running symbolic analysis for 'PHP'
INFO: High simulation costs for sink in /github/workspace/app/openstreetmap/proj4php/src/Proj4php.php:668. Stop analysing this sink.
INFO: High simulation costs for sink in /github/workspace/app/openstreetmap/proj4php/src/Proj4php.php:664. Stop analysing this sink.
INFO: Taint analysis: done.
INFO: Sensor PhpSecuritySensor [security] (done) | time=20431ms
INFO: Sensor PythonSecuritySensor [security]
INFO: Reading type hierarchy from: /github/workspace/.scannerwork/ucfg2/python
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /github/workspace/.scannerwork/ucfg2/python
INFO: No UCFGs have been included for analysis.
INFO: Sensor PythonSecuritySensor [security] (done) | time=0ms
INFO: Sensor JsSecuritySensor [security]
INFO: Reading type hierarchy from: /github/workspace/.scannerwork/ucfg2/js
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /github/workspace/.scannerwork/ucfg2/js
INFO: 13:56:36.745409 Building Runtime Type propagation graph
INFO: 13:56:36.898287 Running Tarjan on 39140 nodes
INFO: 13:56:37.017056 Tarjan found 39122 components
INFO: 13:56:37.085622 Variable type analysis: done
INFO: 13:56:37.08646 Building Runtime Type propagation graph
INFO: 13:56:37.223968 Running Tarjan on 39140 nodes
INFO: 13:56:37.252355 Tarjan found 39122 components
INFO: 13:56:37.300191 Variable type analysis: done
INFO: Analyzing 4772 ucfgs to detect vulnerabilities.
INFO: Taint analysis starting. Entrypoints: 404
INFO: Running symbolic analysis for 'JS'
INFO: Taint analysis: done.
INFO: Sensor JsSecuritySensor [security] (done) | time=5334ms
INFO: ------------- Run sensors on project
INFO: Sensor Analysis Warnings import [csharp]
INFO: Sensor Analysis Warnings import [csharp] (done) | time=1ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=162ms
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 1290 source files to be analyzed
INFO: Blaming files using native implementation
INFO: 646/1290 source files have been analyzed
INFO: Blaming files using native implementation (done) | time=15222ms
INFO: SCM Publisher 1290/1290 source files have been analyzed (done) | time=15419ms
INFO: CPD Executor 269 files had no CPD blocks
INFO: CPD Executor Calculating CPD for 952 files
WARN: Too many duplication groups on file app/modules/timezone.php. Keep only the first 100 groups.
WARN: Too many duplication references on file app/modules/timezone.php for block at line 416. Keep only the first 100 references.
WARN: Too many duplication references on file app/modules/timezone.php for block at line 416. Keep only the first 100 references.
WARN: Too many duplication references on file app/modules/timezone.php for block at line 418. Keep only the first 100 references.
WARN: Too many duplication references on file app/modules/timezone.php for block at line 418. Keep only the first 100 references.
WARN: Too many duplication references on file app/modules/timezone.php for block at line 206. Keep only the first 100 references.
WARN: Too many duplication references on file app/modules/timezone.php for block at line 206. Keep only the first 100 references.
WARN: Too many duplication references on file app/modules/timezone.php for block at line 208. Keep only the first 100 references.
WARN: Too many duplication references on file app/modules/timezone.php for block at line 208. Keep only the first 100 references.
WARN: Too many duplication references on file app/modules/timezone.php for block at line 45. Keep only the first 100 references.
INFO: CPD Executor CPD calculation finished (done) | time=411ms
INFO: Analysis report generated in 376ms, dir size=34 MB
INFO: Analysis report compressed in 3146ms, zip size=8 MB
INFO: Analysis report uploaded in 1808ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=QuadMinds_flash&branch=master
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 https://sonarcloud.io/api/ce/task?id=AYQPbq2P2kJxK7nCiiJH
INFO: Analysis total time: 4:17.004 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 4:26.307s
INFO: Final Memory: 140M/470M
INFO: ------------------------------------------------------------------------
thanks,
Jorge