apple / swift-installer-scripts
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 27 files with 2,662 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,163 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (844 lines of code)
    • 17 very small files (655 lines of code)
0% | 0% | 43% | 31% | 24%
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
wxs0% | 0% | 87% | 0% | 12%
cc0% | 0% | 77% | 0% | 22%
spec0% | 0% | 0% | 100% | 0%
wixproj0% | 0% | 0% | 0% | 100%
hh0% | 0% | 0% | 0% | 100%
vcxproj0% | 0% | 0% | 0% | 100%
filters0% | 0% | 0% | 0% | 100%
inc0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Windows0% | 0% | 72% | 0% | 27%
Windows/CustomActions/SwiftInstaller/Sources0% | 0% | 77% | 0% | 22%
Linux/RPM/Fedora/340% | 0% | 0% | 100% | 0%
Linux/RPM/Fedora/350% | 0% | 0% | 100% | 0%
Linux/RPM/Fedora/rawhide0% | 0% | 0% | 100% | 0%
Linux/RPM/Centos/80% | 0% | 0% | 100% | 0%
Linux/RPM/Amazonlinux/20% | 0% | 0% | 100% | 0%
Linux/RPM/Centos/70% | 0% | 0% | 100% | 0%
Windows/CustomActions/SwiftInstaller0% | 0% | 0% | 0% | 100%
Windows/CustomActions/SwiftInstaller/Headers0% | 0% | 0% | 0% | 100%
Linux/RPM0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
wxs
sdk.wxs
in platforms/Windows
351 -
wxs
toolchain.wxs
in platforms/Windows
310 -
swift_installer.cc
in platforms/Windows/CustomActions/SwiftInstaller/Sources
254 7
wxs
devtools.wxs
in platforms/Windows
248 -
spec
swiftlang.spec
in platforms/Linux/RPM/Fedora/34
143 -
spec
swiftlang.spec
in platforms/Linux/RPM/Fedora/35
143 -
spec
swiftlang.spec
in platforms/Linux/RPM/Fedora/rawhide
143 -
spec
swiftlang.spec
in platforms/Linux/RPM/Centos/8
139 -
spec
swiftlang.spec
in platforms/Linux/RPM/Amazonlinux/2
138 -
spec
swiftlang.spec
in platforms/Linux/RPM/Centos/7
138 -
vcxproj
SwiftInstaller.vcxproj
in platforms/Windows/CustomActions/SwiftInstaller
88 -
wxs
runtime.wxs
in platforms/Windows
77 -
logging.cc
in platforms/Windows/CustomActions/SwiftInstaller/Sources
59 1
wixproj
sdk.wixproj
in platforms/Windows
48 -
logging.hh
in platforms/Windows/CustomActions/SwiftInstaller/Headers
47 2
wixproj
toolchain.wixproj
in platforms/Windows
42 -
wxs
icu.wxs
in platforms/Windows
37 -
scoped_raii.hh
in platforms/Windows/CustomActions/SwiftInstaller/Headers
36 4
filters
SwiftInstaller.vcxproj.filters
in platforms/Windows/CustomActions/SwiftInstaller
35 -
wixproj
devtools.wixproj
in platforms/Windows
33 -
wixproj
installer.wixproj
in platforms/Windows
32 -
wixproj
icu.wixproj
in platforms/Windows
26 -
wixproj
runtime.wixproj
in platforms/Windows
26 -
swift_installer.hh
in platforms/Windows/CustomActions/SwiftInstaller/Headers
25 -
wxs
installer.wxs
in platforms/Windows
17 -
dllmain.cc
in platforms/Windows/CustomActions/SwiftInstaller/Sources
14 -
metadata.inc
in platforms/Linux/RPM
13 -
Files With Most Units (Top 4)
File# lines# units
swift_installer.cc
in platforms/Windows/CustomActions/SwiftInstaller/Sources
254 7
scoped_raii.hh
in platforms/Windows/CustomActions/SwiftInstaller/Headers
36 4
logging.hh
in platforms/Windows/CustomActions/SwiftInstaller/Headers
47 2
logging.cc
in platforms/Windows/CustomActions/SwiftInstaller/Sources
59 1
Files With Long Lines (Top 18)

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

File# lines# units# long lines
wxs
sdk.wxs
in platforms/Windows
351 - 69
wxs
toolchain.wxs
in platforms/Windows
310 - 43
wxs
devtools.wxs
in platforms/Windows
248 - 27
wxs
runtime.wxs
in platforms/Windows
77 - 13
spec
swiftlang.spec
in platforms/Linux/RPM/Amazonlinux/2
138 - 11
spec
swiftlang.spec
in platforms/Linux/RPM/Centos/7
138 - 11
spec
swiftlang.spec
in platforms/Linux/RPM/Centos/8
139 - 11
spec
swiftlang.spec
in platforms/Linux/RPM/Fedora/34
143 - 7
spec
swiftlang.spec
in platforms/Linux/RPM/Fedora/35
143 - 7
spec
swiftlang.spec
in platforms/Linux/RPM/Fedora/rawhide
143 - 7
wxs
icu.wxs
in platforms/Windows
37 - 6
wixproj
icu.wixproj
in platforms/Windows
26 - 2
wxs
installer.wxs
in platforms/Windows
17 - 2
wixproj
sdk.wixproj
in platforms/Windows
48 - 2
wixproj
toolchain.wixproj
in platforms/Windows
42 - 2
wixproj
devtools.wixproj
in platforms/Windows
33 - 1
wixproj
installer.wixproj
in platforms/Windows
32 - 1
wixproj
runtime.wixproj
in platforms/Windows
26 - 1