← Legacy view v2 (rp.*)

adg-audisis/ocr-ia

https://github.com/ADG-AUDISIS/OCR-IA.git · lang: python · LOC: · source: user_submitted

Quality
67.8
Grade B-
Security
100.0
Findings
30
0 critical · 25 high
Status
completed
May 27, 2026 21:20
high: 25 medium: 3 info: 2
Top rules by occurrence
RuleSeverityCount
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
First 30 findings (severity-sorted)
high 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…
high 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…
high 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 …
high 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…
high 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).…
high 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).…
high 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).…
high 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).…
high 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).…
high 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…
high 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…
high 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…
high 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…
high 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…
high 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…
high 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…
high 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…
high 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…
high 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…
high 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…
high 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…
high 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…
high 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…
high 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 …
high 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…
medium 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.
medium CORE_LARGE_FILES Average file size is 1080 lines (recommend <300)
Average file size is 736 lines (recommend <300)
medium 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.
info CORE_NO_CI No CI/CD configuration found
· conf 0.35
No CI/CD configuration found
info 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/.