feat: 升级PaddleOCR至v4版本,添加DevPlugin接口,修复无障碍权限和后台启动脚本问题 #182
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
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.
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.
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.
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.
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
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
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.
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
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
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
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
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.