facebook / FBRetainCycleDetector
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 57 files with 3,437 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (560 lines of code)
    • 2 medium size files (415 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,174 lines of code)
    • 46 very small files (1,288 lines of code)
0% | 16% | 12% | 34% | 37%
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
mm0% | 28% | 10% | 44% | 16%
c0% | 0% | 100% | 0% | 0%
m0% | 0% | 0% | 32% | 67%
h0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
FBRetainCycleDetectorTests0% | 35% | 12% | 23% | 27%
rcd_fishhook0% | 0% | 88% | 0% | 11%
FBRetainCycleDetector/Layout/Classes0% | 0% | 0% | 52% | 47%
FBRetainCycleDetector/Graph0% | 0% | 0% | 59% | 40%
FBRetainCycleDetector/Detector0% | 0% | 0% | 71% | 28%
FBRetainCycleDetector/Associations0% | 0% | 0% | 96% | 3%
FBRetainCycleDetector/Layout/Blocks0% | 0% | 0% | 0% | 100%
FBRetainCycleDetector/Filtering0% | 0% | 0% | 0% | 100%
FBRetainCycleDetector0% | 0% | 0% | 0% | 100%
FBRetainCycleDetector/Graph/Specialization0% | 0% | 0% | 0% | 100%
github/workflows0% | 0% | 0% | 0% | 100%
FBRetainCycleDetector/Associations/Internal0% | 0% | 0% | 0% | 100%
FBRetainCycleDetector/Graph/Internal0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
FBRetainCycleDetectorTests.mm
in FBRetainCycleDetectorTests
560 -
rcd_fishhook.c
in rcd_fishhook
213 7
FBClassStrongLayoutTests.mm
in FBRetainCycleDetectorTests
202 -
FBObjectiveCObjectTests.m
in FBRetainCycleDetectorTests
196 -
FBRetainCycleDetector.mm
in FBRetainCycleDetector/Detector
187 -
FBStructEncodingParserTests.mm
in FBRetainCycleDetectorTests
165 -
FBAssociationManager.mm
in FBRetainCycleDetector/Associations
147 6
FBClassStrongLayout.mm
in FBRetainCycleDetector/Layout/Classes
141 1
FBStructEncodingParser.mm
in FBRetainCycleDetector/Layout/Classes/Parser
124 7
FBObjectiveCGraphElement.mm
in FBRetainCycleDetector/Graph
107 -
FBObjectiveCObject.m
in FBRetainCycleDetector/Graph
107 -
FBObjectiveCBlockTests.m
in FBRetainCycleDetectorTests
94 -
FBGraphEdgeFilterTests.m
in FBRetainCycleDetectorTests
73 -
FBRCDCollectionTests.m
in FBRetainCycleDetectorTests
72 -
FBBlockStrongLayoutTests.mm
in FBRetainCycleDetectorTests
71 -
FBBlockStrongLayout.m
in FBRetainCycleDetector/Layout/Blocks
71 2
FBStandardGraphEdgeFilters.mm
in FBRetainCycleDetector/Filtering
56 3
FBObjectiveCBlock.m
in FBRetainCycleDetector/Graph
52 1
FBRetainCycleUtils.m
in FBRetainCycleDetector
51 1
FBObjectiveCNSCFTimerTests.m
in FBRetainCycleDetectorTests
50 -
FBIvarReference.m
in FBRetainCycleDetector/Layout/Classes/Reference
47 -
FBAssociationManagerTests.mm
in FBRetainCycleDetectorTests
42 -
FBNodeEnumerator.mm
in FBRetainCycleDetector/Detector
41 -
FBObjectiveCNSCFTimer.mm
in FBRetainCycleDetector/Graph/Specialization
40 -
FBObjectGraphConfiguration.m
in FBRetainCycleDetector/Graph
38 -
FBObjectInStructReference.m
in FBRetainCycleDetector/Layout/Classes/Reference
34 -
FBBlockStrongRelationDetector.m
in FBRetainCycleDetector/Layout/Blocks
33 2
Struct.mm
in FBRetainCycleDetector/Layout/Classes/Parser
32 1
FBBlockRecognizingTests.mm
in FBRetainCycleDetectorTests
31 -
rcd_fishhook.h
in rcd_fishhook
28 -
FBObjectGraphConfiguration.h
in FBRetainCycleDetector/Graph
28 1
Struct.h
in FBRetainCycleDetector/Layout/Classes/Parser
24 -
FBBlockInterface.h
in FBRetainCycleDetector/Layout/Blocks
22 -
Type.h
in FBRetainCycleDetector/Layout/Classes/Parser
21 1
FBRetainCycleDetector.h
in FBRetainCycleDetector/Detector
21 -
BaseType.h
in FBRetainCycleDetector/Layout/Classes/Parser
17 1
FBIvarReference.h
in FBRetainCycleDetector/Layout/Classes/Reference
17 1
ci.yml
in github/workflows
16 -
FBStandardGraphEdgeFilters.h
in FBRetainCycleDetector/Filtering
16 -
FBObjectiveCGraphElement.h
in FBRetainCycleDetector/Graph
16 -
FBRetainCycleUtils.h
in FBRetainCycleDetector
16 -
FBBlockStrongRelationDetector.h
in FBRetainCycleDetector/Layout/Blocks
15 -
FBClassStrongLayout.h
in FBRetainCycleDetector/Layout/Classes
11 -
FBAssociationManager+Internal.h
in FBRetainCycleDetector/Associations/Internal
10 -
FBBlockStrongLayout.h
in FBRetainCycleDetector/Layout/Blocks
9 -
FBClassStrongLayoutHelpers.h
in FBRetainCycleDetector/Layout/Classes
9 -
FBStructEncodingParser.h
in FBRetainCycleDetector/Layout/Classes/Parser
8 -
FBClassStrongLayoutHelpers.m
in FBRetainCycleDetector/Layout/Classes
8 1
FBNodeEnumerator.h
in FBRetainCycleDetector/Detector
7 -
FBAssociationManager.h
in FBRetainCycleDetector/Associations
6 -
Files With Most Units (Top 15)
File# lines# units
rcd_fishhook.c
in rcd_fishhook
213 7
FBStructEncodingParser.mm
in FBRetainCycleDetector/Layout/Classes/Parser
124 7
FBAssociationManager.mm
in FBRetainCycleDetector/Associations
147 6
FBStandardGraphEdgeFilters.mm
in FBRetainCycleDetector/Filtering
56 3
FBBlockStrongRelationDetector.m
in FBRetainCycleDetector/Layout/Blocks
33 2
FBBlockStrongLayout.m
in FBRetainCycleDetector/Layout/Blocks
71 2
Type.h
in FBRetainCycleDetector/Layout/Classes/Parser
21 1
Struct.mm
in FBRetainCycleDetector/Layout/Classes/Parser
32 1
BaseType.h
in FBRetainCycleDetector/Layout/Classes/Parser
17 1
FBClassStrongLayout.mm
in FBRetainCycleDetector/Layout/Classes
141 1
FBClassStrongLayoutHelpers.m
in FBRetainCycleDetector/Layout/Classes
8 1
FBIvarReference.h
in FBRetainCycleDetector/Layout/Classes/Reference
17 1
FBObjectGraphConfiguration.h
in FBRetainCycleDetector/Graph
28 1
FBObjectiveCBlock.m
in FBRetainCycleDetector/Graph
52 1
FBRetainCycleUtils.m
in FBRetainCycleDetector
51 1
Files With Long Lines (Top 10)

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

