korosuke613 / lgtmoon
File Size

The distribution of size of files (measured in lines of code).

Intro
  • 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...
File Size Overall
  • There are 45 files with 1,489 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 codeclsfd_ftr_w_mp_ins)
    • 2 small files (300 lines of code)
    • 43 very small files (1,189 lines of code)
0% | 0% | 0% | 20% | 79%
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
vue0% | 0% | 0% | 55% | 44%
scala0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
sbt0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
sql0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
frontend0% | 0% | 0% | 46% | 53%
app0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
sql0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
conf0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
Longest Files (Top 45)
File# lines# units
Bar.vue
in frontend/src/components
172 -
App.vue
in frontend/src
128 -
Help.vue
in frontend/src/components
100 -
ImageRepository.scala
in app/domain/image
90 6
help.scala.html
in app/views/module
81 -
ImageDetail.vue
in frontend/src/components
72 -
index.html
in frontend/public
69 -
67 -
main.css
in public/css
51 -
CustomeSearchAdapter.scala
in app/domain/externals/google
43 2
Images.vue
in frontend/src/components
43 -
JsonBuilder.scala
in app/controllers
38 7
Response.scala
in app/domain/externals/google
36 -
ImageActor.scala
in app/actors
34 -
ImageMagickService.scala
in app/domain/imagemagick
34 1
ImageBinaryController.scala
in app/controllers
32 1
Tables.scala
in app/repositories
29 2
ImageController.scala
in app/controllers
29 -
GoogleCustomSearchClient.scala
in app/infra/apiclient
27 1
BaseControllerTrait.scala
in app/controllers
24 -
Loading.vue
in frontend/src/components
24 -
ImageStorage.scala
in app/infra/datasource
23 3
ImageSearchController.scala
in app/controllers
21 1
ImageSearchService.scala
in app/domain/image/search
19 1
build.sbt
in root
18 -
vue.config.js
in frontend
16 -
14 1
ImageMagick.scala
in app/infra/command
13 1
middle.scala.html
in app/views/ad
13 -
13 -
ApplicationController.scala
in app/controllers
12 -
top.scala.html
in app/views/ad
12 -
FontStorage.scala
in app/infra/datasource
11 1
UrlBuilder.scala
in app/infra/util
11 1
LgtmoonDatabase.scala
in app/infra/datasource
10 -
build.sbt
in sql
10 -
1_create.sql
in sql/init
8 -
analytics.scala.html
in app/views/header/google
7 -
adsense.scala.html
in app/views/header/google
7 -
deploy.js
in frontend/script
7 -
babel.config.js
in frontend
5 -
main.js
in frontend/src
5 -
plugins.sbt
in project
5 -
Image.scala
in app/domain/image/search
4 -
button.scala.html
in app/views/twitter
2 -
Files With Most Units (Top 14)
File# lines# units
JsonBuilder.scala
in app/controllers
38 7
ImageRepository.scala
in app/domain/image
90 6
ImageStorage.scala
in app/infra/datasource
23 3
Tables.scala
in app/repositories
29 2
CustomeSearchAdapter.scala
in app/domain/externals/google
43 2
FontStorage.scala
in app/infra/datasource
11 1
UrlBuilder.scala
in app/infra/util
11 1
GoogleCustomSearchClient.scala
in app/infra/apiclient
27 1
ImageMagick.scala
in app/infra/command
13 1
ImageBinaryController.scala
in app/controllers
32 1
ImageSearchController.scala
in app/controllers
21 1
ImageSearchService.scala
in app/domain/image/search
19 1
ImageMagickService.scala
in app/domain/imagemagick
34 1
14 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
Help.vue
in frontend/src/components
100 - 4
Tables.scala
in app/repositories
29 2 3
help.scala.html
in app/views/module
81 - 3
index.html
in frontend/public
69 - 3
button.scala.html
in app/views/twitter
2 - 1
Correlations

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

