https://github.com/ADG-AUDISIS/OCR-IA.git ·
lang: python ·
LOC: ·
source: user_submitted
| Rule | Severity | Count |
|---|---|---|
MINED108 self.attribute used but never assigned in __init__ |
high | 25 |
MINED111 Bare except continues silently |
medium | 1 |
CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of co… |
medium | 1 |
CORE_LARGE_FILES Average file size is 1080 lines (recommend <300) |
medium | 1 |
CORE_NO_CI No CI/CD configuration found |
medium | 1 |
CORE_NO_TESTS No test files found |
high | 1 |
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:160
· conf 1.00
[MINED108] `self._unsafe_log` used but never assigned in __init__: Method `_process_ui_queue` of class `OCRApp` reads `self._unsafe_log`, but no assignment to it exists in __init__ (and no class-leve…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:162
· conf 1.00
[MINED108] `self.progress` used but never assigned in __init__: Method `_process_ui_queue` of class `OCRApp` reads `self.progress`, but no assignment to it exists in __init__ (and no class-level fall…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:164
· conf 1.00
[MINED108] `self.status_var` used but never assigned in __init__: Method `_process_ui_queue` of class `OCRApp` reads `self.status_var`, but no assignment to it exists in __init__ (and no class-level …
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:167
· conf 1.00
[MINED108] `self._process_ui_queue` used but never assigned in __init__: Method `_process_ui_queue` of class `OCRApp` reads `self._process_ui_queue`, but no assignment to it exists in __init__ (and n…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:171
· conf 1.00
[MINED108] `self.log_text` used but never assigned in __init__: Method `_unsafe_log` of class `OCRApp` reads `self.log_text`, but no assignment to it exists in __init__ (and no class-level fallback).…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:173
· conf 1.00
[MINED108] `self.log_text` used but never assigned in __init__: Method `_unsafe_log` of class `OCRApp` reads `self.log_text`, but no assignment to it exists in __init__ (and no class-level fallback).…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:175
· conf 1.00
[MINED108] `self.log_text` used but never assigned in __init__: Method `_unsafe_log` of class `OCRApp` reads `self.log_text`, but no assignment to it exists in __init__ (and no class-level fallback).…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:176
· conf 1.00
[MINED108] `self.log_text` used but never assigned in __init__: Method `_unsafe_log` of class `OCRApp` reads `self.log_text`, but no assignment to it exists in __init__ (and no class-level fallback).…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:177
· conf 1.00
[MINED108] `self.log_text` used but never assigned in __init__: Method `_unsafe_log` of class `OCRApp` reads `self.log_text`, but no assignment to it exists in __init__ (and no class-level fallback).…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:192
· conf 1.00
[MINED108] `self.log` used but never assigned in __init__: Method `show_error` of class `OCRApp` reads `self.log`, but no assignment to it exists in __init__ (and no class-level fallback). This raise…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:197
· conf 1.00
[MINED108] `self.log` used but never assigned in __init__: Method `show_warning` of class `OCRApp` reads `self.log`, but no assignment to it exists in __init__ (and no class-level fallback). This rai…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:200
· conf 1.00
[MINED108] `self._stop_kobold` used but never assigned in __init__: Method `on_close` of class `OCRApp` reads `self._stop_kobold`, but no assignment to it exists in __init__ (and no class-level fallb…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:209
· conf 1.00
[MINED108] `self.log` used but never assigned in __init__: Method `_stop_kobold` of class `OCRApp` reads `self.log`, but no assignment to it exists in __init__ (and no class-level fallback). This rai…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:219
· conf 1.00
[MINED108] `self.log` used but never assigned in __init__: Method `_stop_kobold` of class `OCRApp` reads `self.log`, but no assignment to it exists in __init__ (and no class-level fallback). This rai…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:222
· conf 1.00
[MINED108] `self.log` used but never assigned in __init__: Method `_stop_kobold` of class `OCRApp` reads `self.log`, but no assignment to it exists in __init__ (and no class-level fallback). This rai…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:229
· conf 1.00
[MINED108] `self.log` used but never assigned in __init__: Method `_stop_kobold` of class `OCRApp` reads `self.log`, but no assignment to it exists in __init__ (and no class-level fallback). This rai…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:253
· conf 1.00
[MINED108] `self.show_error` used but never assigned in __init__: Method `_start_kobold` of class `OCRApp` reads `self.show_error`, but no assignment to it exists in __init__ (and no class-level fall…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:261
· conf 1.00
[MINED108] `self.show_error` used but never assigned in __init__: Method `_start_kobold` of class `OCRApp` reads `self.show_error`, but no assignment to it exists in __init__ (and no class-level fall…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:264
· conf 1.00
[MINED108] `self._kill_previous_kobold` used but never assigned in __init__: Method `_start_kobold` of class `OCRApp` reads `self._kill_previous_kobold`, but no assignment to it exists in __init__ (a…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:273
· conf 1.00
[MINED108] `self.log` used but never assigned in __init__: Method `_start_kobold` of class `OCRApp` reads `self.log`, but no assignment to it exists in __init__ (and no class-level fallback). This ra…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:274
· conf 1.00
[MINED108] `self.update_status` used but never assigned in __init__: Method `_start_kobold` of class `OCRApp` reads `self.update_status`, but no assignment to it exists in __init__ (and no class-leve…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:294
· conf 1.00
[MINED108] `self.log` used but never assigned in __init__: Method `_start_kobold` of class `OCRApp` reads `self.log`, but no assignment to it exists in __init__ (and no class-level fallback). This ra…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:298
· conf 1.00
[MINED108] `self.show_error` used but never assigned in __init__: Method `_start_kobold` of class `OCRApp` reads `self.show_error`, but no assignment to it exists in __init__ (and no class-level fall…
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:316
· conf 1.00
[MINED108] `self._stop_kobold` used but never assigned in __init__: Method `_start_kobold` of class `OCRApp` reads `self._stop_kobold`, but no assignment to it exists in __init__ (and no class-level …
MINED108
self.attribute used but never assigned in __init__
CWE-476
OCR-IA.py:317
· conf 1.00
[MINED108] `self.show_error` used but never assigned in __init__: Method `_start_kobold` of class `OCRApp` reads `self.show_error`, but no assignment to it exists in __init__ (and no class-level fall…
CFG006
[CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build artifacts.
· conf 1.00
[CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build artifacts.
CORE_LARGE_FILES
Average file size is 1080 lines (recommend <300)
Average file size is 736 lines (recommend <300)
MINED111
Bare except continues silently
OCR-IA.py:297
· conf 1.00
[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
CORE_NO_CI
No CI/CD configuration found
· conf 0.35
No CI/CD configuration found
CORE_NO_TESTS
No test files found
· conf 0.35
No test files found in a documentation, catalog, or template-heavy repository
Reading from rp.scan + rp.finding + rp.rule (unified schema, R78 series). Legacy data path unchanged. Compare with /scan/fa977b99-02b7-464d-adc0-9d411c7a7b4d/.