视觉小说翻译器 / Visual Novel Translator
This report summarizes scanner evidence for HIllya51/LunaTranslator, a C++ project with 13,667 GitHub stars. SynthScan examined 278,190 lines of code across 1353 source files, recording 1319 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 6.9 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 563 finding(s).
Are imports declared and package/API names verified? 492 finding(s).
Are wrappers, guards, and repeated structures necessary? 433 finding(s).
Which changes need focused human review? 1319 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1319 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/trans_lang.py | 42 | except: | CODE |
| HIGH | …tiveImpl/LunaHook/LunaHook/resource/renpy_hook_text.py | 96 | except: | CODE |
| HIGH | …tiveImpl/LunaHook/LunaHook/resource/renpy_hook_text.py | 115 | except: | CODE |
| HIGH | …tiveImpl/LunaHook/LunaHook/resource/renpy_hook_text.py | 16 | except: | CODE |
| HIGH | …tiveImpl/LunaHook/LunaHook/resource/renpy_hook_font.py | 70 | except: | CODE |
| HIGH | src/LunaTranslator/LunaSubProcess.py | 404 | except: | CODE |
| HIGH | src/LunaTranslator/LunaSubProcess.py | 473 | except: | CODE |
| HIGH | src/LunaTranslator/NativeUtils.py | 996 | except: | CODE |
| HIGH | src/LunaTranslator/NativeUtils.py | 756 | except: | CODE |
| HIGH | src/LunaTranslator/NativeUtils.py | 772 | except: | CODE |
| HIGH | src/LunaTranslator/NativeUtils.py | 778 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 1052 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 1254 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 708 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 1385 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 508 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 1005 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 1309 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 949 | except: | CODE |
| HIGH | src/LunaTranslator/gobject.py | 66 | except: | CODE |
| HIGH | src/LunaTranslator/textio/textsource/ocrtext.py | 202 | except: | CODE |
| HIGH | src/LunaTranslator/textio/textsource/textsourcebase.py | 127 | except: | CODE |
| HIGH | src/LunaTranslator/textio/textsource/textsourcebase.py | 87 | except: | CODE |
| HIGH | src/LunaTranslator/textio/textsource/textsourcebase.py | 157 | except: | CODE |
| HIGH | src/LunaTranslator/textio/textsource/texthook.py | 168 | except: | CODE |
| HIGH | src/LunaTranslator/textio/textsource/texthook.py | 420 | except: | CODE |
| HIGH | src/LunaTranslator/textio/textsource/texthook.py | 784 | except: | CODE |
| HIGH | src/LunaTranslator/network/server/tcpservice.py | 143 | except: | CODE |
| HIGH | …c/LunaTranslator/network/server/servicecollection_1.py | 22 | except: | CODE |
| HIGH | src/LunaTranslator/ocrengines/weixinocr.py | 91 | except: | CODE |
| HIGH | src/LunaTranslator/ocrengines/tesseract5.py | 94 | except: | CODE |
| HIGH | src/LunaTranslator/ocrengines/mangaocr.py | 23 | except: | CODE |
| HIGH | src/LunaTranslator/translator/rengong.py | 33 | except: | CODE |
| HIGH | src/LunaTranslator/translator/cdp_helper.py | 298 | except: | CODE |
| HIGH | src/LunaTranslator/translator/cdp_helper.py | 168 | except: | CODE |
| HIGH | src/LunaTranslator/cishu/mdict.py | 25 | except: | CODE |
| HIGH | src/LunaTranslator/cishu/mdict.py | 284 | except: | CODE |
| HIGH | src/LunaTranslator/cishu/mojidict.py | 622 | except: | CODE |
| HIGH | src/LunaTranslator/cishu/mojidict.py | 626 | except: | CODE |
| HIGH | src/LunaTranslator/cishu/cishubase.py | 20 | except: | CODE |
| HIGH | src/LunaTranslator/tts/tolk.py | 189 | except: | CODE |
| HIGH | src/LunaTranslator/tts/gptsovits.py | 110 | except requests.exceptions.RequestException: | CODE |
| HIGH | src/LunaTranslator/tts/gptsovits.py | 126 | except requests.exceptions.RequestException: | CODE |
| HIGH | src/LunaTranslator/tts/voiceroid2.py | 110 | except: | CODE |
| HIGH | src/LunaTranslator/tts/windowstts.py | 29 | except: | CODE |
| HIGH | src/LunaTranslator/tts/windowstts.py | 78 | except Exception: | CODE |
| HIGH | src/LunaTranslator/tts/windowstts.py | 21 | except: | CODE |
| HIGH | src/LunaTranslator/tts/windowstts.py | 27 | except: | CODE |
| HIGH | src/LunaTranslator/gui/specialwidget.py | 1025 | except: | CODE |
| HIGH | src/LunaTranslator/gui/selecthook.py | 862 | except: | CODE |
| HIGH | src/LunaTranslator/gui/selecthook.py | 898 | except: | CODE |
| HIGH | src/LunaTranslator/gui/selecthook.py | 621 | except: | CODE |
| HIGH | src/LunaTranslator/gui/selecthook.py | 830 | except: | CODE |
| HIGH | src/LunaTranslator/gui/selecthook.py | 172 | except: | CODE |
| HIGH | src/LunaTranslator/gui/edittext.py | 216 | except: | CODE |
| HIGH | src/LunaTranslator/gui/ocrtranslationoverlay.py | 93 | except RuntimeError: | CODE |
| HIGH | src/LunaTranslator/gui/ocrtranslationoverlay.py | 238 | except (AttributeError, OSError): | CODE |
| HIGH | src/LunaTranslator/gui/ocrtranslationoverlay.py | 124 | except (AttributeError, OSError): | CODE |
| HIGH | src/LunaTranslator/gui/ocrtranslationoverlay.py | 321 | except (AttributeError, OSError): | CODE |
| HIGH | src/LunaTranslator/gui/ocrtranslationoverlay.py | 429 | except (AttributeError, OSError): | CODE |
| 83 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/check_ocr_overlay_ui.py | 3 | CODE | |
| LOW | tests/check_ocr_overlay_ui.py | 4 | CODE | |
| LOW | tests/check_ocr_overlay_ui.py | 10 | CODE | |
| LOW | tests/check_ocr_overlay_ui.py | 69 | CODE | |
| LOW | tests/test_ocr_translation_overlay.py | 34 | CODE | |
| LOW | src/trans_lang.py | 5 | CODE | |
| LOW | src/keeprefs.py | 1 | CODE | |
| LOW | src/keeprefs.py | 2 | CODE | |
| LOW | src/keeprefs.py | 3 | CODE | |
| LOW | src/keeprefs.py | 4 | CODE | |
| LOW | src/keeprefs.py | 5 | CODE | |
| LOW | src/keeprefs.py | 6 | CODE | |
| LOW | src/keeprefs.py | 7 | CODE | |
| LOW | src/keeprefs.py | 8 | CODE | |
| LOW | src/keeprefs.py | 9 | CODE | |
| LOW | src/keeprefs.py | 10 | CODE | |
| LOW | src/keeprefs.py | 11 | CODE | |
| LOW | src/keeprefs.py | 12 | CODE | |
| LOW | src/keeprefs.py | 13 | CODE | |
| LOW | src/keeprefs.py | 14 | CODE | |
| LOW | src/keeprefs.py | 15 | CODE | |
| LOW | src/keeprefs.py | 16 | CODE | |
| LOW | src/keeprefs.py | 17 | CODE | |
| LOW | src/keeprefs.py | 18 | CODE | |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/PiAS.py | 3 | CODE | |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/PiAS.py | 4 | CODE | |
| LOW | …mpl/LunaHook/LunaHook/engine32/PiAS_Ningyou_no_Hako.py | 1 | CODE | |
| LOW | src/LunaTranslator/CVUtils.py | 14 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 3 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 81 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 82 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 83 | CODE | |
| LOW | src/LunaTranslator/requests.py | 3 | CODE | |
| LOW | src/LunaTranslator/gobject.py | 69 | CODE | |
| LOW | src/LunaTranslator/qtawesome.py | 3 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 5 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 5 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| LOW | src/LunaTranslator/qtsymbols.py | 6 | CODE | |
| 409 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Leaf.py | 5 | CODE | |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/PiAS.py | 7 | CODE | |
| LOW | …mpl/LunaHook/LunaHook/engine32/PiAS_Ningyou_no_Hako.py | 6 | CODE | |
| LOW | …mpl/LunaHook/LunaHook/engine32/PiAS_Ningyou_no_Hako.py | 44 | CODE | |
| LOW | …mpl/LunaHook/LunaHook/engine32/PiAS_Ningyou_no_Hako.py | 74 | CODE | |
| LOW | …tiveImpl/LunaHook/LunaHook/resource/renpy_hook_text.py | 70 | CODE | |
| LOW | …tiveImpl/LunaHook/LunaHook/resource/renpy_hook_text.py | 71 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 237 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 377 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 429 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 458 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 475 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 489 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 911 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1028 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1074 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1115 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1293 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1315 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1796 | CODE | |
| LOW | src/LunaTranslator/zhconv.py | 30 | CODE | |
| LOW | src/LunaTranslator/requests.py | 219 | CODE | |
| LOW | src/LunaTranslator/requests.py | 294 | CODE | |
| LOW | src/LunaTranslator/main.py | 149 | CODE | |
| LOW | src/LunaTranslator/main.py | 218 | CODE | |
| LOW | src/LunaTranslator/transoptimi/arabic_reshaper.py | 2964 | CODE | |
| LOW | src/LunaTranslator/transoptimi/arabic_reshaper.py | 2987 | CODE | |
| LOW | src/LunaTranslator/transoptimi/arabic_reshaper.py | 3103 | CODE | |
| LOW | src/LunaTranslator/textio/textsource/mssr.py | 223 | CODE | |
| LOW | src/LunaTranslator/textio/textsource/ocrtext.py | 102 | CODE | |
| LOW | src/LunaTranslator/textio/textsource/ocrtext.py | 260 | CODE | |
| LOW | src/LunaTranslator/textio/textsource/filetrans.py | 198 | CODE | |
| LOW | src/LunaTranslator/textio/textsource/filetrans.py | 216 | CODE | |
| LOW | src/LunaTranslator/textio/textsource/textsourcebase.py | 130 | CODE | |
| LOW | src/LunaTranslator/textio/textsource/texthook.py | 269 | CODE | |
| LOW | src/LunaTranslator/textio/textsource/texthook.py | 592 | CODE | |
| LOW | src/LunaTranslator/network/server/tcpservice.py | 41 | CODE | |
| LOW | src/LunaTranslator/network/server/tcpservice.py | 82 | CODE | |
| LOW | src/LunaTranslator/network/server/tcpservice.py | 241 | CODE | |
| LOW | …c/LunaTranslator/network/server/servicecollection_1.py | 12 | CODE | |
| LOW | src/LunaTranslator/network/client/libcurl/requester.py | 75 | CODE | |
| LOW | src/LunaTranslator/ocrengines/tesseract5.py | 57 | CODE | |
| LOW | src/LunaTranslator/ocrengines/googlecloudvision.py | 7 | CODE | |
| LOW | src/LunaTranslator/ocrengines/volcengine.py | 357 | CODE | |
| LOW | src/LunaTranslator/ocrengines/local.py | 185 | CODE | |
| LOW | src/LunaTranslator/ocrengines/local.py | 227 | CODE | |
| LOW | src/LunaTranslator/ocrengines/local.py | 356 | CODE | |
| LOW | src/LunaTranslator/ocrengines/baseocrclass.py | 234 | CODE | |
| LOW | src/LunaTranslator/translator/huoshanapi.py | 336 | CODE | |
| LOW | src/LunaTranslator/translator/sakura_base.py | 114 | CODE | |
| LOW | src/LunaTranslator/translator/sakura_base.py | 282 | CODE | |
| LOW | src/LunaTranslator/translator/basetranslator.py | 281 | CODE | |
| LOW | src/LunaTranslator/translator/basetranslator.py | 337 | CODE | |
| LOW | src/LunaTranslator/translator/jb7.py | 14 | CODE | |
| LOW | src/LunaTranslator/translator/premt.py | 62 | CODE | |
| LOW | src/LunaTranslator/translator/rengong.py | 24 | CODE | |
| LOW | src/LunaTranslator/translator/rengong.py | 76 | CODE | |
| LOW | src/LunaTranslator/translator/rengong.py | 97 | CODE | |
| LOW | src/LunaTranslator/translator/gptcommon.py | 43 | CODE | |
| LOW | src/LunaTranslator/translator/gptcommon.py | 149 | CODE | |
| 153 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/buildlunahook.yml | 21 | with: | COMMENT |
| LOW | .github/workflows/buildlunahook.yml | 41 | # with: | COMMENT |
| LOW | src/NativeImpl/pch.h | 1 | #pragma once | COMMENT |
| LOW | src/NativeImpl/pch.h | 21 | #include <atlsync.h> | COMMENT |
| LOW | src/NativeImpl/pch.h | 41 | #include <comdef.h> | COMMENT |
| LOW | src/NativeImpl/pch.h | 61 | #include <shlobj.h> | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/NoEngine.h | 41 | COMMENT | |
| LOW | src/NativeImpl/LunaHook/LunaHook/NoEngine.h | 121 | }; | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/NoEngine.h | 141 | // return (Util::CheckFile(str)); | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection64.cpp | 1 | #include "engine64/Godot.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection64.cpp | 21 | #include "engine64/LightVN.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/veh_hook.h | 1 | /** | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/pchhook.h | 1 | #include "../include/pch.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/pchhook.h | 21 | COMMENT | |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 1 | #include "engine32/LovaGame.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 21 | #include "engine32/RibbonMagic.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 41 | #include "engine32/FrontWing.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 61 | #include "engine32/RPGMakerRGSS3.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 81 | #include "engine32/Eushully.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 101 | #include "engine32/Tenco.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 121 | #include "engine32/Live.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 141 | #include "engine32/Nitroplus.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 161 | #include "engine32/Minori.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 181 | #include "engine32/Pensil.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 201 | #include "engine32/System4x.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Cotopha.cpp | 541 | if (text[0] == w_open && text[::wcslen(text) - 1] == w_close) | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Cotopha.cpp | 561 | // 004DBFF8 3BF3 CMP ESI,EBX | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Abel.h | 21 | // name[len-2] = L'.'; | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Abel.h | 41 | // len++; | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/ScrPlayer.cpp | 41 | // Rendezvous ~ランデブー~ | COMMENT |
| LOW | …c/NativeImpl/LunaHook/LunaHook/engine32/TinkerBell.cpp | 41 | } | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/LunaSoft.cpp | 61 | // char *str = reinterpret_cast<char *>(data), | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/lucifen.cpp | 81 | // LPCSTR **v2; // ebx | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/lucifen.cpp | 101 | // char v23; // cl | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/lucifen.cpp | 181 | } | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/System4x.cpp | 81 | * 005C410A CC INT3 | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/System4x.cpp | 101 | // do { | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/System4x.cpp | 1041 | COMMENT | |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/System4x.cpp | 1541 | return false; | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Lightvn.cpp | 1 | #include "Lightvn.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/LCScript.cpp | 41 | * New line splitter: 0203 () | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/LCScript.cpp | 641 | // 0042FC03 8B15 E8234A00 MOV EDX,DWORD PTR DS:[0x4A23E8] ; jichi: text here | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Ryokucha.cpp | 201 | { | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/WillPlus.cpp | 581 | bool willX() | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Minori.cpp | 621 | // 013BF010 8975 E8 MOV DWORD PTR SS:[EBP-0x18],ESI | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/ransel.h | 1 | COMMENT | |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Elf.cpp | 341 | // lastCaller = MemDbg::findEnclosingAlignedFunction(lastCaller); | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Hug.h | 1 | // FILEVERSION 1,0,0,0 | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/VALKYRIA.cpp | 41 | // case 'U': | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/KiriKiri.cpp | 1401 | { | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Malie.cpp | 241 | // 0D7D7E00 07 00 08 00 76 00 5F 00 7A 00 65 00 70 00 30 00 v_zep0 | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Malie.cpp | 1161 | { | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Malie.cpp | 1181 | // 00463152 57 PUSH EDI | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/BGI.cpp | 461 | * 00A643C5 898C24 94000000 MOV DWORD PTR SS:[ESP+0x94],ECX | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/NeXAS.cpp | 321 | strReplace(s, "@d"); | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/AOS.cpp | 61 | */ | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Circus.cpp | 601 | // | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/Bruns.h | 21 | COMMENT | |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/HorkEye.cpp | 301 | 0x64, 0xa1, 0x00, 0x00, 0x00, 0x00, | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/engine32/CMVS.cpp | 181 | COMMENT | |
| 106 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_ocr_translation_overlay.py | 489 | def test_source_provenance_and_stale_result(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 501 | def test_streaming_and_engine_priority(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 514 | def test_dominant_background_ignores_original_text(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 543 | def test_background_overshoot_with_two_shades_beats_outside_color(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 554 | def test_background_one_sided_overshoot_and_borders(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 578 | def test_background_small_crop_changes_do_not_flip_to_surrounding_panel(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 599 | def test_background_small_images_and_transparency(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 605 | def test_adaptive_background_rendering_and_text_contrast(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 636 | def test_palette_noise_and_stale_captures_do_not_repaint(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 664 | def test_background_sampling_precedes_ocr_preprocessing(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 705 | def test_unchanged_follow_ticks_and_stream_chunks_do_not_repaint(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 739 | def test_capture_affinity_after_native_window_recreation(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 757 | def test_unmanifested_launcher_build_does_not_disable_exclusion(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 767 | def test_geometry_visibility_font_and_preview(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 801 | def test_overlay_resyncs_after_cross_monitor_dpi_change(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 844 | def test_toolbar_collapse_stays_folded_when_content_and_hover_update(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 883 | def test_toolbar_restore_dimensions_constraints_and_manual_visibility(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 902 | def test_toolbar_fold_stops_animation_and_automatic_window_hide(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 926 | def test_toolbar_orientation_and_button_size_changes(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 946 | def test_source_switch_folds_only_ocr_with_overlay_enabled(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 973 | def test_overlay_setting_signal_folds_and_restores_main_window(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1035 | def test_multi_region_real_dispatch_queue_and_thread_callbacks(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1110 | def test_add_region_only_recognizes_new_frame_and_manual_refresh_still_all(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1188 | def test_consecutive_additions_capture_their_own_region(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1207 | def test_cancel_remove_or_change_source_does_not_refresh_other_regions(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1228 | def test_adding_region_with_overlay_disabled_preserves_combined_ocr(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1241 | def test_hidden_overlays_do_not_move_capture_to_gui_thread(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1262 | def test_real_selection_context_menu_blocks_capture_then_resumes(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1308 | def test_selection_menu_stays_above_overlays_and_new_results(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1382 | def test_selection_menu_survives_main_window_topmost_checks(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1439 | def assert_menu_above_regions(stage): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1498 | def test_context_menu_exception_and_nested_suspensions_restore_capture(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1532 | def test_capture_spanning_menu_open_and_close_is_discarded(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1561 | def test_stability_wait_skips_suspended_menu_capture(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1584 | def test_moving_selection_during_manual_or_auto_ocr_discards_result(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1686 | def test_result_moved_before_batch_assembly_does_not_take_new_revision(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1728 | def test_ordinary_dialog_blocks_capture_until_hidden(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1746 | def test_settings_and_dialogs_block_only_overlapping_regions(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1780 | def test_capture_spanning_ordinary_popup_show_and_hide_is_discarded(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1817 | def test_other_application_menu_pauses_capture_then_resumes(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1837 | def test_combo_popup_pauses_capture_then_resumes(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1866 | def test_out_of_order_region_results_and_independent_invalidation(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1905 | def test_region_queue_skips_only_superseded_region_and_keeps_api_behavior(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1937 | def test_removed_region_source_end_and_toggle_cancel_owned_tasks(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1965 | def test_batch_dispatch_direct_ocr_translation_and_external_callback(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1989 | def test_multi_ocr_errors_unchanged_regions_and_overlay_enable_reset(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 2058 | def test_real_range_ui_lifecycle_and_frame_passthrough(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 2169 | def test_mouse_passthrough_and_native_capture_affinity(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 2216 | def test_fallback_worker_hides_and_restores(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 2252 | def test_actual_translation_callback_routing(self): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 2336 | def test_actual_ocr_single_and_combined_region_routing(self): | CODE |
| LOW | …tiveImpl/LunaHook/LunaHook/resource/renpy_hook_font.py | 38 | def hook_renpy_text_font_get_font_init(original): | CODE |
| LOW | src/LunaTranslator/LunaTranslator.py | 546 | def maybeneedtranslateshowhidetranslate(self): | CODE |
| LOW | src/LunaTranslator/LunaTranslator.py | 1532 | def __dontshowintaborsetbackdrop(self, widget: QWidget): | CODE |
| LOW | src/LunaTranslator/requests.py | 77 | def stream_decode_response_unicode(self, iterator): | CODE |
| LOW | src/LunaTranslator/transoptimi/noundict.py | 48 | def get_setting_window_gameprivate(parent_window, gameuid): | CODE |
| LOW | src/LunaTranslator/transoptimi/vndbnamemap.py | 22 | def get_setting_window_gameprivate(parent_window, gameuid): | CODE |
| LOW⚡ | src/LunaTranslator/transoptimi/arabic_reshaper.py | 509 | def connects_with_letter_before(letter, LETTERS): | CODE |
| LOW⚡ | src/LunaTranslator/transoptimi/arabic_reshaper.py | 516 | def connects_with_letter_after(letter, LETTERS): | CODE |
| LOW⚡ | src/LunaTranslator/transoptimi/arabic_reshaper.py | 523 | def connects_with_letters_before_and_after(letter, LETTERS): | CODE |
| 84 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_ocr_translation_overlay.py | 1282 | def inspect_open_menu(): | CODE |
| MEDIUM | tests/test_ocr_translation_overlay.py | 1350 | def inspect_open_menu(): | CODE |
| MEDIUM | tests/test_ocr_translation_overlay.py | 1452 | def inspect(): | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1296 | except Exception as error: | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1368 | except Exception as error: | CODE |
| LOW | tests/test_ocr_translation_overlay.py | 1480 | except Exception as error: | CODE |
| MEDIUM | src/NativeImpl/LunaHook/LunaHook/engine32/PiAS.py | 9 | print(f"Error: {file_path} not found.") | CODE |
| LOW | …mpl/LunaHook/LunaHook/engine32/PiAS_Ningyou_no_Hako.py | 376 | except Exception as e: | CODE |
| LOW | src/NativeImpl/exec/PyStand.cpp | 282 | except Exception as e: | CODE |
| LOW | src/NativeImpl/exec/PyStand.cpp | 301 | except Exception: | CODE |
| MEDIUM | src/LunaTranslator/LunaTranslator.py | 198 | def __safeinvoke(self, fobj): | CODE |
| MEDIUM | src/LunaTranslator/LunaTranslator.py | 1028 | def __usewhich(self): | CODE |
| LOW | src/LunaTranslator/LunaTranslator.py | 652 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/LunaTranslator.py | 1280 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/requests.py | 453 | print("Error invalid timeout", timeout) | CODE |
| LOW | src/LunaTranslator/main.py | 174 | except Exception: | CODE |
| LOW | src/LunaTranslator/textio/textsource/mssr.py | 285 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/textio/textsource/texthook.py | 520 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/textio/textsource/texthook.py | 165 | def edit_selectedhook_remove(self, key): | CODE |
| LOW | src/LunaTranslator/network/server/tcpservice.py | 287 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/network/server/tcpservice.py | 372 | except Exception as e: | CODE |
| LOW | …c/LunaTranslator/network/server/servicecollection_1.py | 16 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/network/client/libcurl/requester.py | 185 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/network/client/libcurl/requester.py | 182 | def ___perform(): | CODE |
| LOW | src/LunaTranslator/ocrengines/volcengine.py | 427 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/ocrengines/volcengine.py | 423 | def ocr_api(self, action, form, session): | CODE |
| LOW | src/LunaTranslator/ocrengines/local.py | 55 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/ocrengines/local.py | 51 | def downloadxSafe(self, data): | CODE |
| LOW | src/LunaTranslator/ocrengines/baseocrclass.py | 434 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/ocrengines/baseocrclass.py | 477 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/ocrengines/SnippingTool.py | 145 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/ocrengines/SnippingTool.py | 133 | def downloadxSafe(self, url): | CODE |
| LOW | src/LunaTranslator/ocrengines/mangaocr.py | 27 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/translator/basetranslator.py | 76 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/translator/basetranslator.py | 126 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/translator/basetranslator.py | 270 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/translator/basetranslator.py | 393 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/translator/basetranslator.py | 73 | def run(self): | CODE |
| LOW | src/LunaTranslator/translator/chromeai.py | 51 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/cishu/mdict.py | 788 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/cishu/cishubase.py | 97 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/tts/basettsclass.py | 52 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/tts/basettsclass.py | 211 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/tts/gptsovits.py | 82 | except Exception: | CODE |
| LOW | src/LunaTranslator/tts/voiceroid2.py | 13 | except Exception: | CODE |
| LOW | src/LunaTranslator/tts/windowstts.py | 78 | except Exception: | CODE |
| LOW | src/LunaTranslator/gui/rcdownload.py | 66 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/gui/rcdownload.py | 187 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/gui/rcdownload.py | 61 | def downloadxSafe(self, url): | CODE |
| MEDIUM | src/LunaTranslator/gui/rcdownload.py | 182 | def downloadxSafe(self, url): | CODE |
| LOW | src/LunaTranslator/gui/transhist.py | 778 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/gui/textbrowser.py | 66 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/gui/ocrtranslationoverlay.py | 432 | except Exception as error: | CODE |
| MEDIUM | src/LunaTranslator/gui/ocrtranslationoverlay.py | 318 | def _flush_frame(): | CODE |
| LOW | src/LunaTranslator/gui/dialog_memory.py | 382 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/gui/dialog_memory.py | 468 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/gui/unityfontdownload.py | 112 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/gui/unityfontdownload.py | 83 | def downloadxSafe(self): | CODE |
| LOW | src/LunaTranslator/gui/inputdialog.py | 569 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/gui/inputdialog.py | 849 | except Exception as e: | CODE |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/LunaTranslator/network/server/servicecollection.py | 75 | traces = gobject.base.translation_ui.translate_text.trace.copy() | CODE |
| CRITICAL | src/LunaTranslator/htmlcode/uiwebview/mainui.html | 824 | ele.parentNode.parentNode.parentNode.childNodes.forEach((e) => { | CODE |
| CRITICAL | src/LunaTranslator/gui/setting/display_text.py | 211 | callback=lambda x: gobject.base.translation_ui.translate_text.textbrowser.loadex(), | CODE |
| CRITICAL⚡ | src/LunaTranslator/gui/setting/hotkey.py | 236 | "_29": lambda: gobject.base.searchwordW.ankiwindow.recordbtn1.click(), | CODE |
| CRITICAL⚡ | src/LunaTranslator/gui/setting/hotkey.py | 237 | "_30": lambda: gobject.base.searchwordW.ankiwindow.recordbtn2.click(), | CODE |
| CRITICAL⚡ | src/LunaTranslator/gui/setting/hotkey.py | 240 | "_35": lambda: gobject.base.searchwordW.ankiconnect.customContextMenuRequested.emit( | CODE |
| CRITICAL | src/LunaTranslator/gui/setting/textinput.py | 457 | lambda _: (gobject.base.textsource.engine.engine.show(not _)), | CODE |
| CRITICAL | src/LunaTranslator/gui/setting/textinput.py | 466 | lambda _: (gobject.base.textsource.engine.engine.setkill(_)), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 89 | # ----------- | COMMENT |
| MEDIUM⚡ | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 98 | # ---------------------------- | COMMENT |
| MEDIUM⚡ | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 103 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 16 | # ==================================================================== | COMMENT |
| MEDIUM | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 28 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 57 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 146 | # ---------- | COMMENT |
| MEDIUM | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 160 | # ---------------- | COMMENT |
| MEDIUM | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 260 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/LunaTranslator/gui/fluent/colorpicker.py | 127 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/LunaTranslator/gui/fluent/colorpicker.py | 129 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 219 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 221 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 286 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 288 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 321 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 323 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 410 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 412 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 484 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 486 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 901 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 903 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 1004 | # ============================================================================ | COMMENT |
| MEDIUM | src/LunaTranslator/gui/fluent/colorpicker.py | 1007 | # ============================================================================ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …mpl/LunaHook/LunaHook/engine32/PiAS_Ningyou_no_Hako.py | 285 | if (isNaN(idx) || idx < 0 || idx >= {total_chars}) {{ | CODE |
| HIGH | src/LunaTranslator/gui/transhist.py | 460 | _s = font.toString() | CODE |
| HIGH | src/LunaTranslator/gui/transhist.py | 618 | _s = font.toString() | CODE |
| HIGH | src/LunaTranslator/gui/usefulwidget.py | 2080 | if seq.toString(): | STRING |
| HIGH | src/LunaTranslator/gui/usefulwidget.py | 2096 | if self.callonlymod and not value.toString(): | STRING |
| HIGH | src/LunaTranslator/gui/usefulwidget.py | 2112 | self.changeedvent.emit(value.toString().replace("Meta", "Win")) | STRING |
| HIGH | src/LunaTranslator/gui/rendertext/textbrowser.py | 1252 | if (_.text() != subtext[i]) or (_.font().toString != font.toString()): | CODE |
| HIGH | src/LunaTranslator/gui/gamemanager/common.py | 352 | _s = font.toString() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/LunaTranslator/sometypes.py | 21 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 565 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 611 | CODE | |
| LOW | src/LunaTranslator/requests.py | 388 | CODE | |
| LOW | src/LunaTranslator/transoptimi/transerrorfix.py | 36 | CODE | |
| LOW | src/LunaTranslator/ocrengines/chatgptlike.py | 135 | CODE | |
| LOW | src/LunaTranslator/translator/huoshanapi.py | 404 | CODE | |
| LOW | src/LunaTranslator/translator/gptcommon.py | 504 | CODE | |
| LOW | src/LunaTranslator/cishu/chatgptlike.py | 55 | CODE | |
| LOW | src/LunaTranslator/cishu/chatgptlike.py | 126 | CODE | |
| LOW | src/LunaTranslator/cishu/mdict_/readmdict.py | 701 | CODE | |
| LOW | src/LunaTranslator/tts/vitsSimpleAPI.py | 55 | CODE | |
| LOW | src/LunaTranslator/tts/_chrome.py | 193 | CODE | |
| LOW | src/LunaTranslator/tts/bcuttts.py | 72 | CODE | |
| LOW | src/LunaTranslator/tts/gptsovits.py | 49 | CODE | |
| LOW | src/LunaTranslator/tts/chatgpttts.py | 75 | CODE | |
| LOW | src/LunaTranslator/tts/voiceroid2.py | 92 | CODE | |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 1067 | CODE | |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 1149 | CODE | |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 2602 | CODE | |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 2684 | CODE | |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 3108 | CODE | |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 3369 | CODE | |
| LOW | src/LunaTranslator/myutils/utils.py | 1269 | CODE | |
| LOW | src/scripts/autocommit/somecommon.py | 19 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 134 | # In this example, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/LunaTranslator/defaultconfig/config.json | 1201 | "placeholder": "{sentence}\nword:{word}", | CODE |
| LOW | src/LunaTranslator/defaultconfig/config.json | 1265 | "placeholder": "You are a professional dictionary assistant whose task is to help users search for i | CODE |
| LOW | src/LunaTranslator/defaultconfig/ocrsetting.json | 323 | "placeholder": "Recognize the {srclang} text in the picture." | CODE |
| LOW | src/LunaTranslator/defaultconfig/translatorsetting.json | 461 | "placeholder": "{DictWithPrompt[When translating, please ensure to translate the specified nouns into the translatio | CODE |
| LOW | src/LunaTranslator/defaultconfig/translatorsetting.json | 546 | "placeholder": "You are a translator. Please help me translate the following {srclang} text into {tgtlang}. You shou | CODE |
| LOW | src/LunaTranslator/gui/inputdialog.py | 692 | lineW.setPlaceholderText(line.get("placeholder", "")) | CODE |
| LOW | src/LunaTranslator/gui/inputdialog.py | 735 | lineW.setPlaceholderText(line.get("placeholder", "")) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/NativeImpl/LunaHook/LunaHook/engine32/Wolf.cpp | 48 | // Step 1: find the address of GetTextMetricsA | COMMENT |
| LOW⚡ | src/NativeImpl/LunaHook/LunaHook/engine32/Wolf.cpp | 49 | // Step 2: find where this function is called | COMMENT |
| LOW⚡ | src/NativeImpl/LunaHook/LunaHook/engine32/Wolf.cpp | 50 | // Step 3: search "sub esp, XX" after where it is called | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/NativeImpl/LunaHook/LunaHook/engine32/Wolf.cpp | 48 | // Step 1: find the address of GetTextMetricsA | COMMENT |
| LOW⚡ | src/NativeImpl/LunaHook/LunaHook/engine32/Wolf.cpp | 49 | // Step 2: find where this function is called | COMMENT |
| LOW⚡ | src/NativeImpl/LunaHook/LunaHook/engine32/Wolf.cpp | 50 | // Step 3: search "sub esp, XX" after where it is called | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/LunaTranslator/gui/gamemanager/setting.py | 1120 | CODE | |
| MEDIUM | src/LunaTranslator/gui/gamemanager/setting.py | 1129 | CODE | |
| MEDIUM | src/LunaTranslator/gui/gamemanager/setting.py | 1130 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/NativeImpl/xpundef/xp_winrt.hpp | 61 | BSOS_PREFERDESTINATIONSTREAM // in addition, utilize IDestinationStreamFactory::GetDestinationStream. | CODE |
| LOW | src/LunaTranslator/tts/edgetts.py | 162 | # without having to use a library. We'll just use UTC and hope for the best. | COMMENT |
| LOW | src/LunaTranslator/gui/markdownhighlighter.py | 330 | # If empty line no need to check for below elements just return | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/LunaTranslator/cishu/mdict_/ripemd128.py | 11 | # Usage: | COMMENT |
| LOW | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 69 | # Sample usage: | COMMENT |
| LOW | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 119 | # Sample usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/LunaTranslator/cishu/mdict_/ripemd128.py | 20 | __all__ = ["ripemd128"] | CODE |
| LOW | src/LunaTranslator/cishu/mdict_/pureSalsa20.py | 178 | __all__ = ["Salsa20"] | CODE |
| LOW | src/LunaTranslator/cishu/mdict_/readmdict.py | 47 | __all__ = ["MDD", "MDX"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/LunaTranslator/tts/edgetts.py | 95 | # Create the string to hash by concatenating the ticks and the trusted client token | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/LunaTranslator/tts/edgetts.py | 237 | # Check if our response is text data or the audio bytes | COMMENT |