tap1992
(Travis Perkins)
1
- ALM used - Azure DevOps
- CI system used - Azure DevOps
- Scanner command used when applicable:
sonar-scanner -D sonar.projectKey=${{ parameters.projectName }}
-D sonar.projectName=${{ parameters.projectName }} -D sonar.organization=**
-D sonar.projectVersion=$(Version.SemVer) -D sonar.token=${{parameters.authToken}}
-D sonar.host.url=https://sonarcloud.io -D sonar.issuesReport.html.enable=true
-D sonar.projectBaseDir=$(Build.SourcesDirectory) -D sonar.sources=${{parameters.projectDirectory}}
-D sonar.branch.name=$(Build.BranchName) -D sonar.links.scm=$(Build.Repository.Uri)
-D sonar.userHome=/opt/sonar-scanner2/.sonar -D sonar.javascript.lcov.reportPaths=$(Build.ReportStagingDirectory)/lcov.info
-D sonar.typescript.lcov.reportPaths=$(Build.ReportStagingDirectory)/lcov.info -D sonar.verbose=true
-D sonar.javascript.node.maxspace=4096
- Languages of the repository - JS & TS
- Error observed (wrap logs/code around with triple quotes ``` for proper formatting):
08:29:32.156 INFO: 452 / 4044 UCFGs simulated, memory usage: 845 MB
08:29:37.937 INFO: 452 / 4044 UCFGs simulated, memory usage: 846 MB
08:29:45.962 INFO: 452 / 4044 UCFGs simulated, memory usage: 473 MB
08:29:56.267 INFO: 452 / 4044 UCFGs simulated, memory usage: 1146 MB
08:30:06.595 INFO: 452 / 4044 UCFGs simulated, memory usage: 847 MB
08:30:16.794 INFO: 452 / 4044 UCFGs simulated, memory usage: 433 MB
08:30:27.082 INFO: 452 / 4044 UCFGs simulated, memory usage: 1004 MB
08:30:37.374 INFO: 452 / 4044 UCFGs simulated, memory usage: 711 MB
08:30:47.802 INFO: 452 / 4044 UCFGs simulated, memory usage: 448 MB
08:30:58.119 INFO: 452 / 4044 UCFGs simulated, memory usage: 1108 MB
08:31:08.499 INFO: 452 / 4044 UCFGs simulated, memory usage: 937 MB
08:31:18.885 INFO: 452 / 4044 UCFGs simulated, memory usage: 674 MB
08:31:29.354 INFO: 452 / 4044 UCFGs simulated, memory usage: 528 MB
08:31:39.661 INFO: 452 / 4044 UCFGs simulated, memory usage: 1018 MB
08:31:50.056 INFO: 452 / 4044 UCFGs simulated, memory usage: 731 MB
08:32:00.458 INFO: 452 / 4044 UCFGs simulated, memory usage: 377 MB
08:32:10.895 INFO: 452 / 4044 UCFGs simulated, memory usage: 1010 MB
08:32:21.261 INFO: 452 / 4044 UCFGs simulated, memory usage: 698 MB
08:32:30.583 INFO: 475 / 4044 UCFGs simulated, memory usage: 968 MB
08:32:30.683 INFO: 659 / 4044 UCFGs simulated, memory usage: 1106 MB```
Hello @tap1992 ,
Welcome to our community, and thank you for reporting this.
In some instances, it can indeed happen that the simulation of some UCFGs takes a bit more time than others.
Could you please share a few more pieces of information to assess if the overall performance is slower than expected?
In particular:
- the LoC of the project you are analyzing
- the total analysis duration
- the JsSecuritySensor duration (you should find this information in the log)
Best,
Roberto