File# lines# units# long lines
FBRCDCollectionTests.m
in FBRetainCycleDetectorTests
72 - 3
FBStructEncodingParserTests.mm
in FBRetainCycleDetectorTests
165 - 2
FBClassStrongLayout.mm
in FBRetainCycleDetector/Layout/Classes
141 1 2
FBObjectiveCNSCFTimer.mm
in FBRetainCycleDetector/Graph/Specialization
40 - 2
FBRetainCycleUtils.h
in FBRetainCycleDetector
16 - 2
rcd_fishhook.c
in rcd_fishhook
213 7 1
FBStructEncodingParser.mm
in FBRetainCycleDetector/Layout/Classes/Parser
124 7 1
FBClassStrongLayout.h
in FBRetainCycleDetector/Layout/Classes
11 - 1
FBObjectGraphConfiguration.h
in FBRetainCycleDetector/Graph
28 1 1
FBRetainCycleDetector.h
in FBRetainCycleDetector/Detector
21 - 1
Correlations

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

github/workflows/ci.yml x: 3 commits (all time) y: 16 lines of code FBRetainCycleDetector/Associations/FBAssociationManager.mm x: 7 commits (all time) y: 147 lines of code FBRetainCycleDetectorTests/FBRetainCycleDetectorTests.mm x: 4 commits (all time) y: 560 lines of code FBRetainCycleDetector/Graph/FBObjectiveCGraphElement.mm x: 14 commits (all time) y: 107 lines of code FBRetainCycleDetector/Detector/FBRetainCycleDetector.h x: 5 commits (all time) y: 21 lines of code FBRetainCycleDetector/Graph/Specialization/FBObjectiveCNSCFTimer.h x: 3 commits (all time) y: 4 lines of code FBRetainCycleDetector/Layout/Classes/FBClassStrongLayout.mm x: 11 commits (all time) y: 141 lines of code FBRetainCycleDetector/Associations/FBAssociationManager.h x: 2 commits (all time) y: 6 lines of code FBRetainCycleDetector/Associations/Internal/FBAssociationManager+Internal.h x: 2 commits (all time) y: 10 lines of code FBRetainCycleDetector/Detector/FBNodeEnumerator.h x: 2 commits (all time) y: 7 lines of code FBRetainCycleDetector/Detector/FBNodeEnumerator.mm x: 2 commits (all time) y: 41 lines of code FBRetainCycleDetector/Detector/FBRetainCycleDetector+Internal.h x: 2 commits (all time) y: 4 lines of code FBRetainCycleDetector/Detector/FBRetainCycleDetector.mm x: 14 commits (all time) y: 187 lines of code FBRetainCycleDetector/FBRetainCycleUtils.h x: 5 commits (all time) y: 16 lines of code FBRetainCycleDetector/FBRetainCycleUtils.m x: 6 commits (all time) y: 51 lines of code FBRetainCycleDetector/Filtering/FBStandardGraphEdgeFilters.mm x: 4 commits (all time) y: 56 lines of code FBRetainCycleDetector/Graph/FBObjectGraphConfiguration.h x: 12 commits (all time) y: 28 lines of code FBRetainCycleDetector/Graph/FBObjectGraphConfiguration.m x: 10 commits (all time) y: 38 lines of code FBRetainCycleDetector/Graph/FBObjectiveCBlock.m x: 10 commits (all time) y: 52 lines of code FBRetainCycleDetector/Graph/FBObjectiveCObject.m x: 8 commits (all time) y: 107 lines of code FBRetainCycleDetector/Graph/Specialization/FBObjectiveCNSCFTimer.mm x: 4 commits (all time) y: 40 lines of code FBRetainCycleDetector/Layout/Blocks/FBBlockInterface.h x: 2 commits (all time) y: 22 lines of code FBRetainCycleDetector/Layout/Blocks/FBBlockStrongLayout.m x: 4 commits (all time) y: 71 lines of code FBRetainCycleDetector/Layout/Blocks/FBBlockStrongRelationDetector.h x: 5 commits (all time) y: 15 lines of code FBRetainCycleDetector/Layout/Blocks/FBBlockStrongRelationDetector.m x: 7 commits (all time) y: 33 lines of code FBRetainCycleDetector/Layout/Classes/FBClassStrongLayout.h x: 5 commits (all time) y: 11 lines of code FBRetainCycleDetector/Layout/Classes/FBClassStrongLayoutHelpers.m x: 4 commits (all time) y: 8 lines of code FBRetainCycleDetector/Layout/Classes/Parser/BaseType.h x: 4 commits (all time) y: 17 lines of code FBRetainCycleDetector/Layout/Classes/Parser/FBStructEncodingParser.h x: 5 commits (all time) y: 8 lines of code FBRetainCycleDetector/Layout/Classes/Parser/FBStructEncodingParser.mm x: 10 commits (all time) y: 124 lines of code FBRetainCycleDetector/Layout/Classes/Parser/Struct.h x: 7 commits (all time) y: 24 lines of code FBRetainCycleDetector/Layout/Classes/Parser/Struct.mm x: 5 commits (all time) y: 32 lines of code FBRetainCycleDetector/Layout/Classes/Parser/Type.h x: 6 commits (all time) y: 21 lines of code FBRetainCycleDetector/Layout/Classes/Reference/FBIvarReference.h x: 2 commits (all time) y: 17 lines of code FBRetainCycleDetector/Layout/Classes/Reference/FBIvarReference.m x: 4 commits (all time) y: 47 lines of code FBRetainCycleDetector/Layout/Classes/Reference/FBObjectInStructReference.m x: 2 commits (all time) y: 34 lines of code FBRetainCycleDetectorTests/FBAssociationManagerTests.mm x: 2 commits (all time) y: 42 lines of code FBRetainCycleDetectorTests/FBBlockRecognizingTests.mm x: 4 commits (all time) y: 31 lines of code FBRetainCycleDetectorTests/FBBlockStrongLayoutTests.mm x: 2 commits (all time) y: 71 lines of code FBRetainCycleDetectorTests/FBClassStrongLayoutTests.mm x: 5 commits (all time) y: 202 lines of code FBRetainCycleDetectorTests/FBGraphEdgeFilterTests.m x: 6 commits (all time) y: 73 lines of code FBRetainCycleDetectorTests/FBObjectiveCBlockTests.m x: 3 commits (all time) y: 94 lines of code FBRetainCycleDetectorTests/FBObjectiveCNSCFTimerTests.m x: 4 commits (all time) y: 50 lines of code FBRetainCycleDetectorTests/FBObjectiveCObjectTests.m x: 2 commits (all time) y: 196 lines of code FBRetainCycleDetectorTests/FBRCDCollectionTests.m x: 3 commits (all time) y: 72 lines of code FBRetainCycleDetectorTests/FBStructEncodingParserTests.mm x: 6 commits (all time) y: 165 lines of code rcd_fishhook/rcd_fishhook.c x: 12 commits (all time) y: 213 lines of code rcd_fishhook/rcd_fishhook.h x: 6 commits (all time) y: 28 lines of code
560.0
lines of code
  min: 4.0
  average: 60.3
  25th percentile: 10.5
  median: 31.0
  75th percentile: 71.5
  max: 560.0
