← Back to scan
File as GitHub Issue repo: lhfer/claude-howto-zh-cn

Push this scan report to lhfer/claude-howto-zh-cn

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

`self.calculate_cyclomatic_complexity` used but never assigned in __init__

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
HIGH MINED108 [MINED108] `self.calculate_maintainability_index` used but never assigned in __init__: Me… 03-skills/code-review-specialist/script…:91
HIGH MINED108 [MINED108] `self.calculate_cognitive_complexity` used but never assigned in __init__: Met… 03-skills/code-review-specialist/script…:90
HIGH MINED108 [MINED108] `self.calculate_cyclomatic_complexity` used but never assigned in __init__: Me… 03-skills/code-review-specialist/script…:89
HIGH MINED108 [MINED108] `self.calculate_cognitive_complexity` used but never assigned in __init__: Met… 03-skills/code-review-specialist/script…:74
HIGH MINED108 [MINED108] `self.calculate_cyclomatic_complexity` used but never assigned in __init__: Me… 03-skills/code-review-specialist/script…:73
HIGH MINED108 [MINED108] `self._create_function_metrics` used but never assigned in __init__: Method `f… 03-skills/refactor/scripts/analyze-comp…:257
HIGH MINED108 [MINED108] `self._create_function_metrics` used but never assigned in __init__: Method `f… 03-skills/refactor/scripts/analyze-comp…:272
HIGH MINED108 [MINED108] `self.calculate_cyclomatic_complexity` used but never assigned in __init__: Me… 03-skills/refactor/scripts/analyze-comp…:197
HIGH MINED108 [MINED108] `self._extract_return_type` used but never assigned in __init__: Method `visit… 03-skills/doc-generator/generate-docs.py:19
HIGH MINED108 [MINED108] `self.generic_visit` used but never assigned in __init__: Method `visit_Functi… 03-skills/doc-generator/generate-docs.py:22
HIGH MINED108 [MINED108] `self._collect_folder` used but never assigned in __init__: Method `collect_al… scripts/build_epub.py:580
HIGH MINED108 [MINED108] `self._fetch_single` used but never assigned in __init__: Method `render_all` … scripts/build_epub.py:356
HIGH MINED108 [MINED108] `self._fetch_with_retry` used but never assigned in __init__: Method `_fetch_s… scripts/build_epub.py:285
HIGH MINED104 [MINED104] Chmod 777: chmod 777 makes a file or directory world-readable, world-writable,… 06-hooks/pre-tool-check.sh:103
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… 06-hooks/context-tracker.py:95
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… 06-hooks/context-tracker-tiktoken.py:117
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v4`: `uses: actions/setu… .github/workflows/docs-check.yml:141
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/docs-check.yml:138
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v4`: `uses: actions/setu… .github/workflows/docs-check.yml:84
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/docs-check.yml:81
HIGH MINED115 [MINED115] Action `streetsidesoftware/cspell-action` pinned to mutable ref `@v6`: `uses: … .github/workflows/docs-check.yml:67
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/docs-check.yml:64
HIGH MINED115 [MINED115] Action `gaurav-nelson/github-action-markdown-link-check` pinned to mutable ref… .github/workflows/docs-check.yml:53
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/docs-check.yml:50
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/docs-check.yml:34
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/docs-check.yml:31
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v4`: `uses: actions… .github/workflows/test.yml:199
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/test.yml:184
HIGH MINED115 [MINED115] Action `astral-sh/setup-uv` pinned to mutable ref `@v4`: `uses: astral-sh/setu… .github/workflows/test.yml:160
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/test.yml:157
HIGH MINED115 [MINED115] Action `astral-sh/setup-uv` pinned to mutable ref `@v4`: `uses: astral-sh/setu… .github/workflows/test.yml:135
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/test.yml:132
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/test.yml:120
HIGH MINED115 [MINED115] Action `astral-sh/setup-uv` pinned to mutable ref `@v4`: `uses: astral-sh/setu… .github/workflows/test.yml:105
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/test.yml:102
HIGH MINED115 [MINED115] Action `astral-sh/setup-uv` pinned to mutable ref `@v4`: `uses: astral-sh/setu… .github/workflows/test.yml:79
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/test.yml:76
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/test.yml:63
HIGH MINED115 [MINED115] Action `codecov/codecov-action` pinned to mutable ref `@v3`: `uses: codecov/co… .github/workflows/test.yml:53
HIGH MINED115 [MINED115] Action `astral-sh/setup-uv` pinned to mutable ref `@v4`: `uses: astral-sh/setu… .github/workflows/test.yml:38
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/test.yml:35
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/pre-commit/pre-commit-hooks` pinned to mut… .pre-commit-config.yaml:38
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/PyCQA/bandit` pinned to mutable rev `1.7.1… .pre-commit-config.yaml:26
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/astral-sh/ruff-pre-commit` pinned to mutab… .pre-commit-config.yaml:10
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… 03-skills/refactor/scripts/detect-smell…:646
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… 03-skills/refactor/scripts/analyze-comp…:479
MED SEC031 [SEC031] Catastrophic Backtracking Regex (ReDoS): Regex contains nested quantifiers like … scripts/check_markdown_rendering.py:46
MED COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 19 (SonarSo… scripts/check_cross_references.py:62
MED COMP001 [COMP001] High cognitive complexity: Function `read_transcript` has cognitive complexity … 06-hooks/context-tracker.py:40
MED COMP001 [COMP001] High cognitive complexity: Function `read_transcript` has cognitive complexity … 06-hooks/context-tracker-tiktoken.py:62
MED AGT012 Agent control bridge may listen on a network interface without visible auth scripts/vendor_assets.py:1
MED AGT015 Remote install command pipes network code directly to a shell 09-advanced-features/README.md:319
LOW AIC003 Duplicated implementation block across source files 06-hooks/context-tracker.py:26
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… 07-plugins/devops-automation/scripts/ro…:23
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… 07-plugins/devops-automation/scripts/he…:10
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… 07-plugins/devops-automation/scripts/de…:26
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … 07-plugins/pr-review/hooks/pre-review.js:9
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … 07-plugins/devops-automation/hooks/pre-…:9
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … 07-plugins/devops-automation/hooks/post…:9
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… 06-hooks/context-tracker.py:96
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… 06-hooks/context-tracker-tiktoken.py:118
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. 06-hooks/context-tracker.py:110
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. 06-hooks/context-tracker-tiktoken.py:29
Reset to top 5 63 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `lhfer/claude-howto-zh-cn`

**Score: 85/100 (A-)**  ·  82 findings  ·  scanned 2026-06-03 02:51 UTC  ·  6,652 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 44 |
| MEDIUM | 8 |
| LOW | 1 |

📊 [Full filterable report](https://repobility.com/scan/6de89846-137e-4c31-b941-5b6dada154ea/)  ·  ![scorecard](https://repobility.com/scan/6de89846-137e-4c31-b941-5b6dada154ea/report.png?v=1780455065-s2)

### Top findings

1. **HIGH** `MINED108` — `self.calculate_maintainability_index` used but never assigned in __init__
   `03-skills/code-review-specialist/scripts/compare-complexity.py:91` · ✓ Repobility
2. **HIGH** `MINED108` — `self.calculate_cognitive_complexity` used but never assigned in __init__
   `03-skills/code-review-specialist/scripts/compare-complexity.py:90` · ✓ Repobility
3. **HIGH** `MINED108` — `self.calculate_cyclomatic_complexity` used but never assigned in __init__
   `03-skills/code-review-specialist/scripts/compare-complexity.py:89` · ✓ Repobility
4. **HIGH** `MINED108` — `self.calculate_cognitive_complexity` used but never assigned in __init__
   `03-skills/code-review-specialist/scripts/compare-complexity.py:74` · ✓ Repobility
5. **HIGH** `MINED108` — `self.calculate_cyclomatic_complexity` used but never assigned in __init__
   `03-skills/code-review-specialist/scripts/compare-complexity.py:73` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/6de89846-137e-4c31-b941-5b6dada154ea/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 1 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'lhfer/claude-howto-zh-cn' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
47/93 findings (51%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.