hhvm / hacktest
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 22 files with 1,243 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (272 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (537 lines of code)
    • 17 very small files (434 lines of code)
0% | 0% | 21% | 43% | 34%
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
hack0% | 0% | 21% | 43% | 34%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/Framework0% | 0% | 93% | 0% | 6%
src0% | 0% | 0% | 100% | 0%
src/_Private0% | 0% | 0% | 39% | 60%
src/Retriever0% | 0% | 0% | 70% | 29%
src/Runner0% | 0% | 0% | 0% | 100%
src/enum0% | 0% | 0% | 0% | 100%
src/Exception0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
HackTest.hack
in src/Framework
272 12
CLIOutputHandler.hack
in src/_Private
178 10
ClassRetriever.hack
in src/Retriever
141 5
117 18
101 4
VerboseCLIOutput.hack
in src/_Private
93 2
Progress.hack
in src/_Private
86 6
HackTestRunner.hack
in src/Runner
65 3
ConciseCLIOutput.hack
in src/_Private
60 2
FileRetriever.hack
in src/Retriever
58 3
Result.hack
in src/_Private
18 4
TestGroup.hack
in src/Framework
11 2
OnScopeExitAsync.hack
in src/_Private
11 2
DataProvider.hack
in src/Framework
7 1
TestResult.hack
in src/enum
7 -
ExitCode.hack
in src/enum
6 -
2 -
2 -
2 -
2 -
2 -
2 -
Files With Most Units (Top 14)
File# lines# units
117 18
HackTest.hack
in src/Framework
272 12
CLIOutputHandler.hack
in src/_Private
178 10
Progress.hack
in src/_Private
86 6
ClassRetriever.hack
in src/Retriever
141 5
101 4
Result.hack
in src/_Private
18 4
HackTestRunner.hack
in src/Runner
65 3
FileRetriever.hack
in src/Retriever
58 3
TestGroup.hack
in src/Framework
11 2
ConciseCLIOutput.hack
in src/_Private
60 2
OnScopeExitAsync.hack
in src/_Private
11 2
VerboseCLIOutput.hack
in src/_Private
93 2
DataProvider.hack
in src/Framework
7 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines
Correlations

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

src/Framework/HackTest.hack x: 15 commits (all time) y: 272 lines of code src/_Private/CLIOutputHandler.hack x: 10 commits (all time) y: 178 lines of code src/HackTestCLI.hack x: 10 commits (all time) y: 101 lines of code src/_Private/ConciseCLIOutput.hack x: 8 commits (all time) y: 60 lines of code src/_Private/VerboseCLIOutput.hack x: 11 commits (all time) y: 93 lines of code src/Retriever/ClassRetriever.hack x: 9 commits (all time) y: 141 lines of code src/Retriever/FileRetriever.hack x: 5 commits (all time) y: 58 lines of code src/Framework/DataProvider.hack x: 2 commits (all time) y: 7 lines of code src/Framework/TestGroup.hack x: 2 commits (all time) y: 11 lines of code src/ProgressEvent.hack x: 2 commits (all time) y: 117 lines of code src/Runner/HackTestRunner.hack x: 7 commits (all time) y: 65 lines of code src/_Private/Progress.hack x: 2 commits (all time) y: 86 lines of code src/_Private/Result.hack x: 1 commits (all time) y: 18 lines of code src/Exception/ExpectationFailedException.hack x: 1 commits (all time) y: 2 lines of code src/enum/ExitCode.hack x: 1 commits (all time) y: 6 lines of code src/enum/TestResult.hack x: 1 commits (all time) y: 7 lines of code
272.0
lines of code
  min: 2.0
  average: 56.5
  25th percentile: 2.0
  median: 14.5
  75th percentile: 95.0
  max: 272.0
0 15.0
commits (all time)
min: 1.0 | average: 4.27 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 8.25 | max: 15.0

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

src/Framework/HackTest.hack x: 4 contributors (all time) y: 272 lines of code src/_Private/CLIOutputHandler.hack x: 3 contributors (all time) y: 178 lines of code src/HackTestCLI.hack x: 3 contributors (all time) y: 101 lines of code src/_Private/ConciseCLIOutput.hack x: 1 contributors (all time) y: 60 lines of code src/_Private/VerboseCLIOutput.hack x: 2 contributors (all time) y: 93 lines of code src/Retriever/ClassRetriever.hack x: 3 contributors (all time) y: 141 lines of code src/Retriever/FileRetriever.hack x: 2 contributors (all time) y: 58 lines of code src/Framework/DataProvider.hack x: 1 contributors (all time) y: 7 lines of code src/Framework/TestGroup.hack x: 1 contributors (all time) y: 11 lines of code src/ProgressEvent.hack x: 1 contributors (all time) y: 117 lines of code src/Runner/HackTestRunner.hack x: 1 contributors (all time) y: 65 lines of code src/_Private/Progress.hack x: 1 contributors (all time) y: 86 lines of code src/_Private/Result.hack x: 1 contributors (all time) y: 18 lines of code src/Exception/ExpectationFailedException.hack x: 1 contributors (all time) y: 2 lines of code src/enum/ExitCode.hack x: 1 contributors (all time) y: 6 lines of code
272.0
lines of code
  min: 2.0
  average: 56.5
  25th percentile: 2.0
  median: 14.5
  75th percentile: 95.0
  max: 272.0
0 4.0
contributors (all time)
min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.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".