视觉小说翻译器 / Visual Novel Translator
This report summarizes scanner evidence for HIllya51/LunaTranslator, a C++ project with 13,974 GitHub stars. SynthScan examined 278,818 lines of code across 1360 source files, recording 1253 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 6.7 (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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 513 finding(s).
Are imports declared and package/API names verified? 482 finding(s).
Are wrappers, guards, and repeated structures necessary? 375 finding(s).
Which changes need focused human review? 1253 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 1253 distinct pattern matches across 19 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 | 1178 | except: | CODE |
| HIGH | src/LunaTranslator/NativeUtils.py | 938 | except: | CODE |
| HIGH | src/LunaTranslator/NativeUtils.py | 954 | except: | CODE |
| HIGH | src/LunaTranslator/NativeUtils.py | 960 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 1092 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 1294 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 739 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 1436 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 524 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 1045 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 1349 | except: | CODE |
| HIGH | src/LunaTranslator/LunaTranslator.py | 988 | except: | CODE |
| HIGH | src/LunaTranslator/gobject.py | 66 | except: | CODE |
| HIGH | src/LunaTranslator/textio/textsource/ocrtext.py | 332 | except RuntimeError: | CODE |
| HIGH | src/LunaTranslator/textio/textsource/ocrtext.py | 409 | 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 | 167 | except: | CODE |
| HIGH | src/LunaTranslator/textio/textsource/texthook.py | 419 | except: | CODE |
| HIGH | src/LunaTranslator/textio/textsource/texthook.py | 783 | 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 | 1073 | 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 | 107 | except RuntimeError: | CODE |
| HIGH | src/LunaTranslator/gui/ocrtranslationoverlay.py | 149 | except (AttributeError, OSError): | CODE |
| HIGH | src/LunaTranslator/gui/ocrtranslationoverlay.py | 293 | except RuntimeError: | CODE |
| HIGH | src/LunaTranslator/gui/ocrtranslationoverlay.py | 209 | except (AttributeError, OSError): | CODE |
| 82 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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/keeprefs.py | 19 | 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 | 83 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 84 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 85 | 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 | |
| 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 | |
| 399 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 | 259 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 399 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 445 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 474 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 491 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 505 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 942 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1068 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1114 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1155 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1333 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1366 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 1847 | 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 | 144 | CODE | |
| LOW | src/LunaTranslator/main.py | 209 | 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 | 218 | CODE | |
| LOW | src/LunaTranslator/textio/textsource/ocrtext.py | 231 | CODE | |
| LOW | src/LunaTranslator/textio/textsource/ocrtext.py | 466 | 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 | 268 | CODE | |
| LOW | src/LunaTranslator/textio/textsource/texthook.py | 591 | 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 | 280 | CODE | |
| LOW | src/LunaTranslator/translator/huoshanapi.py | 330 | 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 | |
| 157 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 <mmreg.h> | COMMENT |
| LOW | src/NativeImpl/pch.h | 41 | #include <fcntl.h> | COMMENT |
| LOW | src/NativeImpl/pch.h | 61 | #include <mutex> | COMMENT |
| LOW | src/NativeImpl/pch.h | 81 | #include <set> | 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/ZeroEscape.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 41 | #include "engine32/GJ.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 61 | #include "engine32/SYSD.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 81 | #include "engine32/Tomato.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 101 | #include "engine32/VitaminSoft.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 121 | #include "engine32/SmartAdv.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 141 | #include "engine32/godot.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 161 | #include "engine32/CodeX.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 181 | #include "engine32/Exp.h" | COMMENT |
| LOW | src/NativeImpl/LunaHook/LunaHook/enginecollection32.cpp | 201 | #include "engine32/Ryokucha.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 | 1421 | } | 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 |
| 105 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 281 | except Exception as e: | CODE |
| LOW | src/NativeImpl/exec/PyStand.cpp | 300 | except Exception: | CODE |
| MEDIUM | src/LunaTranslator/LunaTranslator.py | 220 | def __safeinvoke(self, fobj): | CODE |
| MEDIUM | src/LunaTranslator/LunaTranslator.py | 1068 | def __usewhich(self): | CODE |
| LOW | src/LunaTranslator/LunaTranslator.py | 677 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/LunaTranslator.py | 1320 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/requests.py | 453 | print("Error invalid timeout", timeout) | CODE |
| LOW | src/LunaTranslator/main.py | 165 | except Exception: | CODE |
| MEDIUM | src/LunaTranslator/main.py | 144 | def _parseargs(args): | CODE |
| LOW | src/LunaTranslator/textio/textsource/mssr.py | 280 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/textio/textsource/texthook.py | 519 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/textio/textsource/texthook.py | 164 | 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 | 481 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/ocrengines/baseocrclass.py | 524 | 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 | 794 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/cishu/cishubase.py | 126 | 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 | 212 | except Exception as error: | 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 | 618 | except Exception as e: | CODE |
| LOW | src/LunaTranslator/gui/inputdialog.py | 898 | except Exception as e: | CODE |
| MEDIUM | src/LunaTranslator/gui/inputdialog.py | 48 | def _export(): | CODE |
| MEDIUM | src/LunaTranslator/gui/usefulwidget.py | 1872 | def tryMessage(self, func, *args): | CODE |
| MEDIUM | src/LunaTranslator/gui/usefulwidget.py | 2266 | def _createwebview(self, shoudong=False, transp=False): | CODE |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 1875 | except Exception as e: | STRING |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 2271 | except Exception as e: | STRING |
| MEDIUM | src/LunaTranslator/gui/showword.py | 665 | def simulate_key(self, i): | CODE |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 564 | def maybeneedtranslateshowhidetranslate(self): | CODE |
| LOW | src/LunaTranslator/LunaTranslator.py | 1583 | 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 |
| LOW | src/LunaTranslator/transoptimi/arabic_reshaper.py | 2964 | def config_for_true_type_font(font_file_path, ligatures_config=ENABLE_ALL_LIGATURES): | CODE |
| LOW | src/LunaTranslator/transoptimi/arabic_reshaper.py | 3098 | def _get_ligature_forms_from_re_group_index(self, group_index): | CODE |
| LOW | src/LunaTranslator/transoptimi/transerrorfix.py | 20 | def get_setting_window_gameprivate(parent_window, gameuid): | CODE |
| LOW | src/LunaTranslator/textio/textsource/texthook.py | 767 | def delaycollectallselectedoutput(self): | CODE |
| LOW | src/LunaTranslator/textio/textsource/texthook.py | 788 | def dispatchtext_multiline_delayed(self, key, text): | CODE |
| LOW | src/LunaTranslator/translator/sakura_base.py | 17 | def _maybe_override_local_llama_port(url: str): | CODE |
| LOW | src/LunaTranslator/translator/basetranslator.py | 250 | def _gpt_common_parse_context( | CODE |
| LOW | src/LunaTranslator/translator/premt.py | 12 | def unsafegetcurrentgameconfig(self): | CODE |
| LOW | src/LunaTranslator/translator/hwcloud.py | 147 | def _process_canonical_request(self, request: Req, signed_headers): | CODE |
| LOW | src/LunaTranslator/translator/hwcloud.py | 186 | def process_canonical_query_string(cls, request): | CODE |
| LOW | src/LunaTranslator/translator/hwcloud.py | 190 | def _process_canonical_query_string(cls, request: Req): | CODE |
| LOW | src/LunaTranslator/translator/hwcloud.py | 213 | def _process_canonical_headers(self, request: Req, signed_headers): | CODE |
| LOW | src/LunaTranslator/translator/hwcloud.py | 245 | def _process_auth_header_value(self, signature, app_key, signed_headers): | CODE |
| LOW | src/LunaTranslator/translator/rengong.py | 36 | def unsafegetcurrentgameconfig(self): | CODE |
| LOW | src/LunaTranslator/translator/gptcommon.py | 409 | def __gpt_create_query_maybe_with_dict(self, query_2: GptTextWithDict, _has_1): | CODE |
| LOW | src/LunaTranslator/translator/cdp_helper.py | 75 | def check_url_is_translator_url(self, url: str): | CODE |
| LOW | src/LunaTranslator/cishu/mdict.py | 399 | def __parse_css_fontface_url_local(self, index: IndexBuilder, css: str): | STRING |
| LOW | src/LunaTranslator/cishu/mdict_/readmdict.py | 80 | def _decrypt_regcode_by_userid(reg_code: bytes, userid: bytes) -> bytes: | CODE |
| LOW | src/LunaTranslator/gui/specialwidget.py | 806 | def calc_last_next_line_offset(self, idx, last, shu=True): | CODE |
| LOW | src/LunaTranslator/gui/selecthook.py | 473 | def update_item_new_line_function(self, key, output: str): | CODE |
| LOW | src/LunaTranslator/gui/selecthook.py | 1057 | def textbrowappendandmovetoend( | CODE |
| LOW | src/LunaTranslator/gui/transhist.py | 212 | def ifformatchangedrewriteautosave(trace): | CODE |
| LOW | src/LunaTranslator/gui/textbrowser.py | 373 | def set_word_hover_show_word_info(self, _): | CODE |
| LOW | src/LunaTranslator/gui/edittext.py | 219 | def unsafegetcurrentgameconfig(self): | CODE |
| LOW | src/LunaTranslator/gui/ocrtranslationoverlay.py | 53 | def overlay_source_is_current(source): | CODE |
| LOW | src/LunaTranslator/gui/ocrtranslationoverlay.py | 98 | def route_overlay_translation(source, engine, text): | CODE |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 739 | def adjust_window_to_screen_bounds(self, screen_rect: QRect): | CODE |
| LOW | src/LunaTranslator/gui/showword.py | 746 | def recordvediohotkeycallback(self, crop): | CODE |
| LOW | src/LunaTranslator/gui/showword.py | 993 | def __ocr_search_word_save_image(self, img: QImage): | CODE |
| LOW | src/LunaTranslator/gui/showword.py | 1729 | def __show_dict_result_function(self, timestamp, k, res: "str|Exception"): | CODE |
| LOW | src/LunaTranslator/gui/showword.py | 1818 | def get_completed_dict_result(self, k): | CODE |
| LOW | src/LunaTranslator/gui/showword.py | 2105 | def luna_recheck_current_html(self, html): | CODE |
| LOW | src/LunaTranslator/gui/showword.py | 2108 | def switch_hightlightmode_callback(self, ishightlight): | CODE |
| LOW | src/LunaTranslator/gui/showword.py | 2140 | def __render_current_deferred(self): | CODE |
| LOW | src/LunaTranslator/gui/showword.py | 2260 | def __parsemaybeplaymdictaudio(self, html): | CODE |
| LOW | src/LunaTranslator/gui/showword.py | 2676 | def _click_word_search_function( | CODE |
| LOW | src/LunaTranslator/gui/translatorUI.py | 1294 | def changemousetransparentstate(self, idx): | STRING |
| LOW | src/LunaTranslator/gui/rendertext/textbrowser.py | 25 | def get_sorted_toolbuttonitems(): | CODE |
| LOW | src/LunaTranslator/gui/rendertext/textbrowser.py | 676 | def _needs_displayrank_reorder(self): | CODE |
| LOW | src/LunaTranslator/gui/rendertext/textbrowser.py | 698 | def _schedule_reorder_refresh(self): | CODE |
| LOW | src/LunaTranslator/gui/rendertext/textbrowser.py | 820 | def set_word_hover_show_word_info(self, _): | CODE |
| LOW | src/LunaTranslator/gui/rendertext/webview_common.py | 132 | def set_word_hover_show_word_info(self, action): | CODE |
| LOW | src/LunaTranslator/gui/fluent/frameless.py | 257 | def _show_title_bar_system_menu(self, l_param): | CODE |
| LOW⚡ | src/LunaTranslator/gui/fluent/colorpicker.py | 132 | def _build_hue_saturation_image(width, height): | CODE |
| LOW | src/LunaTranslator/gui/fluent/colorpicker.py | 68 | def paint_fluent_flyout_surface(widget, painter, margin=None): | CODE |
| LOW | src/LunaTranslator/gui/fluent/colorpicker.py | 149 | def _build_third_dimension_image(hue, saturation, width, height): | CODE |
| LOW | src/LunaTranslator/gui/fluent/colorpicker.py | 200 | def _build_alpha_channel_image(width, height, base, horizontal=True): | CODE |
| LOW | src/LunaTranslator/gui/fluent/tabwidget.py | 195 | def apply_segmented_slide_bar_style(bar: QTabBar): | CODE |
| LOW | src/LunaTranslator/gui/fluent/titlebar.py | 68 | def create_fluent_caption_button(parent, glyph, tooltip="", width=40): | CODE |
| LOW | src/LunaTranslator/gui/fluent/__init__.py | 190 | def _restore_combo_view_fonts(): | CODE |
| LOW⚡ | src/LunaTranslator/gui/fluent/nav.py | 254 | def _update_navigation_item_icon(self, item): | CODE |
| 34 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 | 794 | ele.parentNode.parentNode.parentNode.childNodes.forEach((e) => { | CODE |
| CRITICAL | src/LunaTranslator/gui/setting/display_text.py | 214 | 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 | 456 | lambda _: (gobject.base.textsource.engine.engine.show(not _)), | CODE |
| CRITICAL | src/LunaTranslator/gui/setting/textinput.py | 465 | 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 | 2131 | if seq.toString(): | STRING |
| HIGH | src/LunaTranslator/gui/usefulwidget.py | 2147 | if self.callonlymod and not value.toString(): | STRING |
| HIGH | src/LunaTranslator/gui/usefulwidget.py | 2163 | self.changeedvent.emit(value.toString().replace("Meta", "Win")) | STRING |
| HIGH | src/LunaTranslator/gui/rendertext/textbrowser.py | 1294 | if (_.text() != subtext[i]) or (_.font().toString != font.toString()): | CODE |
| HIGH | src/LunaTranslator/gui/gamemanager/common.py | 353 | _s = font.toString() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/LunaTranslator/sometypes.py | 21 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 583 | CODE | |
| LOW | src/LunaTranslator/LunaTranslator.py | 629 | 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 | 395 | CODE | |
| LOW | src/LunaTranslator/translator/gptcommon.py | 504 | 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 | 1094 | CODE | |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 1176 | CODE | |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 2653 | CODE | |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 2738 | CODE | |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 3162 | CODE | |
| LOW | src/LunaTranslator/gui/usefulwidget.py | 3423 | CODE | |
| LOW | src/LunaTranslator/myutils/utils.py | 1276 | 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 | 1190 | "placeholder": "{sentence}\nword:{word}", | CODE |
| LOW | src/LunaTranslator/defaultconfig/config.json | 1254 | "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 | 456 | "placeholder": "{DictWithPrompt[When translating, please ensure to translate the specified nouns into the translatio | CODE |
| LOW | src/LunaTranslator/defaultconfig/translatorsetting.json | 541 | "placeholder": "You are a translator. Please help me translate the following {srclang} text into {tgtlang}. You shou | CODE |
| LOW | src/LunaTranslator/gui/inputdialog.py | 741 | lineW.setPlaceholderText(line.get("placeholder", "")) | CODE |
| LOW | src/LunaTranslator/gui/inputdialog.py | 784 | 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 | 1117 | CODE | |
| MEDIUM | src/LunaTranslator/gui/gamemanager/setting.py | 1126 | CODE | |
| MEDIUM | src/LunaTranslator/gui/gamemanager/setting.py | 1127 | 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 | 115 | # 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 |
|---|---|---|---|---|
| LOW | src/LunaTranslator/tts/edgetts.py | 190 | # Check if our response is text data or the audio bytes | COMMENT |