0 14.0
commits (all time)
min: 2.0 | average: 4.89 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 6.0 | max: 14.0

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

github/workflows/ci.yml x: 2 contributors (all time) y: 16 lines of code FBRetainCycleDetector/Associations/FBAssociationManager.mm x: 7 contributors (all time) y: 147 lines of code FBRetainCycleDetectorTests/FBRetainCycleDetectorTests.mm x: 4 contributors (all time) y: 560 lines of code FBRetainCycleDetector/Graph/FBObjectiveCGraphElement.mm x: 8 contributors (all time) y: 107 lines of code FBRetainCycleDetector/Detector/FBRetainCycleDetector.h x: 4 contributors (all time) y: 21 lines of code FBRetainCycleDetector/Filtering/FBStandardGraphEdgeFilters.h x: 3 contributors (all time) y: 16 lines of code FBRetainCycleDetector/Graph/Specialization/FBObjectiveCNSCFTimer.h x: 3 contributors (all time) y: 4 lines of code FBRetainCycleDetector/Layout/Classes/FBClassStrongLayout.mm x: 8 contributors (all time) y: 141 lines of code FBRetainCycleDetector/Associations/FBAssociationManager.h x: 2 contributors (all time) y: 6 lines of code FBRetainCycleDetector/Associations/Internal/FBAssociationManager+Internal.h x: 2 contributors (all time) y: 10 lines of code FBRetainCycleDetector/Detector/FBNodeEnumerator.h x: 2 contributors (all time) y: 7 lines of code FBRetainCycleDetector/Detector/FBNodeEnumerator.mm x: 2 contributors (all time) y: 41 lines of code FBRetainCycleDetector/Detector/FBRetainCycleDetector+Internal.h x: 2 contributors (all time) y: 4 lines of code FBRetainCycleDetector/Detector/FBRetainCycleDetector.mm x: 8 contributors (all time) y: 187 lines of code FBRetainCycleDetector/FBRetainCycleUtils.m x: 4 contributors (all time) y: 51 lines of code FBRetainCycleDetector/Filtering/FBStandardGraphEdgeFilters.mm x: 3 contributors (all time) y: 56 lines of code FBRetainCycleDetector/Graph/FBObjectGraphConfiguration.h x: 6 contributors (all time) y: 28 lines of code FBRetainCycleDetector/Graph/FBObjectGraphConfiguration.m x: 6 contributors (all time) y: 38 lines of code FBRetainCycleDetector/Graph/FBObjectiveCBlock.m x: 6 contributors (all time) y: 52 lines of code FBRetainCycleDetector/Graph/FBObjectiveCGraphElement.h x: 4 contributors (all time) y: 16 lines of code FBRetainCycleDetector/Graph/FBObjectiveCObject.m x: 4 contributors (all time) y: 107 lines of code FBRetainCycleDetector/Graph/Specialization/FBObjectiveCNSCFTimer.mm x: 3 contributors (all time) y: 40 lines of code FBRetainCycleDetector/Layout/Blocks/FBBlockInterface.h x: 2 contributors (all time) y: 22 lines of code FBRetainCycleDetector/Layout/Blocks/FBBlockStrongLayout.m x: 4 contributors (all time) y: 71 lines of code FBRetainCycleDetector/Layout/Blocks/FBBlockStrongRelationDetector.h x: 4 contributors (all time) y: 15 lines of code FBRetainCycleDetector/Layout/Blocks/FBBlockStrongRelationDetector.m x: 6 contributors (all time) y: 33 lines of code FBRetainCycleDetector/Layout/Classes/FBClassStrongLayout.h x: 3 contributors (all time) y: 11 lines of code FBRetainCycleDetector/Layout/Classes/FBClassStrongLayoutHelpers.m x: 4 contributors (all time) y: 8 lines of code FBRetainCycleDetector/Layout/Classes/Parser/FBStructEncodingParser.h x: 3 contributors (all time) y: 8 lines of code FBRetainCycleDetector/Layout/Classes/Parser/FBStructEncodingParser.mm x: 3 contributors (all time) y: 124 lines of code FBRetainCycleDetector/Layout/Classes/Parser/Struct.h x: 4 contributors (all time) y: 24 lines of code FBRetainCycleDetector/Layout/Classes/Parser/Struct.mm x: 3 contributors (all time) y: 32 lines of code FBRetainCycleDetector/Layout/Classes/Reference/FBIvarReference.m x: 4 contributors (all time) y: 47 lines of code FBRetainCycleDetector/Layout/Classes/Reference/FBObjectInStructReference.m x: 2 contributors (all time) y: 34 lines of code FBRetainCycleDetectorTests/FBAssociationManagerTests.mm x: 2 contributors (all time) y: 42 lines of code FBRetainCycleDetectorTests/FBBlockRecognizingTests.mm x: 4 contributors (all time) y: 31 lines of code FBRetainCycleDetectorTests/FBBlockStrongLayoutTests.mm x: 2 contributors (all time) y: 71 lines of code FBRetainCycleDetectorTests/FBClassStrongLayoutTests.mm x: 3 contributors (all time) y: 202 lines of code FBRetainCycleDetectorTests/FBGraphEdgeFilterTests.m x: 3 contributors (all time) y: 73 lines of code FBRetainCycleDetectorTests/FBObjectiveCBlockTests.m x: 3 contributors (all time) y: 94 lines of code FBRetainCycleDetectorTests/FBObjectiveCNSCFTimerTests.m x: 3 contributors (all time) y: 50 lines of code FBRetainCycleDetectorTests/FBObjectiveCObjectTests.m x: 2 contributors (all time) y: 196 lines of code FBRetainCycleDetectorTests/FBRCDCollectionTests.m x: 3 contributors (all time) y: 72 lines of code FBRetainCycleDetectorTests/FBStructEncodingParserTests.mm x: 3 contributors (all time) y: 165 lines of code rcd_fishhook/rcd_fishhook.c x: 8 contributors (all time) y: 213 lines of code rcd_fishhook/rcd_fishhook.h x: 5 contributors (all time) y: 28 lines of code
560.0
lines of code
  min: 4.0
  average: 60.3
  25th percentile: 10.5
  median: 31.0
  75th percentile: 71.5
  max: 560.0
0 8.0
contributors (all time)
min: 2.0 | average: 3.54 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 8.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".