Docs/db redesign v2 perf findings - #732
Quality Gate passed
Annotations
Check failure on line 14 in spec/models/concerns/display_fallback_spec.rb
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "SRG template title" 3 times.
See more on https://sonarcloud.io/project/issues?id=mitre_vulcan&issues=AaAjbNSvTV37YsPZLybU&open=AaAjbNSvTV37YsPZLybU&pullRequest=732
Check warning on line 553 in app/controllers/components_controller.rb
sonarqubecloud / SonarCloud Code Analysis
Replace 'pluck(:id)' with the more semantic 'ids' method.
See more on https://sonarcloud.io/project/issues?id=mitre_vulcan&issues=AaAjbNeWTV37YsPZLybV&open=AaAjbNeWTV37YsPZLybV&pullRequest=732
Check failure on line 685 in app/models/component.rb
sonarqubecloud / SonarCloud Code Analysis
Add a default clause to this "case" statement.
See more on https://sonarcloud.io/project/issues?id=mitre_vulcan&issues=AaAjbNgeTV37YsPZLybZ&open=AaAjbNgeTV37YsPZLybZ&pullRequest=732
Check warning on line 660 in app/models/component.rb
sonarqubecloud / SonarCloud Code Analysis
This function has 9 parameters, which is greater than the 7 authorized.
See more on https://sonarcloud.io/project/issues?id=mitre_vulcan&issues=AaAjbNgeTV37YsPZLybX&open=AaAjbNgeTV37YsPZLybX&pullRequest=732
Check failure on line 660 in app/models/component.rb
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=mitre_vulcan&issues=AaAjbNgeTV37YsPZLybY&open=AaAjbNgeTV37YsPZLybY&pullRequest=732
Check failure on line 160 in app/models/rule.rb
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=mitre_vulcan&issues=AaAjbNeyTV37YsPZLybW&open=AaAjbNeyTV37YsPZLybW&pullRequest=732