Open Adouni opened 1 year ago
Create a catalog of sonar rules related to performance
Depending on the language, several sonar rules impact code performance. For example
"wait(...)" should be used instead of "Thread.sleep(...)" when a lock is held
No uniq values as keys for JSX list components
Dynamic includes should not be used
---
If the second reviewer is OK, maybe we should close this issue and create one for each rule to tag.
Create EcoCode tag for existing sonar performance rules
Platform
Main caracteristics
Severity / Remediation Cost
Rule short description
Create a catalog of sonar rules related to performance
Rule complete description
Text
Depending on the language, several sonar rules impact code performance. For example
"wait(...)" should be used instead of "Thread.sleep(...)" when a lock is held
https://rules.sonarsource.com/java/tag/performance/RSPEC-2276No uniq values as keys for JSX list components
https://rules.sonarsource.com/typescript/tag/performance/RSPEC-6486Dynamic includes should not be used
https://rules.sonarsource.com/html/tag/performance/RSPEC-1937HTML
---
Implementation principle
---