app/controllers/ImageController.scala x: 14 commits (all time) y: 29 lines of code app/controllers/JsonBuilder.scala x: 4 commits (all time) y: 38 lines of code app/domain/image/ImageRepository.scala x: 3 commits (all time) y: 90 lines of code app/infra/util/UrlBuilder.scala x: 5 commits (all time) y: 11 lines of code frontend/src/App.vue x: 15 commits (all time) y: 128 lines of code build.sbt x: 8 commits (all time) y: 18 lines of code frontend/public/index.html x: 13 commits (all time) y: 69 lines of code frontend/script/deploy.js x: 3 commits (all time) y: 7 lines of code frontend/src/components/Bar.vue x: 13 commits (all time) y: 172 lines of code public/css/main.css x: 9 commits (all time) y: 51 lines of code sql/init/1_create.sql x: 3 commits (all time) y: 8 lines of code frontend/src/components/Help.vue x: 7 commits (all time) y: 100 lines of code frontend/babel.config.js x: 3 commits (all time) y: 5 lines of code frontend/src/components/ImageDetail.vue x: 3 commits (all time) y: 72 lines of code frontend/src/components/Images.vue x: 4 commits (all time) y: 43 lines of code frontend/src/components/Loading.vue x: 3 commits (all time) y: 24 lines of code frontend/src/main.js x: 5 commits (all time) y: 5 lines of code frontend/vue.config.js x: 4 commits (all time) y: 16 lines of code app/controllers/ImageBinaryController.scala x: 7 commits (all time) y: 32 lines of code app/views/module/help.scala.html x: 7 commits (all time) y: 81 lines of code app/infra/datasource/LgtmoonDatabase.scala x: 2 commits (all time) y: 10 lines of code app/repositories/Tables.scala x: 4 commits (all time) y: 29 lines of code project/plugins.sbt x: 2 commits (all time) y: 5 lines of code app/views/ad/middle.scala.html x: 7 commits (all time) y: 13 lines of code app/views/ad/top.scala.html x: 8 commits (all time) y: 12 lines of code app/views/twitter/button.scala.html x: 1 commits (all time) y: 2 lines of code app/views/header/google/adsense.scala.html x: 1 commits (all time) y: 7 lines of code app/controllers/ApplicationController.scala x: 3 commits (all time) y: 12 lines of code app/controllers/ImageGenerateController.scala x: 9 commits (all time) y: 67 lines of code app/actors/ImageActor.scala x: 9 commits (all time) y: 34 lines of code app/controllers/BaseControllerTrait.scala x: 5 commits (all time) y: 24 lines of code app/infra/datasource/ImageStorage.scala x: 2 commits (all time) y: 23 lines of code app/domain/externals/google/CustomeSearchAdapter.scala x: 1 commits (all time) y: 43 lines of code app/domain/externals/google/Response.scala x: 1 commits (all time) y: 36 lines of code app/domain/image/search/ImageSearchService.scala x: 2 commits (all time) y: 19 lines of code app/domain/imagemagick/ImageMagickService.scala x: 1 commits (all time) y: 34 lines of code app/infra/command/ImageMagick.scala x: 1 commits (all time) y: 13 lines of code app/infra/datasource/FontStorage.scala x: 1 commits (all time) y: 11 lines of code app/controllers/ImageSearchController.scala x: 3 commits (all time) y: 21 lines of code app/domain/image/search/Image.scala x: 1 commits (all time) y: 4 lines of code app/infra/apiclient/GoogleCustomSearchClient.scala x: 1 commits (all time) y: 27 lines of code sql/Codegen.scala x: 3 commits (all time) y: 14 lines of code
172.0
lines of code
  min: 2.0
  average: 33.09
  25th percentile: 10.5
  median: 21.0
  75th percentile: 40.5
  max: 172.0
0 15.0
commits (all time)
min: 1.0 | average: 4.56 | 25th percentile: 1.5 | median: 3.0 | 75th percentile: 7.0 | max: 15.0

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

app/controllers/ImageController.scala x: 1 contributors (all time) y: 29 lines of code app/controllers/JsonBuilder.scala x: 1 contributors (all time) y: 38 lines of code app/domain/image/ImageRepository.scala x: 1 contributors (all time) y: 90 lines of code app/infra/util/UrlBuilder.scala x: 1 contributors (all time) y: 11 lines of code frontend/src/App.vue x: 2 contributors (all time) y: 128 lines of code build.sbt x: 1 contributors (all time) y: 18 lines of code frontend/public/index.html x: 2 contributors (all time) y: 69 lines of code frontend/script/deploy.js x: 1 contributors (all time) y: 7 lines of code frontend/src/components/Bar.vue x: 2 contributors (all time) y: 172 lines of code public/css/main.css x: 2 contributors (all time) y: 51 lines of code sql/init/1_create.sql x: 2 contributors (all time) y: 8 lines of code frontend/src/components/Help.vue x: 2 contributors (all time) y: 100 lines of code frontend/babel.config.js x: 2 contributors (all time) y: 5 lines of code frontend/src/components/ImageDetail.vue x: 2 contributors (all time) y: 72 lines of code frontend/src/components/Images.vue x: 2 contributors (all time) y: 43 lines of code frontend/src/components/Loading.vue x: 2 contributors (all time) y: 24 lines of code frontend/vue.config.js x: 2 contributors (all time) y: 16 lines of code app/controllers/ImageBinaryController.scala x: 1 contributors (all time) y: 32 lines of code app/views/module/help.scala.html x: 1 contributors (all time) y: 81 lines of code app/infra/datasource/LgtmoonDatabase.scala x: 1 contributors (all time) y: 10 lines of code project/plugins.sbt x: 1 contributors (all time) y: 5 lines of code app/views/ad/middle.scala.html x: 1 contributors (all time) y: 13 lines of code app/views/ad/top.scala.html x: 1 contributors (all time) y: 12 lines of code app/views/twitter/button.scala.html x: 1 contributors (all time) y: 2 lines of code app/controllers/ImageGenerateController.scala x: 1 contributors (all time) y: 67 lines of code app/actors/ImageActor.scala x: 1 contributors (all time) y: 34 lines of code app/controllers/BaseControllerTrait.scala x: 1 contributors (all time) y: 24 lines of code app/infra/datasource/ImageStorage.scala x: 1 contributors (all time) y: 23 lines of code app/domain/externals/google/CustomeSearchAdapter.scala x: 1 contributors (all time) y: 43 lines of code app/domain/externals/google/Response.scala x: 1 contributors (all time) y: 36 lines of code app/domain/image/search/ImageSearchService.scala x: 1 contributors (all time) y: 19 lines of code app/controllers/ImageSearchController.scala x: 1 contributors (all time) y: 21 lines of code app/domain/image/search/Image.scala x: 1 contributors (all time) y: 4 lines of code app/infra/apiclient/GoogleCustomSearchClient.scala x: 1 contributors (all time) y: 27 lines of code sql/Codegen.scala x: 1 contributors (all time) y: 14 lines of code
172.0
lines of code
  min: 2.0
  average: 33.09
  25th percentile: 10.5
  median: 21.0
  75th percentile: 40.5
  max: 172.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.27 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.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".