多模态模型细分类别 以及开发视频音频理解工具#2888
Quality Gate failed
Failed conditions
3.9% Duplication on New Code (required ≤ 3%)
D Security Rating on New Code (required ≥ A)
C Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check failure on line 14 in test/sdk/core/tools/test_analyze_video_tool.py
sonarqubecloud / SonarCloud Code Analysis
Add a nested comment explaining why this method is empty, or complete the implementation.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtuhT5pBwlN5gpHg&open=AZ3TZtuhT5pBwlN5gpHg&pullRequest=2888
Check warning on line 68 in backend/services/image_service.py
sonarqubecloud / SonarCloud Code Analysis
Fix this condition that always evaluates to true.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtrKT5pBwlN5gpHd&open=AZ3TZtrKT5pBwlN5gpHd&pullRequest=2888
Check warning on line 3 in frontend/app/[locale]/chat/components/chatInput.tsx
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import of 'FileAudio'.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtg4T5pBwlN5gpHV&open=AZ3TZtg4T5pBwlN5gpHV&pullRequest=2888
Check warning on line 767 in backend/services/tool_configuration_service.py
sonarqubecloud / SonarCloud Code Analysis
Either merge this branch with the identical one on line "736" or change one of the implementations.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtqNT5pBwlN5gpHc&open=AZ3TZtqNT5pBwlN5gpHc&pullRequest=2888
Check failure on line 135 in sdk/nexent/core/tools/analyze_video_tool.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtwZT5pBwlN5gpHq&open=AZ3TZtwZT5pBwlN5gpHq&pullRequest=2888
Check warning on line 131 in backend/services/model_health_service.py
sonarqubecloud / SonarCloud Code Analysis
Either merge this branch with the identical one on line "114" or change one of the implementations.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtpOT5pBwlN5gpHb&open=AZ3TZtpOT5pBwlN5gpHb&pullRequest=2888
Check failure on line 15 in backend/services/providers/silicon_provider.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 28 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtpAT5pBwlN5gpHZ&open=AZ3TZtpAT5pBwlN5gpHZ&pullRequest=2888
Check failure on line 98 in sdk/nexent/core/agents/nexent_agent.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 25 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtzOT5pBwlN5gpHu&open=AZ3TZtzOT5pBwlN5gpHu&pullRequest=2888
Check warning on line 152 in sdk/nexent/core/agents/nexent_agent.py
sonarqubecloud / SonarCloud Code Analysis
Either merge this branch with the identical one on line "142" or change one of the implementations.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtzOT5pBwlN5gpHv&open=AZ3TZtzOT5pBwlN5gpHv&pullRequest=2888
Check warning on line 1001 in frontend/app/[locale]/chat/components/chatInput.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtg4T5pBwlN5gpHW&open=AZ3TZtg4T5pBwlN5gpHW&pullRequest=2888
Check warning on line 151 in sdk/nexent/core/tools/analyze_audio_tool.py
sonarqubecloud / SonarCloud Code Analysis
Replace this generic exception class with a more specific one.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtv7T5pBwlN5gpHm&open=AZ3TZtv7T5pBwlN5gpHm&pullRequest=2888
Check warning on line 202 in sdk/nexent/core/tools/analyze_video_tool.py
sonarqubecloud / SonarCloud Code Analysis
Replace this generic exception class with a more specific one.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtwZT5pBwlN5gpHt&open=AZ3TZtwZT5pBwlN5gpHt&pullRequest=2888
Check failure on line 62 in backend/services/providers/silicon_provider.py
sonarqubecloud / SonarCloud Code Analysis
Enable server certificate validation on this SSL/TLS connection.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtpAT5pBwlN5gpHa&open=AZ3TZtpAT5pBwlN5gpHa&pullRequest=2888
Check failure on line 63 in sdk/nexent/core/models/image_generation_model.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "/images/generations" 3 times.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtuyT5pBwlN5gpHj&open=AZ3TZtuyT5pBwlN5gpHj&pullRequest=2888
Check warning on line 159 in sdk/nexent/core/tools/analyze_video_tool.py
sonarqubecloud / SonarCloud Code Analysis
Replace this generic exception class with a more specific one.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtwZT5pBwlN5gpHr&open=AZ3TZtwZT5pBwlN5gpHr&pullRequest=2888
Check warning on line 1001 in frontend/app/[locale]/chat/components/chatInput.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtg4T5pBwlN5gpHX&open=AZ3TZtg4T5pBwlN5gpHX&pullRequest=2888
Check failure on line 175 in docker/sql/v2.0.3_0424_fix_missing_a2a_tables.sql
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal 3 times.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtuqT5pBwlN5gpHi&open=AZ3TZtuqT5pBwlN5gpHi&pullRequest=2888
Check failure on line 571 in backend/agents/create_agent_info.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtr7T5pBwlN5gpHe&open=AZ3TZtr7T5pBwlN5gpHe&pullRequest=2888
Check warning on line 186 in sdk/nexent/core/tools/analyze_audio_tool.py
sonarqubecloud / SonarCloud Code Analysis
Replace this generic exception class with a more specific one.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtv7T5pBwlN5gpHn&open=AZ3TZtv7T5pBwlN5gpHn&pullRequest=2888
Check failure on line 14 in test/sdk/core/tools/test_analyze_audio_tool.py
sonarqubecloud / SonarCloud Code Analysis
Add a nested comment explaining why this method is empty, or complete the implementation.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtuXT5pBwlN5gpHf&open=AZ3TZtuXT5pBwlN5gpHf&pullRequest=2888
Check failure on line 129 in sdk/nexent/core/tools/analyze_audio_tool.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtv7T5pBwlN5gpHl&open=AZ3TZtv7T5pBwlN5gpHl&pullRequest=2888
Check warning on line 194 in sdk/nexent/core/tools/analyze_video_tool.py
sonarqubecloud / SonarCloud Code Analysis
Replace this generic exception class with a more specific one.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtwZT5pBwlN5gpHs&open=AZ3TZtwZT5pBwlN5gpHs&pullRequest=2888
Check failure on line 102 in sdk/nexent/core/tools/analyze_image_tool.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtwMT5pBwlN5gpHp&open=AZ3TZtwMT5pBwlN5gpHp&pullRequest=2888
Check failure on line 165 in docker/sql/v2.0.3_0424_fix_missing_a2a_tables.sql
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal 3 times.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtuqT5pBwlN5gpHh&open=AZ3TZtuqT5pBwlN5gpHh&pullRequest=2888
Check warning on line 25 in sdk/nexent/core/models/image_generation_model.py
sonarqubecloud / SonarCloud Code Analysis
Remove this "timeout" parameter and use a timeout context manager instead.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ3TZtuyT5pBwlN5gpHk&open=AZ3TZtuyT5pBwlN5gpHk&pullRequest=2888