[FEATURE] Migrate and Enhance Adaptive Service Throttling in dubbo-go#3347
[FEATURE] Migrate and Enhance Adaptive Service Throttling in dubbo-go#3347nagisa-kunhah wants to merge 10 commits into
Quality Gate passed
Annotations
Check warning on line 102 in filter/adaptivesvc/limiter_mapper.go
sonarqubecloud / SonarCloud Code Analysis
Group together these consecutive parameters of the same type.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwKfUJpQcxyEbkRJ&open=AZ51BwKfUJpQcxyEbkRJ&pullRequest=3347
Check warning on line 89 in filter/adaptivesvc/limiter_mapper.go
sonarqubecloud / SonarCloud Code Analysis
Group together these consecutive parameters of the same type.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwKfUJpQcxyEbkRI&open=AZ51BwKfUJpQcxyEbkRI&pullRequest=3347
Check warning on line 43 in presee_test/adaptive_service/protect_provider/client/main.go
sonarqubecloud / SonarCloud Code Analysis
Add a comment explaining why this blank import is needed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwNvUJpQcxyEbkRV&open=AZ51BwNvUJpQcxyEbkRV&pullRequest=3347
Check failure on line 59 in presee_test/adaptive_service/protect_provider/proto/protect.pb.go
sonarqubecloud / SonarCloud Code Analysis
Add a nested comment explaining why this function is empty or complete the implementation.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwNnUJpQcxyEbkRP&open=AZ51BwNnUJpQcxyEbkRP&pullRequest=3347
Check failure on line 48 in presee_test/adaptive_service/protect_provider/proto/protect.triple.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "adaptive.protect.ProtectService" 4 times.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwNgUJpQcxyEbkRO&open=AZ51BwNgUJpQcxyEbkRO&pullRequest=3347
Check warning on line 38 in presee_test/adaptive_service/rtt_shrink/server/main.go
sonarqubecloud / SonarCloud Code Analysis
Add a comment explaining why this blank import is needed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwNRUJpQcxyEbkRK&open=AZ51BwNRUJpQcxyEbkRK&pullRequest=3347
Check failure on line 191 in presee_test/adaptive_service/rtt_shrink/client/main.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwNZUJpQcxyEbkRM&open=AZ51BwNZUJpQcxyEbkRM&pullRequest=3347
Check failure on line 127 in presee_test/adaptive_service/protect_provider/client/main.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwNvUJpQcxyEbkRT&open=AZ51BwNvUJpQcxyEbkRT&pullRequest=3347
Check failure on line 236 in presee_test/adaptive_service/p2c_healthy/client/main.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwN_UJpQcxyEbkRZ&open=AZ51BwN_UJpQcxyEbkRZ&pullRequest=3347
Check warning on line 44 in presee_test/adaptive_service/p2c_healthy/client/main.go
sonarqubecloud / SonarCloud Code Analysis
Add a comment explaining why this blank import is needed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwN_UJpQcxyEbkRb&open=AZ51BwN_UJpQcxyEbkRb&pullRequest=3347
Check warning on line 186 in presee_test/adaptive_service/protect_provider/proto/protect.pb.go
sonarqubecloud / SonarCloud Code Analysis
Rename function "file_presee_test_adaptive_service_protect_provider_proto_protect_proto_init" to match the regular expression ^(_|[a-zA-Z0-9]+)$
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51WfaQxhoxqMM9vRUo&open=AZ51WfaQxhoxqMM9vRUo&pullRequest=3347
Check warning on line 163 in presee_test/adaptive_service/protect_provider/proto/protect.pb.go
sonarqubecloud / SonarCloud Code Analysis
Rename function "file_presee_test_adaptive_service_protect_provider_proto_protect_proto_rawDescGZIP" to match the regular expression ^(_|[a-zA-Z0-9]+)$
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51WfaQxhoxqMM9vRUn&open=AZ51WfaQxhoxqMM9vRUn&pullRequest=3347
Check failure on line 427 in presee_test/adaptive_service/p2c_healthy/client/main.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "provider-%d" 3 times.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwN-UJpQcxyEbkRX&open=AZ51BwN-UJpQcxyEbkRX&pullRequest=3347
Check warning on line 68 in presee_test/adaptive_service/protect_provider/proto/protect.triple.go
sonarqubecloud / SonarCloud Code Analysis
Rename this interface to follow Go naming conventions for single-method interfaces.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51WfcYxhoxqMM9vRUp&open=AZ51WfcYxhoxqMM9vRUp&pullRequest=3347
Check warning on line 35 in presee_test/adaptive_service/protect_provider/server/main.go
sonarqubecloud / SonarCloud Code Analysis
Add a comment explaining why this blank import is needed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwN2UJpQcxyEbkRW&open=AZ51BwN2UJpQcxyEbkRW&pullRequest=3347
Check failure on line 295 in presee_test/adaptive_service/p2c_healthy/client/main.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwN_UJpQcxyEbkRa&open=AZ51BwN_UJpQcxyEbkRa&pullRequest=3347
Check failure on line 111 in presee_test/adaptive_service/protect_provider/proto/protect.pb.go
sonarqubecloud / SonarCloud Code Analysis
Add a nested comment explaining why this function is empty or complete the implementation.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwNnUJpQcxyEbkRQ&open=AZ51BwNnUJpQcxyEbkRQ&pullRequest=3347
Check failure on line 177 in presee_test/adaptive_service/p2c_healthy/client/main.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwN-UJpQcxyEbkRY&open=AZ51BwN-UJpQcxyEbkRY&pullRequest=3347
Check warning on line 44 in presee_test/adaptive_service/rtt_shrink/client/main.go
sonarqubecloud / SonarCloud Code Analysis
Add a comment explaining why this blank import is needed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwNZUJpQcxyEbkRN&open=AZ51BwNZUJpQcxyEbkRN&pullRequest=3347
Check warning on line 36 in presee_test/adaptive_service/p2c_healthy/server/main.go
sonarqubecloud / SonarCloud Code Analysis
Add a comment explaining why this blank import is needed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwOFUJpQcxyEbkRc&open=AZ51BwOFUJpQcxyEbkRc&pullRequest=3347
Check failure on line 143 in presee_test/adaptive_service/rtt_shrink/client/main.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwNZUJpQcxyEbkRL&open=AZ51BwNZUJpQcxyEbkRL&pullRequest=3347
Check failure on line 177 in presee_test/adaptive_service/protect_provider/client/main.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ51BwNvUJpQcxyEbkRU&open=AZ51BwNvUJpQcxyEbkRU&pullRequest=3347