GerritCodeReview / homepage
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
  • For duplication, we look at places in code where there are 6 or more lines of code that are exactly the same.
  • Before duplication is calculated, the code is cleaned to remove empty lines, comments, and frequently duplicated constructs such as imports.
  • You should aim at having as little as possible (<5%) of duplicated code as high-level of duplication can lead to maintenance difficulties, poor factoring, and logical contradictions.
Learn more...
Duplication Overall
  • 2% duplication:
    • 8,797 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 254 duplicated lines
  • 22 duplicates
system2% (254 lines)
Duplication per Extension
css3% (240 lines)
html2% (14 lines)
Duplication per Component (primary)
css3% (240 lines)
pages/news27% (14 lines)
_data0% (0 lines)
ROOT0% (0 lines)
tools0% (0 lines)
js0% (0 lines)
_includes0% (0 lines)
_includes/custom0% (0 lines)
_layouts0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 22 duplicates...
Size#FoldersFilesLinesCode
12 x 2 css
css
bootstrap.min.css
bootstrap.min.css
2023:2034 (<1%)
2041:2052 (<1%)
view
12 x 2 css
css
customstyles.css
customstyles.css
741:755 (1%)
755:768 (1%)
view
11 x 2 css
css
bootstrap.min.css
bootstrap.min.css
2011:2021 (<1%)
2261:2271 (<1%)
view
11 x 2 css
css
bootstrap.min.css
bootstrap.min.css
1999:2009 (<1%)
2431:2441 (<1%)
view
11 x 2 css
css
bootstrap.min.css
bootstrap.min.css
1987:1997 (<1%)
2601:2611 (<1%)
view
8 x 2 css
css
customstyles.css
customstyles.css
84:92 (<1%)
746:755 (<1%)
view
8 x 2 css
css
customstyles.css
customstyles.css
84:92 (<1%)
759:768 (<1%)
view
7 x 2 css
css
bootstrap.min.css
bootstrap.min.css
5917:5923 (<1%)
5935:5941 (<1%)
view
7 x 2 css
css
bootstrap.min.css
bootstrap.min.css
5926:5932 (<1%)
5935:5941 (<1%)
view
7 x 2 css
css
bootstrap.min.css
bootstrap.min.css
5917:5923 (<1%)
5926:5932 (<1%)
view
7 x 2 css
css
bootstrap.min.css
bootstrap.min.css
1496:1503 (<1%)
1535:1542 (<1%)
view
7 x 2 pages/news
pages/news
news.html
news_archive.html
5:12 (29%)
5:13 (25%)
view
6 x 2 css
css
bootstrap.min.css
bootstrap.min.css
3272:3277 (<1%)
3290:3295 (<1%)
view
6 x 2 css
css
bootstrap.min.css
bootstrap.min.css
1516:1521 (<1%)
1568:1573 (<1%)
view
6 x 2 css
css
bootstrap.min.css
bootstrap.min.css
3315:3320 (<1%)
4447:4452 (<1%)
view
6 x 2 css
css
bootstrap.min.css
bootstrap.min.css
3315:3320 (<1%)
3333:3338 (<1%)
view
6 x 2 css
css
customstyles.css
theme-blue.css
563:569 (<1%)
32:38 (7%)
view
6 x 2 css
css
bootstrap.min.css
bootstrap.min.css
1504:1509 (<1%)
1562:1567 (<1%)
view
6 x 2 css
css
bootstrap.min.css
bootstrap.min.css
3333:3338 (<1%)
4447:4452 (<1%)
view
6 x 2 css
css
bootstrap.min.css
bootstrap.min.css
3272:3277 (<1%)
4473:4478 (<1%)
view