File Size Overall
  • There are 15 files with 564 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of code)
    • 2 small files (211 lines of code)
    • 13 very small files (353 lines of code)
0% | 0% | 0% | 37% | 62%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
tsx0% | 0% | 0% | 71% | 28%
scala0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
explorer0% | 0% | 0% | 54% | 45%
miner0% | 0% | 0% | 0% | 100%
screenshot-script0% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
NotUsed.tsx
in explorer/src
106 -
Search.tsx
in explorer/src
105 -
Miner.scala
in miner/src/main/scala/com/gu/formats/explorer
76 2
get-screenshots.js
in screenshot-script
67 1
Formats.ts
in explorer/src
48 -
MostPopular.tsx
in explorer/src
46 -
ContentApi.scala
in miner/src/main/scala/com/gu/formats/explorer
32 1
index.html
in explorer/public
20 -
index.tsx
in explorer/src
14 -
App.tsx
in explorer/src
13 -
reportWebVitals.ts
in explorer/src
13 -
main.css
in explorer/src
12 -
ThumbnailCard.tsx
in explorer/src
10 -
setupTests.ts
in explorer/src
1 -
Search.module.css
in explorer/src
1 -
Files With Most Units (Top 3)
File# lines# units
Miner.scala
in miner/src/main/scala/com/gu/formats/explorer
76 2
get-screenshots.js
in screenshot-script
67 1
ContentApi.scala
in miner/src/main/scala/com/gu/formats/explorer
32 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 11 long lines.

File# lines# units# long lines
MostPopular.tsx
in explorer/src
46 - 4
NotUsed.tsx
in explorer/src
106 - 4
Search.tsx
in explorer/src
105 - 1
ThumbnailCard.tsx
in explorer/src
10 - 1
Miner.scala
in miner/src/main/scala/com/gu/formats/explorer
76 2 1
Correlations

File Size vs. Commits (all time): 15 points

explorer/public/index.html x: 3 commits (all time) y: 20 lines of code explorer/src/MostPopular.tsx x: 5 commits (all time) y: 46 lines of code explorer/src/ThumbnailCard.tsx x: 2 commits (all time) y: 10 lines of code explorer/src/NotUsed.tsx x: 4 commits (all time) y: 106 lines of code screenshot-script/get-screenshots.js x: 8 commits (all time) y: 67 lines of code explorer/src/Search.tsx x: 4 commits (all time) y: 105 lines of code explorer/src/main.css x: 2 commits (all time) y: 12 lines of code explorer/src/App.tsx x: 6 commits (all time) y: 13 lines of code explorer/src/Search.module.css x: 1 commits (all time) y: 1 lines of code explorer/src/index.tsx x: 3 commits (all time) y: 14 lines of code miner/src/main/scala/com/gu/formats/explorer/ContentApi.scala x: 2 commits (all time) y: 32 lines of code miner/src/main/scala/com/gu/formats/explorer/Miner.scala x: 6 commits (all time) y: 76 lines of code explorer/src/Formats.ts x: 1 commits (all time) y: 48 lines of code explorer/src/reportWebVitals.ts x: 1 commits (all time) y: 13 lines of code
106.0
lines of code
  min: 1.0
  average: 37.6
  25th percentile: 12.0
  median: 20.0
  75th percentile: 67.0
  max: 106.0
0 8.0
commits (all time)
min: 1.0 | average: 3.27 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 5.0 | max: 8.0

File Size vs. Contributors (all time): 15 points

explorer/public/index.html x: 3 contributors (all time) y: 20 lines of code explorer/src/MostPopular.tsx x: 1 contributors (all time) y: 46 lines of code explorer/src/ThumbnailCard.tsx x: 1 contributors (all time) y: 10 lines of code explorer/src/NotUsed.tsx x: 1 contributors (all time) y: 106 lines of code screenshot-script/get-screenshots.js x: 3 contributors (all time) y: 67 lines of code explorer/src/Search.tsx x: 1 contributors (all time) y: 105 lines of code explorer/src/main.css x: 1 contributors (all time) y: 12 lines of code explorer/src/App.tsx x: 1 contributors (all time) y: 13 lines of code explorer/src/Search.module.css x: 1 contributors (all time) y: 1 lines of code explorer/src/index.tsx x: 1 contributors (all time) y: 14 lines of code miner/src/main/scala/com/gu/formats/explorer/ContentApi.scala x: 2 contributors (all time) y: 32 lines of code miner/src/main/scala/com/gu/formats/explorer/Miner.scala x: 2 contributors (all time) y: 76 lines of code explorer/src/Formats.ts x: 1 contributors (all time) y: 48 lines of code
106.0
lines of code
  min: 1.0
  average: 37.6
  25th percentile: 12.0
  median: 20.0
  75th percentile: 67.0
  max: 106.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.4 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".

About This Analysis
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...