pyscn icon indicating copy to clipboard operation
pyscn copied to clipboard

An Intelligent Python Code Quality Analyzer

Results pyscn issues
Sort by recently updated
recently updated
newest added

**Track**: tuning **Detector**: lcom ## Summary All 6 high-risk LCOM4 classes are abstract base classes where each abstract method/property gets its own method group because abstract bodies raise `NotImplementedError` and...

enhancement
auto-filed

## Problem `ConfigurationLoaderImpl.MergeConfig` in `service/config_loader.go:86-101` uses a value-based check to decide whether an override was explicitly provided: ```go if override.LowThreshold != domain.DefaultComplexityLowThreshold && override.LowThreshold > 0 { merged.LowThreshold = override.LowThreshold...

bug

**Track**: feature-gap · **detector**: new (extends complexity) · **impact**: med · **effort**: small · **confidence**: high ## Summary pyscn reports per-function **McCabe cyclomatic complexity** but exposes **no per-function size/length metric**...

enhancement
good first issue
auto-filed

## Bug description CBO counts a class defined *inside the analyzed class's own method* as an external coupling dependency. A locally-scoped helper class is part of the class's own implementation,...

bug
P2
auto-filed

## Track **feature-gap** ## Summary pyscn computes coupling (CBO), cohesion (LCOM4 + `TotalMethods`), and class extent (`StartLine`/`EndLine`) independently, but never joins them into a composite **god-class** signal. A class that...

enhancement
auto-filed

# Bug description `pyscn analyze` emitted a type-4 clone group with `similarity: 0` — a self-contradictory value for a clone group (members of a clone group are by definition similar,...

bug
good first issue
P2
auto-filed

**Track**: feature-gap ## Summary pyscn outputs complexity results only as a flat per-function list (`complexity.Functions`) plus one global aggregate (`complexity.Summary`). There is no per-directory / per-package rollup in any output...

enhancement
auto-filed

**Track**: tuning (detector accuracy) · **Detector**: lcom ## Summary On a heavily-tested repo, virtually all of LCOM4's medium/high-risk findings are **pytest test classes**, not real cohesion problems. Test classes have...

enhancement
auto-filed

## Summary The default-enabled state of **architecture analysis** is defined in multiple places with **conflicting values**, and the struct-level defaults carry comments that contradict the actual runtime behavior. This is...

enhancement
good first issue

This is PR A of the split proposed in the original PR #452 (comment 4487566576). ## Yoda findings addressed (#3 and #4) **Finding #4: Features fast path lost** SyntacticSimilarityAnalyzer.ComputeSimilarity always...