Duplication (open track)
Software QualityInformativeInformation only
What it checks
Duplicated lines per language, over the production code the maintainability estimate rates.
Why it matters
Duplicated code has to be fixed in every copy.
Where it comes from
Information only. Context shown next to the rating. It adds no condition, has no stars of its own and never counts in the score or the verdict.
Also follows from: SIG ratings as Common Ground uses them.
Standard for Public Code. No criterion of the Standard for Public Code matches this one.
Level and version
- Level
- Informative
- Counts in the rating
- No, it is shown but never counted
- Checklist version
- Introduced in 2026.2
- Category
- Software Quality
- Aspect
- None: the criterion does not feed an aspect
How it is measured
Measured with jscpd.
Tools and models says what each tool proves and what it does not.
How to pass
- There is nothing to pass: the criterion is informative.
- Move repeated code into shared functions.