Repository navigation
Add throttled VIP Search query observability - #7114
Quality Gate passed
Annotations
Check warning on line 135 in search/includes/classes/class-query-classifier.php
sonarqubecloud / SonarCloud Code Analysis
This method has 12 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=Automattic_vip-go-mu-plugins&issues=AaAVuAgQaKNbFduUg_ID&open=AaAVuAgQaKNbFduUg_ID&pullRequest=7114
Check warning on line 157 in search/includes/classes/class-query-warning.php
sonarqubecloud / SonarCloud Code Analysis
This method has 4 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=Automattic_vip-go-mu-plugins&issues=AaAVuAnFaKNbFduUg_IM&open=AaAVuAnFaKNbFduUg_IM&pullRequest=7114
Check warning on line 207 in search/includes/classes/class-query-classifier.php
sonarqubecloud / SonarCloud Code Analysis
This method has 7 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=Automattic_vip-go-mu-plugins&issues=AaAVuAgQaKNbFduUg_IE&open=AaAVuAgQaKNbFduUg_IE&pullRequest=7114
Check warning on line 876 in search/includes/classes/class-search.php
sonarqubecloud / SonarCloud Code Analysis
This function "filter__ep_do_intercept_request" has 157 lines, which is greater than the 150 lines authorized. Split it into smaller functions.
See more on https://sonarcloud.io/project/issues?id=Automattic_vip-go-mu-plugins&issues=AaAVuAmHaKNbFduUg_IJ&open=AaAVuAmHaKNbFduUg_IJ&pullRequest=7114
Check failure on line 207 in search/includes/classes/class-query-classifier.php
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Automattic_vip-go-mu-plugins&issues=AaAVuAgQaKNbFduUg_II&open=AaAVuAgQaKNbFduUg_II&pullRequest=7114
Check failure on line 135 in search/includes/classes/class-query-classifier.php
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 46 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Automattic_vip-go-mu-plugins&issues=AaAVuAgQaKNbFduUg_IH&open=AaAVuAgQaKNbFduUg_IH&pullRequest=7114
Check warning on line 304 in search/includes/classes/class-query-classifier.php
sonarqubecloud / SonarCloud Code Analysis
This method has 4 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=Automattic_vip-go-mu-plugins&issues=AaAVuAgQaKNbFduUg_IF&open=AaAVuAgQaKNbFduUg_IF&pullRequest=7114
Check warning on line 39 in search/includes/classes/class-query-warning.php
sonarqubecloud / SonarCloud Code Analysis
This method has 5 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=Automattic_vip-go-mu-plugins&issues=AaAVuAnFaKNbFduUg_IL&open=AaAVuAnFaKNbFduUg_IL&pullRequest=7114
Check warning on line 320 in search/includes/classes/class-query-classifier.php
sonarqubecloud / SonarCloud Code Analysis
This method has 5 returns, which is more than the 3 allowed.
See more on https://sonarcloud.io/project/issues?id=Automattic_vip-go-mu-plugins&issues=AaAVuAgQaKNbFduUg_IG&open=AaAVuAgQaKNbFduUg_IG&pullRequest=7114
Check warning on line 174 in search/includes/classes/class-query-warning.php
sonarqubecloud / SonarCloud Code Analysis
Replace these character ranges with Unicode-aware character classes.
See more on https://sonarcloud.io/project/issues?id=Automattic_vip-go-mu-plugins&issues=AaAVuAnFaKNbFduUg_IK&open=AaAVuAnFaKNbFduUg_IK&pullRequest=7114