8000 Avoid calling 'scan' two times in code recognizers by Wohops · Pull Request #297 · SonarSource/sonar-analyzer-commons · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Avoid calling 'scan' two times in code recognizers #297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

Wohops
Copy link
Contributor
@Wohops Wohops commented Jun 12, 2023

Should improve the performance of the following detectors:

  • CamelCaseDetector
  • ContainsDetector
  • EndWithDetector
  • KeywordsDetector
  • RegexDetector

@sonarsource-next
Copy link

@Wohops Wohops enabled auto-merge (rebase) June 12, 2023 07:30
@sns-seb
Copy link
sns-seb commented Jun 12, 2023

LGTM

I'm a bit concerned the test coverage is pretty light and wouldn't catch an unforeseen regression but the risks are super low from a code logic perspective

@Wohops Wohops merged commit 835fee4 into master Jun 12, 2023
@Wohops Wohops deleted the recognizers_improvement branch June 12, 2023 07:55
@alban-auzeill alban-auzeill added this to the 2.6 milestone Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0