aws-samples / aws-photo-to-sketch
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 17 files with 869 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (462 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 15 very small files (407 lines of code)
0% | 0% | 53% | 0% | 46%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
swift0% | 0% | 78% | 0% | 21%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
application/PhotoToSketch/PhotoToSketch/EffectApplyScreen0% | 0% | 100% | 0% | 0%
application/PhotoToSketch/PhotoToSketch/CameraScreen0% | 0% | 100% | 0% | 0%
src/lambda0% | 0% | 0% | 0% | 100%
src/src0% | 0% | 0% | 0% | 100%
src/lambda-inference0% | 0% | 0% | 0% | 100%
application/PhotoToSketch/PhotoToSketch/Helpers0% | 0% | 0% | 0% | 100%
application/PhotoToSketch/PhotoToSketch0% | 0% | 0% | 0% | 100%
application/PhotoToSketch/PhotoToSketch/ShareScreen0% | 0% | 0% | 0% | 100%
application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/Views0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
EffectApplyViewController.swift
in application/PhotoToSketch/PhotoToSketch/EffectApplyScreen
239 13
CameraViewController.swift
in application/PhotoToSketch/PhotoToSketch/CameraScreen
223 8
predictor.py
in src/src
97 7
app.py
in src/lambda-inference
69 5
PhotoToSketchLoader.swift
in application/PhotoToSketch/PhotoToSketch/Helpers
60 3
iam_helper.py
in src/lambda
54 1
create_endpoint.py
in src/lambda
29 1
create_model.py
in src/lambda
26 1
ShareViewController.swift
in application/PhotoToSketch/PhotoToSketch/ShareScreen
22 -
SceneDelegate.swift
in application/PhotoToSketch/PhotoToSketch
17 6
AppDelegate.swift
in application/PhotoToSketch/PhotoToSketch
12 3
ViewController.swift
in application/PhotoToSketch/PhotoToSketch
6 -
EffectCollectionViewCell.swift
in application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/Views
6 -
IntensityEmptyCollectionViewCell.swift
in application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/Views
3 -
IntensityCollectionViewCell.swift
in application/PhotoToSketch/PhotoToSketch/EffectApplyScreen/Views
3 -
wsgi.py
in src/src
2 -
__init__.py
in src/lambda
1 -
Files With Most Units (Top 10)
File# lines# units
EffectApplyViewController.swift
in application/PhotoToSketch/PhotoToSketch/EffectApplyScreen
239 13
CameraViewController.swift
in application/PhotoToSketch/PhotoToSketch/CameraScreen
223 8
predictor.py
in src/src
97 7
SceneDelegate.swift
in application/PhotoToSketch/PhotoToSketch
17 6
app.py
in src/lambda-inference
69 5
PhotoToSketchLoader.swift
in application/PhotoToSketch/PhotoToSketch/Helpers
60 3
AppDelegate.swift
in application/PhotoToSketch/PhotoToSketch
12 3
create_endpoint.py
in src/lambda
29 1
iam_helper.py
in src/lambda
54 1
create_model.py
in src/lambda
26 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
EffectApplyViewController.swift
in application/PhotoToSketch/PhotoToSketch/EffectApplyScreen
239 13 9
CameraViewController.swift
in application/PhotoToSketch/PhotoToSketch/CameraScreen
223 8 5
AppDelegate.swift
in application/PhotoToSketch/PhotoToSketch
12 3 2
ShareViewController.swift
in application/PhotoToSketch/PhotoToSketch/ShareScreen
22 - 1
SceneDelegate.swift
in application/PhotoToSketch/PhotoToSketch
17 6 1