Repository Analysis

mihomo-party-org/clash-party

:electron: Another Mihomo GUI.

1.1 Likely human-written View on GitHub
1.1
Adjusted Score
1.1
Raw Score
100%
Time Factor
2026-05-26
Last Push
24,178
Stars
TypeScript
Language
50,758
Lines of Code
201
Files
39
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 7LOW 32

Pattern Findings

39 matches across 3 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers31 hits · 32 pts
SeverityFileLineSnippet
LOWsrc/main/index.ts41function getWindowsPowerShellMajorVersion(): number | null {
LOWsrc/main/core/process.ts138export async function validateWindowsPipeAccess(pipePath: string): Promise<void> {
LOWsrc/main/core/permissions.ts24export function setStopCoreBeforeAdminRestart(stopCore: StopCoreBeforeAdminRestart): void {
LOWsrc/main/core/permissions.ts72export async function checkMihomoCorePermissions(): Promise<boolean> {
LOWsrc/main/core/permissions.ts128async function checkHighPrivilegeMihomoProcess(): Promise<boolean> {
LOWsrc/main/core/permissions.ts348export async function validateTunPermissionsOnStartup(
LOWsrc/main/core/admin.ts11export function primeAdminPrivilegesCache(value: boolean): void {
LOWsrc/main/core/factory.ts72function ensureSmartProxyServerTunExclude(profile: IMihomoConfig, enabled: boolean): string[] {
LOWsrc/main/core/profileUpdater.ts72function scheduleDelayedCurrentUpdate(item: IProfileItem): void {
LOWsrc/main/resolve/tray.ts586function createMultiScaleTrayImage(icon: Electron.NativeImage): Electron.NativeImage {
LOWsrc/main/resolve/backup.ts32function sanitizeDeviceNameForFilename(name: string): string {
LOWsrc/main/resolve/backup.ts182export async function initWebdavBackupScheduler(): Promise<void> {
LOWsrc/main/resolve/backup.ts216export async function stopWebdavBackupScheduler(): Promise<void> {
LOWsrc/main/resolve/server.ts76export async function startSubStoreFrontendServer(): Promise<void> {
LOWsrc/main/resolve/server.ts90export async function stopSubStoreFrontendServer(): Promise<void> {
LOWsrc/main/resolve/server.ts96export async function startSubStoreBackendServer(): Promise<void> {
LOWsrc/main/resolve/server.ts142export async function stopSubStoreBackendServer(): Promise<void> {
LOWsrc/main/config/controledMihomo.ts17function cloneDefaultControledMihomoConfig(): Partial<IMihomoConfig> {
LOWsrc/main/config/controledMihomo.ts54export async function patchControledMihomoConfig(patch: Partial<IMihomoConfig>): Promise<void> {
LOWsrc/main/config/smartOverride.ts10function generateSmartOverrideTemplate(
LOWsrc/main/config/profile.ts62async function removeProfileWorkDirWithPkexec(workDir: string): Promise<void> {
LOWsrc/main/config/profile.ts272async function fetchAndValidateSubscription(options: FetchOptions): Promise<FetchResult> {
LOWsrc/main/utils/logFile.ts30export function normalizeMaxLogFileSizeMB(value: unknown): number {
LOWsrc/main/utils/logFile.ts36export function setGlobalMaxLogFileSizeMB(value: unknown): void {
LOWsrc/main/utils/logFile.ts41export function getGlobalMaxLogFileSizeBytes(): number {
LOWsrc/main/utils/logFile.ts79async function appendToFileWithLimitInternal(
LOWsrc/main/utils/logFile.ts160export function createCappedLogWritableStream(
LOWsrc/main/utils/ipc.ts169async function installSpecificMihomoCore(version: string): Promise<void> {
LOWsrc/main/utils/dirs.ts16export function configurePortableUserData(): void {
LOWsrc/main/utils/dirs.ts92export function controledMihomoConfigPath(): string {
LOWsrc/main/utils/icon.ts135function parseIconNameFromDesktopFile(content: string): string | null {
Decorative Section Separators7 hits · 21 pts
SeverityFileLineSnippet
MEDIUM…c/renderer/src/components/network/network-topology.tsx17// ─── Types ───────────────────────────────────────────────────────────────────
MEDIUM…c/renderer/src/components/network/network-topology.tsx32// ─── Color helpers ────────────────────────────────────────────────────────────
MEDIUM…c/renderer/src/components/network/network-topology.tsx64// ─── Hierarchy builder ────────────────────────────────────────────────────────
MEDIUM…c/renderer/src/components/network/network-topology.tsx236// ─── Text measurement ─────────────────────────────────────────────────────────
MEDIUM…c/renderer/src/components/network/network-topology.tsx247// ─── Main component ───────────────────────────────────────────────────────────
MEDIUMsrc/renderer/src/pages/network.tsx101// ─── Latency ───────────────────────────────────────────────────────────────
MEDIUMsrc/renderer/src/pages/network.tsx186// ─────────────────────────────────────────────────────────────────────────────
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippet
LOWsrc/renderer/src/utils/init.ts1import { getPlatform, getVersion } from './ipc'