pytorch / workshops
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 9 files with 1,245 lines of code.
    • 1 very long files (1,005 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 8 very small files (240 lines of code)
80% | 0% | 0% | 0% | 19%
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
java93% | 0% | 0% | 0% | 6%
swift0% | 0% | 0% | 0% | 100%
mm0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
PTMobileWalkthruAndroid/app/src/main/java/com/example/ptmobilewalkthru93% | 0% | 0% | 0% | 6%
PTMobileWalkthruIOS/PTMobileDemo0% | 0% | 0% | 0% | 100%
PTMobileWalkthruIOS/PTMobileDemo/TorchBridge0% | 0% | 0% | 0% | 100%
Longest Files (Top 9)
File# lines# units
ImageNetClasses.java
in PTMobileWalkthruAndroid/app/src/main/java/com/example/ptmobilewalkthru
1005 -
MainActivity.java
in PTMobileWalkthruAndroid/app/src/main/java/com/example/ptmobilewalkthru
75 2
UIImage+Helper.swift
in PTMobileWalkthruIOS/PTMobileDemo
43 1
ViewController.swift
in PTMobileWalkthruIOS/PTMobileDemo
42 -
TorchModule.mm
in PTMobileWalkthruIOS/PTMobileDemo/TorchBridge
40 -
SceneDelegate.swift
in PTMobileWalkthruIOS/PTMobileDemo
17 6
AppDelegate.swift
in PTMobileWalkthruIOS/PTMobileDemo
12 3
TorchModule.h
in PTMobileWalkthruIOS/PTMobileDemo/TorchBridge
10 -
PTMobileDemo-Bridging-Header.h
in PTMobileWalkthruIOS/PTMobileDemo/TorchBridge
1 -
Files With Most Units (Top 4)
File# lines# units
SceneDelegate.swift
in PTMobileWalkthruIOS/PTMobileDemo
17 6
AppDelegate.swift
in PTMobileWalkthruIOS/PTMobileDemo
12 3
MainActivity.java
in PTMobileWalkthruAndroid/app/src/main/java/com/example/ptmobilewalkthru
75 2
UIImage+Helper.swift
in PTMobileWalkthruIOS/PTMobileDemo
43 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
AppDelegate.swift
in PTMobileWalkthruIOS/PTMobileDemo
12 3 2
ImageNetClasses.java
in PTMobileWalkthruAndroid/app/src/main/java/com/example/ptmobilewalkthru
1005 - 2
SceneDelegate.swift
in PTMobileWalkthruIOS/PTMobileDemo
17 6 1