microsoft / EdgeML
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 1,313 files with 224,730 lines of code.
    • 26 very long files (63,928 lines of code)
    • 61 long files (42,703 lines of code)
    • 202 medium size files (63,258 lines of codeclsfd_ftr_w_mp_ins)
    • 226 small files (32,571 lines of code)
    • 798 very small files (22,270 lines of code)
28% | 19% | 28% | 14% | 9%
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
f73% | 11% | 6% | 6% | <1%
h18% | 19% | 38% | 15% | 8%
py34% | 21% | 22% | 14% | 7%
c31% | 0% | 39% | 24% | 5%
cpp9% | 34% | 20% | 14% | 21%
in72% | 0% | 0% | 17% | 10%
cmake0% | 20% | 28% | 4% | 46%
cu0% | 79% | 0% | 0% | 20%
cc0% | 0% | 53% | 32% | 14%
hh0% | 0% | 0% | 36% | 63%
ino0% | 0% | 0% | 77% | 22%
js0% | 0% | 0% | 100% | 0%
css0% | 0% | 0% | 74% | 25%
vcxproj0% | 0% | 0% | 100% | 0%
cs0% | 0% | 0% | 60% | 39%
cxx0% | 0% | 0% | 39% | 60%
g40% | 0% | 0% | 100% | 0%
filters0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cpp/eigen29% | 15% | 30% | 14% | 10%
tools/SeeDot26% | 34% | 17% | 12% | 8%
c_reference/src81% | 0% | 8% | 0% | 9%
applications/GesturePod22% | 38% | 9% | 20% | 8%
tf/edgeml_tf40% | 19% | 26% | 11% | 2%
pytorch/edgeml_pytorch31% | 12% | 30% | 23% | 1%
cpp/src0% | 39% | 37% | 14% | 8%
c_reference/models0% | 0% | 37% | 45% | 16%
c_reference/include0% | 0% | 0% | 50% | 49%
cpp/drivers0% | 0% | 0% | 44% | 55%
pytorch0% | 0% | 0% | 0% | 100%
tf0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
lapacke.h
in cpp/eigen/Eigen/src/misc
15567 -
f
zblat3.f
in cpp/eigen/blas/testing
3501 -
f
cblat3.f
in cpp/eigen/blas/testing
3491 -
f
zblat2.f
in cpp/eigen/blas/testing
3286 -
f
cblat2.f
in cpp/eigen/blas/testing
3278 -
f
dblat2.f
in cpp/eigen/blas/testing
3175 -
f
sblat2.f
in cpp/eigen/blas/testing
3175 -
irBuilder.py
in tools/SeeDot/seedot/compiler/ir
2901 77
f
dblat3.f
in cpp/eigen/blas/testing
2872 -
f
sblat3.f
in cpp/eigen/blas/testing
2872 -
rnn.py
in tf/edgeml_tf/graph
1819 101
seedotParser.py
in tools/SeeDot/seedot/compiler/antlr
1609 208
GeneralBlockPanelKernel.h
in cpp/eigen/Eigen/src/Core/products
1552 58
in
Doxyfile.in
in cpp/eigen/doc
1394 -
CoreEvaluators.h
in cpp/eigen/Eigen/src/Core
1283 120
rnn.py
in pytorch/edgeml_pytorch/graph
1243 75
quantized_mbconv.c
in c_reference/src
1191 5
TensorContractionCuda.h
in cpp/eigen/unsupported/Eigen/CXX11/src/Tensor
1118 6
MathFunctions.h
in cpp/eigen/Eigen/src/Core
1105 143
PacketMath.h
in cpp/eigen/Eigen/src/Core/arch/AVX512
1104 87
quantized_utils.c
in c_reference/src
1094 27
MPU6050.cpp
in applications/GesturePod/onMKR1000/src/lib
1085 266
Eigen_Colamd.h
in cpp/eigen/Eigen/src/OrderingMethods
1075 5
f
dblat1.f
in cpp/eigen/blas/testing
1064 -
MPU6050.cpp
in applications/GesturePod/training/serialDataCollection/src/lib
1054 259
f
sblat1.f
in cpp/eigen/blas/testing
1020 -
PacketMathHalf.h
in cpp/eigen/Eigen/src/Core/arch/CUDA
956 76
ProtoNNFunctions.cpp
in cpp/src/ProtoNN
948 18
Transform.h
in cpp/eigen/Eigen/src/Geometry
936 55
SparseMatrix.h
in cpp/eigen/Eigen/src/SparseCore
928 38
TensorConvolution.h
in cpp/eigen/unsupported/Eigen/CXX11/src/Tensor
915 32
SpecialFunctionsImpl.h
in cpp/eigen/unsupported/Eigen/src/SpecialFunctions
895 53
BDCSVD.h
in cpp/eigen/Eigen/src/SVD
890 11
emirnnTrainer.py
in tf/edgeml_tf/trainer
888 30
codegenBase.py
in tools/SeeDot/seedot/compiler/codegen
866 39
TensorBase.h
in cpp/eigen/unsupported/Eigen/CXX11/src/Tensor
844 4
library_fixed.cpp
in tools/SeeDot/seedot/Predictor
844 37
PacketMath.h
in cpp/eigen/Eigen/src/Core/arch/AltiVec
837 111
I2Cdev.cpp
in applications/GesturePod/onMKR1000/src/lib
818 52
I2Cdev.cpp
in applications/GesturePod/training/serialDataCollection/src/lib
813 52
ProductEvaluators.h
in cpp/eigen/Eigen/src/Core
808 67
BonsaiFunctions.cpp
in cpp/src/Bonsai
797 25
analyze-blocking-sizes.cpp
in cpp/eigen/bench
786 25
MPU6050.h
in applications/GesturePod/onMKR1000/src/lib
784 -
f
zlarfb.f
in cpp/eigen/lapack
774 -
f
clarfb.f
in cpp/eigen/lapack
771 -
library_float.cpp
in tools/SeeDot/seedot/Predictor
765 36
f
slarfb.f
in cpp/eigen/lapack
763 -
f
dlarfb.f
in cpp/eigen/lapack
762 -
MPU6050.h
in applications/GesturePod/training/serialDataCollection/src/lib
752 -
Files With Most Units (Top 20)
File# lines# units
MPU6050.cpp
in applications/GesturePod/onMKR1000/src/lib
1085 266
MPU6050.cpp
in applications/GesturePod/training/serialDataCollection/src/lib
1054 259
seedotParser.py
in tools/SeeDot/seedot/compiler/antlr
1609 208
MathFunctions.h
in cpp/eigen/Eigen/src/Core
1105 143
PacketMath.h
in cpp/eigen/Eigen/src/Core/arch/SSE
717 135
CoreEvaluators.h
in cpp/eigen/Eigen/src/Core
1283 120
PacketMath.h
in cpp/eigen/Eigen/src/Core/arch/AltiVec
837 111
PacketMath.h
in cpp/eigen/Eigen/src/Core/arch/NEON
507 106
rnn.py
in tf/edgeml_tf/graph
1819 101
PacketMath.h
in cpp/eigen/Eigen/src/Core/arch/AVX
507 92
TensorIndexList.h
in cpp/eigen/unsupported/Eigen/CXX11/src/Tensor
561 89
PacketMath.h
in cpp/eigen/Eigen/src/Core/arch/AVX512
1104 87
DenseStorage.h
in cpp/eigen/Eigen/src/Core
486 78
irBuilder.py
in tools/SeeDot/seedot/compiler/ir
2901 77
PacketMathHalf.h
in cpp/eigen/Eigen/src/Core/arch/CUDA
956 76
rnn.py
in pytorch/edgeml_pytorch/graph
1243 75
Complex.h
in cpp/eigen/Eigen/src/Core/arch/SSE
400 71
Complex.h
in cpp/eigen/Eigen/src/Core/arch/AVX
388 70
BlockMethods.h
in cpp/eigen/Eigen/src/plugins
443 70
Complex.h
in cpp/eigen/Eigen/src/Core/arch/AltiVec
362 69
Files With Long Lines (Top 20)

