pytorch / ios-demo-app
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 129 files with 4,496 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (230 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (950 lines of code)
    • 120 very small files (3,316 lines of code)
0% | 0% | 5% | 21% | 73%
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
py0% | 0% | 39% | 0% | 60%
swift0% | 0% | 0% | 28% | 71%
mm0% | 0% | 0% | 14% | 85%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Seq2SeqNMT0% | 0% | 50% | 27% | 21%
TorchVideo0% | 0% | 0% | 44% | 55%
ObjectDetection0% | 0% | 0% | 40% | 59%
QuestionAnswering0% | 0% | 0% | 50% | 49%
PyTorchDemo0% | 0% | 0% | 17% | 82%
D2Go0% | 0% | 0% | 20% | 79%
ViT4MNIST0% | 0% | 0% | 0% | 100%
ImageSegmentation0% | 0% | 0% | 0% | 100%
SpeechRecognition0% | 0% | 0% | 0% | 100%
HelloWorld-CoreML0% | 0% | 0% | 0% | 100%
HelloWorld0% | 0% | 0% | 0% | 100%
HelloWorld-Metal0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
seq2seq_nmt.py
in Seq2SeqNMT
230 22
InferenceModule.mm
in Seq2SeqNMT/Seq2SeqNMT
126 -
ViewController.swift
in TorchVideo/TorchVideo
122 2
QuestionAnswering.swift
in QuestionAnswering/QuestionAnswering
122 3
CameraController.swift
in PyTorchDemo/PyTorchDemo/ImageClassification
120 5
CameraController.swift
in TorchVideo/TorchVideo
118 5
CameraController.swift
in D2Go/D2Go/Live
118 5
CameraController.swift
in ObjectDetection/ObjectDetection/Live
118 5
PrePostProcessor.swift
in ObjectDetection/ObjectDetection/Utils
106 -
vit_pytorch.py
in ViT4MNIST
91 12
TorchModule.mm
in PyTorchDemo/PyTorchDemo/TorchBridge
83 -
ViewController.swift
in SpeechRecognition/SpeechRecognition
82 2
InferenceModule.mm
in QuestionAnswering/QuestionAnswering
78 -
TorchModule.mm
in ImageSegmentation/ImageSegmentation
77 -
UIImageHelper.mm
in ImageSegmentation/ImageSegmentation
77 -
mnist_vit.py
in ViT4MNIST
73 2
ViewController.swift
in D2Go/D2Go
72 1
ViewController.swift
in ObjectDetection/ObjectDetection
72 1
InferenceModule.mm
in TorchVideo/TorchVideo
66 1
InferenceModule.mm
in D2Go/D2Go/Inference
65 -
InferenceModule.mm
in ViT4MNIST/ViT4MNIST
63 -
ViewController.swift
in ViT4MNIST/ViT4MNIST
58 -
create_d2go.py
in D2Go
58 1
LiveObjectDetectionViewController.swift
in D2Go/D2Go/Live
57 -
LiveObjectDetectionViewController.swift
in ObjectDetection/ObjectDetection/Live
57 -
NLPViewController.swift
in PyTorchDemo/PyTorchDemo/NLP
57 3
PrePostProcessor.swift
in D2Go/D2Go/Utils
55 -
LiveVideoClassificationViewController.swift
in TorchVideo/TorchVideo
52 -
ImageClassificationViewController.swift
in PyTorchDemo/PyTorchDemo/ImageClassification
52 -
ViewController.swift
in ImageSegmentation/ImageSegmentation
51 -
InferenceModule.mm
in SpeechRecognition/SpeechRecognition
50 -
InferenceModule.mm
in ObjectDetection/ObjectDetection/Inference
44 -
UIImage+Helper.swift
in HelloWorld/HelloWorld/HelloWorld
43 1
UIImage+Helper.swift
in HelloWorld-CoreML/HelloWorld/HelloWorld
43 1
UIImage+Helper.swift
in ImageSegmentation/ImageSegmentation
43 1
UIImage+Helper.swift
in TorchVideo/TorchVideo
43 1
UIImage+Helper.swift
in HelloWorld-Metal/HelloWorld-Metal/HelloWorld-Metal
43 1
UIImage+Helper.swift
in D2Go/D2Go/Utils
43 1
UIImage+Helper.swift
in ObjectDetection/ObjectDetection/Utils
43 1
create_wav2vec2.py
in SpeechRecognition
42 2
TorchModule.mm
in HelloWorld-CoreML/HelloWorld/HelloWorld/TorchBridge
41 -
ViewController.swift
in HelloWorld/HelloWorld/HelloWorld
40 -
ViewController.swift
in HelloWorld-CoreML/HelloWorld/HelloWorld
40 -
ViewController.swift
in HelloWorld-Metal/HelloWorld-Metal/HelloWorld-Metal
40 -
CVPixelBuffer+Helper.swift
in TorchVideo/TorchVideo
39 1
CVPixelBuffer+Helper.swift
in D2Go/D2Go/Live
39 1
CVPixelBuffer+Helper.swift
in ObjectDetection/ObjectDetection/Live
39 1
CVPixelBuffer+Helper.swift
in PyTorchDemo/PyTorchDemo/ImageClassification
39 1
TorchModule.mm
in HelloWorld/HelloWorld/HelloWorld/TorchBridge
38 -
TorchModule.mm
in HelloWorld-Metal/HelloWorld-Metal/HelloWorld-Metal/TorchBridge
38 -
Files With Most Units (Top 20)
File# lines# units
seq2seq_nmt.py
in Seq2SeqNMT
230 22
vit_pytorch.py
in ViT4MNIST
91 12
SceneDelegate.swift
in HelloWorld/HelloWorld/HelloWorld
17 6
SceneDelegate.swift
in HelloWorld-CoreML/HelloWorld/HelloWorld
17 6
SceneDelegate.swift
in ImageSegmentation/ImageSegmentation
17 6
SceneDelegate.swift
in SpeechRecognition/SpeechRecognition
17 6
SceneDelegate.swift
in TorchVideo/TorchVideo
17 6
SceneDelegate.swift
in QuestionAnswering/QuestionAnswering
17 6
SceneDelegate.swift
in Seq2SeqNMT/Seq2SeqNMT
19 6
SceneDelegate.swift
in ViT4MNIST/ViT4MNIST
17 6
SceneDelegate.swift
in D2Go/D2Go
17 6
SceneDelegate.swift
in ObjectDetection/ObjectDetection
17 6
CameraController.swift
in TorchVideo/TorchVideo
118 5
CameraController.swift
in D2Go/D2Go/Live
118 5
CameraController.swift
in ObjectDetection/ObjectDetection/Live
118 5
CameraController.swift
in PyTorchDemo/PyTorchDemo/ImageClassification
120 5
AppDelegate.swift
in ImageSegmentation/ImageSegmentation
12 3
AppDelegate.swift
in SpeechRecognition/SpeechRecognition
12 3
AppDelegate.swift
in TorchVideo/TorchVideo
12 3
AppDelegate.swift
in QuestionAnswering/QuestionAnswering
12 3
Files With Long Lines (Top 20)

There are 48 files with lines longer than 120 characters. In total, there are 113 long lines.

File# lines# units# long lines
ViewController.swift
in D2Go/D2Go
72 1 7
LiveObjectDetectionViewController.swift
in D2Go/D2Go/Live
57 - 7
ViewController.swift
in ObjectDetection/ObjectDetection
72 1 7
LiveObjectDetectionViewController.swift
in ObjectDetection/ObjectDetection/Live
57 - 7
CVPixelBuffer+Helper.swift
in PyTorchDemo/PyTorchDemo/ImageClassification
39 1 6
CVPixelBuffer+Helper.swift
in TorchVideo/TorchVideo
39 1 5
CVPixelBuffer+Helper.swift
in D2Go/D2Go/Live
39 1 5
CVPixelBuffer+Helper.swift
in ObjectDetection/ObjectDetection/Live
39 1 5
ViewController.swift
in SpeechRecognition/SpeechRecognition
82 2 4
UIView+Helper.swift
in PyTorchDemo/PyTorchDemo/view
16 1 4
ViewController.swift
in TorchVideo/TorchVideo
122 2 3
ViewController.swift
in ViT4MNIST/ViT4MNIST
58 - 3
PrePostProcessor.swift
in D2Go/D2Go/Utils
55 - 3
PrePostProcessor.swift
in ObjectDetection/ObjectDetection/Utils
106 - 3
AppDelegate.swift
in ImageSegmentation/ImageSegmentation
12 3 2
AppDelegate.swift
in SpeechRecognition/SpeechRecognition
12 3 2
AppDelegate.swift
in TorchVideo/TorchVideo
12 3 2
AppDelegate.swift
in QuestionAnswering/QuestionAnswering
12 3 2
AppDelegate.swift
in Seq2SeqNMT/Seq2SeqNMT
14 3 2
AppDelegate.swift
in ViT4MNIST/ViT4MNIST
12 3 2