korosuke613 / travis-gtest-cmake-example
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 88 files with 37,252 lines of code.
    • 9 very long files (20,950 lines of code)
    • 14 long files (10,429 lines of code)
    • 12 medium size files (3,263 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (852 lines of code)
    • 47 very small files (1,758 lines of code)
56% | 27% | 8% | 2% | 4%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
h67% | 23% | 4% | 2% | 2%
cc51% | 32% | 11% | 0% | 5%
py24% | 49% | 12% | 6% | 7%
in0% | 0% | 100% | 0% | 0%
cmake0% | 0% | 100% | 0% | 0%
vcxproj0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
cpp0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
hpp0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ext56% | 28% | 8% | 2% | 4%
src0% | 0% | 0% | 0% | 100%
include0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
gtest-param-util-generated.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
4562 105
gtest.cc
in ext/gtest-1.8.0/googletest/src
3440 257
gtest-type-util.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
3082 1
gmock-matchers.h
in ext/gtest-1.8.0/googlemock/include/gmock
2713 305
gmock-generated-actions.h
in ext/gtest-1.8.0/googlemock/include/gmock
1919 83
gmock-generated-matchers.h
in ext/gtest-1.8.0/googlemock/include/gmock
1752 53
gtest-port.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
1244 80
ast.py
in ext/gtest-1.8.0/googlemock/scripts/generator/cpp
1223 155
gtest-param-test.h
in ext/gtest-1.8.0/googletest/include/gtest
1015 19
gmock-spec-builders.h
in ext/gtest-1.8.0/googlemock/include/gmock
975 48
upload.py
in ext/gtest-1.8.0/googletest/scripts
949 49
upload.py
in ext/gtest-1.8.0/googlemock/scripts
949 49
gtest.h
in ext/gtest-1.8.0/googletest/include/gtest
852 61
gtest-port.cc
in ext/gtest-1.8.0/googletest/src
841 64
gtest-death-test.cc
in ext/gtest-1.8.0/googletest/src
836 39
gmock-generated-function-mockers.h
in ext/gtest-1.8.0/googlemock/include/gmock
824 32
gtest-tuple.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
752 45
gmock-actions.h
in ext/gtest-1.8.0/googlemock/include/gmock
646 82
gtest-internal.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
614 41
pump.py
in ext/gtest-1.8.0/googletest/scripts
603 72
gtest-internal-inl.h
in ext/gtest-1.8.0/googletest/src
558 46
gtest-printers.h
in ext/gtest-1.8.0/googletest/include/gtest
520 58
gmock-spec-builders.cc
in ext/gtest-1.8.0/googlemock/src
510 28
gtest-param-util.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
448 28
gmock_doctor.py
in ext/gtest-1.8.0/googlemock/scripts
404 17
gmock-matchers.cc
in ext/gtest-1.8.0/googlemock/src
278 12
gmock-generated-nice-strict.h
in ext/gtest-1.8.0/googlemock/include/gmock
265 6
gen_gtest_pred_impl.py
in ext/gtest-1.8.0/googletest/scripts
249 15
gtest-filepath.cc
in ext/gtest-1.8.0/googletest/src
244 17
in
gmock-config.in
in ext/gtest-1.8.0/googlemock/scripts
242 -
gmock-internal-utils.h
in ext/gtest-1.8.0/googlemock/include/gmock/internal
238 13
cmake
internal_utils.cmake
in ext/gtest-1.8.0/googletest/cmake
236 -
gtest-printers.cc
in ext/gtest-1.8.0/googletest/src
225 21
gtest_pred_impl.h
in ext/gtest-1.8.0/googletest/include/gtest
217 5
in
gtest-config.in
in ext/gtest-1.8.0/googletest/scripts
217 -
gmock-generated-internal-utils.h
in ext/gtest-1.8.0/googlemock/include/gmock/internal
185 -
tokenize.py
in ext/gtest-1.8.0/googlemock/scripts/generator/cpp
181 6
gmock_class.py
in ext/gtest-1.8.0/googlemock/scripts/generator/cpp
137 3
gmock-more-actions.h
in ext/gtest-1.8.0/googlemock/include/gmock
123 4
gtest-linked_ptr.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
118 10
gtest-typed-test.h
in ext/gtest-1.8.0/googletest/include/gtest
108 3
fuse_gtest_files.py
in ext/gtest-1.8.0/googletest/scripts
98 9
gtest-spi.h
in ext/gtest-1.8.0/googletest/include/gtest
97 2
fuse_gmock_files.py
in ext/gtest-1.8.0/googlemock/scripts
91 8
vcxproj
gmock_main.vcxproj
in ext/gtest-1.8.0/googlemock/msvc/2015
90 -
gmock-cardinalities.cc
in ext/gtest-1.8.0/googlemock/src
89 12
vcxproj
gmock_main.vcxproj
in ext/gtest-1.8.0/googlemock/msvc/2010
88 -
gtest-message.h
in ext/gtest-1.8.0/googletest/include/gtest
87 3
vcxproj
gmock.vcxproj
in ext/gtest-1.8.0/googlemock/msvc/2015
84 -
gmock-internal-utils.cc
in ext/gtest-1.8.0/googlemock/src
84 4
Files With Most Units (Top 50)
File# lines# units
gmock-matchers.h
in ext/gtest-1.8.0/googlemock/include/gmock
2713 305
gtest.cc
in ext/gtest-1.8.0/googletest/src
3440 257
ast.py
in ext/gtest-1.8.0/googlemock/scripts/generator/cpp
1223 155
gtest-param-util-generated.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
4562 105
gmock-generated-actions.h
in ext/gtest-1.8.0/googlemock/include/gmock
1919 83
gmock-actions.h
in ext/gtest-1.8.0/googlemock/include/gmock
646 82
gtest-port.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
1244 80
pump.py
in ext/gtest-1.8.0/googletest/scripts
603 72
gtest-port.cc
in ext/gtest-1.8.0/googletest/src
841 64
gtest.h
in ext/gtest-1.8.0/googletest/include/gtest
852 61
gtest-printers.h
in ext/gtest-1.8.0/googletest/include/gtest
520 58
gmock-generated-matchers.h
in ext/gtest-1.8.0/googlemock/include/gmock
1752 53
upload.py
in ext/gtest-1.8.0/googletest/scripts
949 49
upload.py
in ext/gtest-1.8.0/googlemock/scripts
949 49
gmock-spec-builders.h
in ext/gtest-1.8.0/googlemock/include/gmock
975 48
gtest-internal-inl.h
in ext/gtest-1.8.0/googletest/src
558 46
gtest-tuple.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
752 45
gtest-internal.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
614 41
gtest-death-test.cc
in ext/gtest-1.8.0/googletest/src
836 39
gmock-generated-function-mockers.h
in ext/gtest-1.8.0/googlemock/include/gmock
824 32
gtest-param-util.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
448 28
gmock-spec-builders.cc
in ext/gtest-1.8.0/googlemock/src
510 28
gtest-printers.cc
in ext/gtest-1.8.0/googletest/src
225 21
gtest-param-test.h
in ext/gtest-1.8.0/googletest/include/gtest
1015 19
gtest-filepath.cc
in ext/gtest-1.8.0/googletest/src
244 17
gmock_doctor.py
in ext/gtest-1.8.0/googlemock/scripts
404 17
gen_gtest_pred_impl.py
in ext/gtest-1.8.0/googletest/scripts
249 15
gmock-internal-utils.h
in ext/gtest-1.8.0/googlemock/include/gmock/internal
238 13
gmock-cardinalities.cc
in ext/gtest-1.8.0/googlemock/src
89 12
gmock-matchers.cc
in ext/gtest-1.8.0/googlemock/src
278 12
gmock-cardinalities.h
in ext/gtest-1.8.0/googlemock/include/gmock
48 11
gtest-linked_ptr.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
118 10
fuse_gtest_files.py
in ext/gtest-1.8.0/googletest/scripts
98 9
fuse_gmock_files.py
in ext/gtest-1.8.0/googlemock/scripts
91 8
release_docs.py
in ext/gtest-1.8.0/googletest/scripts
56 6
gmock-generated-nice-strict.h
in ext/gtest-1.8.0/googlemock/include/gmock
265 6
tokenize.py
in ext/gtest-1.8.0/googlemock/scripts/generator/cpp
181 6
gtest_pred_impl.h
in ext/gtest-1.8.0/googletest/include/gtest
217 5
common.py
in ext/gtest-1.8.0/googletest/scripts
27 5
gmock.cc
in ext/gtest-1.8.0/googlemock/src
68 5
Pid.cpp
in src
39 5
gmock-more-actions.h
in ext/gtest-1.8.0/googlemock/include/gmock
123 4
gmock-internal-utils.cc
in ext/gtest-1.8.0/googlemock/src
84 4
gtest-filepath.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
51 3
gtest-message.h
in ext/gtest-1.8.0/googletest/include/gtest
87 3
gtest-typed-test.h
in ext/gtest-1.8.0/googletest/include/gtest
108 3
gmock_class.py
in ext/gtest-1.8.0/googlemock/scripts/generator/cpp
137 3
gtest-spi.h
in ext/gtest-1.8.0/googletest/include/gtest
97 2
keywords.py
in ext/gtest-1.8.0/googlemock/scripts/generator/cpp
23 2
gtest-type-util.h
in ext/gtest-1.8.0/googletest/include/gtest/internal
3082 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
vcxproj
gmock.vcxproj
in ext/gtest-1.8.0/googlemock/msvc/2015
84 - 4
vcxproj
gmock_main.vcxproj
in ext/gtest-1.8.0/googlemock/msvc/2015
90 - 4
vcxproj
gmock.vcxproj
in ext/gtest-1.8.0/googlemock/msvc/2010
82 - 4
vcxproj
gmock_main.vcxproj
in ext/gtest-1.8.0/googlemock/msvc/2010
88 - 4
appveyor.yml
in ext/gtest-1.8.0
59 - 1
Correlations

File Size vs. Commits (all time): 88 points

include/Pid.hpp x: 4 commits (all time) y: 29 lines of code src/Pid.cpp x: 3 commits (all time) y: 39 lines of code ext/gtest-1.8.0/appveyor.yml x: 1 commits (all time) y: 59 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-actions.h x: 1 commits (all time) y: 646 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-cardinalities.h x: 1 commits (all time) y: 48 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-generated-actions.h x: 1 commits (all time) y: 1919 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-generated-function-mockers.h x: 1 commits (all time) y: 824 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-generated-matchers.h x: 1 commits (all time) y: 1752 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-generated-nice-strict.h x: 1 commits (all time) y: 265 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-matchers.h x: 1 commits (all time) y: 2713 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-more-actions.h x: 1 commits (all time) y: 123 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-more-matchers.h x: 1 commits (all time) y: 13 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-spec-builders.h x: 1 commits (all time) y: 975 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock.h x: 1 commits (all time) y: 19 lines of code ext/gtest-1.8.0/googlemock/include/gmock/internal/gmock-generated-internal-utils.h x: 1 commits (all time) y: 185 lines of code ext/gtest-1.8.0/googlemock/include/gmock/internal/gmock-internal-utils.h x: 1 commits (all time) y: 238 lines of code ext/gtest-1.8.0/googlemock/msvc/2010/gmock.vcxproj x: 1 commits (all time) y: 82 lines of code ext/gtest-1.8.0/googlemock/msvc/2015/gmock_main.vcxproj x: 1 commits (all time) y: 90 lines of code ext/gtest-1.8.0/googlemock/scripts/generator/cpp/ast.py x: 1 commits (all time) y: 1223 lines of code ext/gtest-1.8.0/googlemock/scripts/generator/cpp/gmock_class.py x: 1 commits (all time) y: 137 lines of code ext/gtest-1.8.0/googlemock/scripts/gmock_doctor.py x: 1 commits (all time) y: 404 lines of code ext/gtest-1.8.0/googlemock/scripts/upload.py x: 1 commits (all time) y: 949 lines of code ext/gtest-1.8.0/googlemock/src/gmock-matchers.cc x: 1 commits (all time) y: 278 lines of code ext/gtest-1.8.0/googlemock/src/gmock-spec-builders.cc x: 1 commits (all time) y: 510 lines of code ext/gtest-1.8.0/googletest/include/gtest/gtest-param-test.h x: 1 commits (all time) y: 1015 lines of code ext/gtest-1.8.0/googletest/include/gtest/gtest.h x: 1 commits (all time) y: 852 lines of code ext/gtest-1.8.0/googletest/include/gtest/gtest_pred_impl.h x: 1 commits (all time) y: 217 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-internal.h x: 1 commits (all time) y: 614 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-param-util-generated.h x: 1 commits (all time) y: 4562 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-param-util.h x: 1 commits (all time) y: 448 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-port.h x: 1 commits (all time) y: 1244 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-tuple.h x: 1 commits (all time) y: 752 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-type-util.h x: 1 commits (all time) y: 3082 lines of code ext/gtest-1.8.0/googletest/scripts/pump.py x: 1 commits (all time) y: 603 lines of code ext/gtest-1.8.0/googletest/src/gtest-death-test.cc x: 1 commits (all time) y: 836 lines of code ext/gtest-1.8.0/googletest/src/gtest-internal-inl.h x: 1 commits (all time) y: 558 lines of code ext/gtest-1.8.0/googletest/src/gtest.cc x: 1 commits (all time) y: 3440 lines of code
4562.0
lines of code
  min: 1.0
  average: 423.32
  25th percentile: 23.5
  median: 90.5
  75th percentile: 517.5
  max: 4562.0
0 4.0
commits (all time)
min: 1.0 | average: 1.06 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0

File Size vs. Contributors (all time): 88 points

include/Pid.hpp x: 1 contributors (all time) y: 29 lines of code src/Pid.cpp x: 1 contributors (all time) y: 39 lines of code ext/gtest-1.8.0/appveyor.yml x: 1 contributors (all time) y: 59 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-actions.h x: 1 contributors (all time) y: 646 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-generated-actions.h x: 1 contributors (all time) y: 1919 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-generated-function-mockers.h x: 1 contributors (all time) y: 824 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-generated-matchers.h x: 1 contributors (all time) y: 1752 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-generated-nice-strict.h x: 1 contributors (all time) y: 265 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-matchers.h x: 1 contributors (all time) y: 2713 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-more-actions.h x: 1 contributors (all time) y: 123 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-more-matchers.h x: 1 contributors (all time) y: 13 lines of code ext/gtest-1.8.0/googlemock/include/gmock/gmock-spec-builders.h x: 1 contributors (all time) y: 975 lines of code ext/gtest-1.8.0/googlemock/include/gmock/internal/gmock-generated-internal-utils.h x: 1 contributors (all time) y: 185 lines of code ext/gtest-1.8.0/googlemock/include/gmock/internal/gmock-internal-utils.h x: 1 contributors (all time) y: 238 lines of code ext/gtest-1.8.0/googlemock/msvc/2010/gmock.vcxproj x: 1 contributors (all time) y: 82 lines of code ext/gtest-1.8.0/googlemock/msvc/2015/gmock_main.vcxproj x: 1 contributors (all time) y: 90 lines of code ext/gtest-1.8.0/googlemock/scripts/generator/cpp/ast.py x: 1 contributors (all time) y: 1223 lines of code ext/gtest-1.8.0/googlemock/scripts/generator/cpp/gmock_class.py x: 1 contributors (all time) y: 137 lines of code ext/gtest-1.8.0/googlemock/scripts/gmock_doctor.py x: 1 contributors (all time) y: 404 lines of code ext/gtest-1.8.0/googlemock/scripts/upload.py x: 1 contributors (all time) y: 949 lines of code ext/gtest-1.8.0/googlemock/src/gmock-matchers.cc x: 1 contributors (all time) y: 278 lines of code ext/gtest-1.8.0/googlemock/src/gmock-spec-builders.cc x: 1 contributors (all time) y: 510 lines of code ext/gtest-1.8.0/googletest/include/gtest/gtest-param-test.h x: 1 contributors (all time) y: 1015 lines of code ext/gtest-1.8.0/googletest/include/gtest/gtest.h x: 1 contributors (all time) y: 852 lines of code ext/gtest-1.8.0/googletest/include/gtest/gtest_pred_impl.h x: 1 contributors (all time) y: 217 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-internal.h x: 1 contributors (all time) y: 614 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-param-util-generated.h x: 1 contributors (all time) y: 4562 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-param-util.h x: 1 contributors (all time) y: 448 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-port.h x: 1 contributors (all time) y: 1244 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-tuple.h x: 1 contributors (all time) y: 752 lines of code ext/gtest-1.8.0/googletest/include/gtest/internal/gtest-type-util.h x: 1 contributors (all time) y: 3082 lines of code ext/gtest-1.8.0/googletest/scripts/pump.py x: 1 contributors (all time) y: 603 lines of code ext/gtest-1.8.0/googletest/src/gtest-death-test.cc x: 1 contributors (all time) y: 836 lines of code ext/gtest-1.8.0/googletest/src/gtest-internal-inl.h x: 1 contributors (all time) y: 558 lines of code ext/gtest-1.8.0/googletest/src/gtest.cc x: 1 contributors (all time) y: 3440 lines of code
4562.0
lines of code
  min: 1.0
  average: 423.32
  25th percentile: 23.5
  median: 90.5
  75th percentile: 517.5
  max: 4562.0
0 1.0
contributors (all time)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".