Skip to content

Update android-test.yml

adfece9
Select commit
Loading
Failed to load commit list.
Open

feat: 升级PaddleOCR至v4版本,添加DevPlugin接口,修复无障碍权限和后台启动脚本问题 #182

Update android-test.yml
adfece9
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action May 21, 2026 in 0s

305 new issues (0 max.) of at least severity.

Annotations

Check warning on line 45 in app/src/main/java/org/autojs/autojs/devplugin/DevPluginServiceImpl.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

app/src/main/java/org/autojs/autojs/devplugin/DevPluginServiceImpl.kt#L45

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 45 in app/src/main/java/org/autojs/autojs/tool/AccessibilityProxyServiceImpl.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

app/src/main/java/org/autojs/autojs/tool/AccessibilityProxyServiceImpl.kt#L45

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 64 in autojs/src/main/java/com/stardust/autojs/core/accessibility/AccessibilityProxyAccessor.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

autojs/src/main/java/com/stardust/autojs/core/accessibility/AccessibilityProxyAccessor.kt#L64

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 54 in autojs/src/main/java/com/stardust/autojs/core/image/capture/ScreenCaptureRequestActivity.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

autojs/src/main/java/com/stardust/autojs/core/image/capture/ScreenCaptureRequestActivity.kt#L54

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 63 in autojs/src/main/java/com/stardust/autojs/core/plugin/DevPluginAccessor.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

autojs/src/main/java/com/stardust/autojs/core/plugin/DevPluginAccessor.kt#L63

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 71 in autojs/src/main/java/com/stardust/autojs/core/plugin/DevPluginWrapper.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

autojs/src/main/java/com/stardust/autojs/core/plugin/DevPluginWrapper.kt#L71

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 73 in autojs/src/main/java/com/stardust/autojs/core/plugin/DevPluginWrapper.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

autojs/src/main/java/com/stardust/autojs/core/plugin/DevPluginWrapper.kt#L73

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 74 in autojs/src/main/java/com/stardust/autojs/servicecomponents/EngineController.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

autojs/src/main/java/com/stardust/autojs/servicecomponents/EngineController.kt#L74

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 4 in autojs/src/main/js/v6-api/src/inline_modules/paddle.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

autojs/src/main/js/v6-api/src/inline_modules/paddle.ts#L4

Unexpected any. Specify a different type.

Check warning on line 86 in paddleocr/src/main/java/com/equationl/ncnnandroidppocr/Predictor.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/java/com/equationl/ncnnandroidppocr/Predictor.kt#L86

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

Check warning on line 163 in paddleocr/src/main/java/com/equationl/ncnnandroidppocr/Predictor.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/java/com/equationl/ncnnandroidppocr/Predictor.kt#L163

Exception is a too generic Exception. Prefer throwing specific exceptions that indicate a specific error case.

Check warning on line 288 in paddleocr/src/main/java/com/equationl/ncnnandroidppocr/Predictor.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/java/com/equationl/ncnnandroidppocr/Predictor.kt#L288

Exception is a too generic Exception. Prefer throwing specific exceptions that indicate a specific error case.

Check warning on line 309 in paddleocr/src/main/java/com/equationl/ncnnandroidppocr/Predictor.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/java/com/equationl/ncnnandroidppocr/Predictor.kt#L309

Exception is a too generic Exception. Prefer throwing specific exceptions that indicate a specific error case.

Check warning on line 49 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp#L49

Include file: <opencv2/core.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 138 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp#L138

Class 'Affine3 < float >' has a constructor with 1 argument that is not explicit.

Check warning on line 153 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp#L153

Class 'Affine3 < float >' has a constructor with 1 argument that is not explicit.

Check warning on line 164 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp#L164

Class 'Affine3 < float >' has a constructor with 1 argument that is not explicit.

Check warning on line 276 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp#L276

Class 'Affine3 < float >' has a constructor with 1 argument that is not explicit.

Check warning on line 277 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/affine.hpp#L277

Class 'Affine3 < float >' has a constructor with 1 argument that is not explicit.

Check warning on line 54 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/base.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/base.hpp#L54

Include file: <climits> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 8 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/bindings_utils.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/bindings_utils.hpp#L8

Include file: <opencv2/core/async.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 10 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/bindings_utils.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/bindings_utils.hpp#L10

Include file: <opencv2/core/utils/logger.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 12 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/bindings_utils.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/bindings_utils.hpp#L12

Include file: <stdexcept> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 53 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/cvstd.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/cvstd.hpp#L53

Include file: <cstring> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 59 in paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/cvstd.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

paddleocr/src/main/jni/opencv-mobile-4.13.0-android/sdk/native/jni/include/opencv2/core/cvstd.hpp#L59

Include file: <algorithm> not found. Please note: Cppcheck does not need standard library headers to get proper results.