There are 409 files with lines longer than 120 characters. In total, there are 2959 long lines.

File# lines# units# long lines
blas.h
in cpp/eigen/Eigen/src/misc
370 - 81
ONNXNodesAST.py
in tools/SeeDot/seedot/compiler/ONNX
663 47 65
level3_impl.h
in cpp/eigen/blas
525 9 63
irBuilder.py
in tools/SeeDot/seedot/compiler/ir
2901 77 62
Assign_MKL.h
in cpp/eigen/Eigen/src/Core
122 2 54
CXX11Meta.h
in cpp/eigen/unsupported/Eigen/CXX11/src/util
379 34 54
TensorBase.h
in cpp/eigen/unsupported/Eigen/CXX11/src/Tensor
844 4 51
PacketMath.h
in cpp/eigen/Eigen/src/Core/arch/AVX
507 92 48
PacketMath.h
in cpp/eigen/Eigen/src/Core/arch/AltiVec
837 111 42
main.py
in tools/SeeDot/seedot
575 18 39
XprHelper.h
in cpp/eigen/Eigen/src/Core/util
545 22 36
Complex.h
in cpp/eigen/Eigen/src/Core/arch/AltiVec
362 69 34
PacketMath.h
in cpp/eigen/Eigen/src/Core/arch/SSE
717 135 34
ProductEvaluators.h
in cpp/eigen/Eigen/src/Core
808 67 33
TensorConvolution.h
in cpp/eigen/unsupported/Eigen/CXX11/src/Tensor
915 32 33
BDCSVD.h
in cpp/eigen/Eigen/src/SVD
890 11 32
PlainObjectBase.h
in cpp/eigen/Eigen/src/Core
680 60 30
TensorReduction.h
in cpp/eigen/unsupported/Eigen/CXX11/src/Tensor
644 24 30
PacketMath.h
in cpp/eigen/Eigen/src/Core/arch/NEON
507 106 29
AutoDiffScalar.h
in cpp/eigen/unsupported/Eigen/src/AutoDiff
475 9 29