apple / swift-format
File Age

File age measurements show the distribution of file ages (days since the first commit) and the recency of file updates (days since the latest commit).

Summary
  • Number of files: 109
  • Daily file updates (only one update per file and date counted): 299
  • First update: 2019-07-10
  • Latest update: 2021-11-15
  • Days between first and latest update: 860 (122 weeks, estimated 610 working days)
  • Active days (at least one file change): 192
  • Data:
File Change History Overall
File Age Distribution Overall
Days since first update
  • There are 109 files with 9,891 lines of code in files.
    • 96 files that are 366+ days old (9,505 lines of code)
    • 0 files that are 181-365 days old (0 lines of code)
    • 2 files that are 91-180 days old (67 lines of code)
    • 11 files that are 31-90 days old (319 lines of code)
    • 0 files that are 1-30 days old (0 lines of code)
96% | 0% | <1% | 3% | 0%
Legend:
366+
181-365
91-180
31-90
1-30
Latest Change Distribution Overall
Days since last update
  • There are 109 files with 9,891 lines of code in files.
    • 34 files have been last changed 366+ days ago (1,700 lines of code)
    • 2 files have been last changed 181-365 days ago (2,738 lines of code)
    • 8 files have been last changed 91-180 days ago (440 lines of code)
    • 65 files have been last changed 31-90 days ago (5,013 lines of code)
    • 0 files have been last changed 1-30 days ago (0 lines of code)
17% | 27% | 4% | 50% | 0%
Legend:
366+
181-365
91-180
31-90
1-30
File Change History per File Extension
swift, md, txt, sh, gitignore, json, py
File Age Distribution per Extension
Days since first update
366+
181-365
91-180
31-90
1-30
swift96% | 0% | <1% | 3% | 0%
py100% | 0% | 0% | 0% | 0%
Latest Change Distribution per Extension
Days since last update
366+
181-365
91-180
31-90
1-30
swift16% | 28% | 4% | 51% | 0%
py100% | 0% | 0% | 0% | 0%
File Change History per Logical Decomposition
primary
primary (file age distribution)
Days since first update
366+
181-365
91-180
31-90
1-30
Sources/SwiftFormatPrettyPrint99% | 0% | 0% | <1% | 0%
Sources/SwiftFormatRules98% | 0% | 1% | 0% | 0%
Sources/SwiftFormat99% | 0% | 0% | <1% | 0%
Sources/swift-format77% | 0% | 0% | 22% | 0%
Sources/SwiftFormatCore79% | 0% | 0% | 20% | 0%
Sources/SwiftFormatWhitespaceLinter94% | 0% | 0% | 5% | 0%
ROOT100% | 0% | 0% | 0% | 0%
Sources/generate-pipeline88% | 0% | 11% | 0% | 0%
Sources/SwiftFormatConfiguration100% | 0% | 0% | 0% | 0%
Sources/SwiftFormatTestSupport71% | 0% | 0% | 28% | 0%
primary (latest change distribution)
Days since last update
366+
181-365
91-180
31-90
1-30
Sources/SwiftFormatPrettyPrint13% | 74% | 0% | 12% | 0%
Sources/SwiftFormatRules13% | 0% | 1% | 85% | 0%
Sources/SwiftFormatCore56% | 0% | 2% | 40% | 0%
Sources/generate-pipeline49% | 0% | 19% | 30% | 0%
ROOT46% | 0% | 0% | 53% | 0%
Sources/SwiftFormatWhitespaceLinter18% | 0% | 0% | 81% | 0%
Sources/SwiftFormat13% | 0% | 57% | 28% | 0%
Sources/SwiftFormatConfiguration22% | 0% | 17% | 59% | 0%
Sources/swift-format6% | 0% | 1% | 91% | 0%
Sources/SwiftFormatTestSupport0% | 0% | 0% | 100% | 0%
Oldest Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
TokenStreamCreator.swift
in Sources/SwiftFormatPrettyPrint
2484 16 194 936 97
PrettyPrint.swift
in Sources/SwiftFormatPrettyPrint
445 1 82 936 37
OrderedImports.swift
in Sources/SwiftFormatRules
428 3 82 936 20
UseShorthandTypeNames.swift
in Sources/SwiftFormatRules
359 - 82 936 14
WhitespaceLinter.swift
in Sources/SwiftFormatWhitespaceLinter
287 - 82 936 13
Pipelines+Generated.swift
in Sources/SwiftFormat
260 2 152 936 25
Package.swift
in root
152 - 79 936 38
UseSynthesizedInitializer.swift
in Sources/SwiftFormatRules
145 - 82 936 16
RuleMask.swift
in Sources/SwiftFormatCore
140 1 705 936 10
BeginDocumentationCommentWithOneLineSummary.swift
in Sources/SwiftFormatRules
137 - 82 936 12
AddModifierRewriter.swift
in Sources/SwiftFormatRules
132 2 728 936 9
Configuration.swift
in Sources/SwiftFormatConfiguration
126 - 79 936 25
AlwaysUseLowerCamelCase.swift
in Sources/SwiftFormatRules
126 - 82 936 16
ValidateDocumentationComments.swift
in Sources/SwiftFormatRules
124 - 82 936 19
NoCasesWithOnlyFallthrough.swift
in Sources/SwiftFormatRules
111 1 82 936 17
Trivia+Convenience.swift
in Sources/SwiftFormatCore
105 - 728 936 11
OneVariableDeclarationPerLine.swift
in Sources/SwiftFormatRules
99 2 82 936 14
RuleCollector.swift
in Sources/generate-pipeline
87 1 82 936 8
UseTripleSlashForDocumentationComments.swift
in Sources/SwiftFormatRules
81 - 82 936 12
PipelineGenerator.swift
in Sources/generate-pipeline
78 4 521 936 9
Files Not Recently Changed (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
FormatPipeline.swift
in Sources/SwiftFormat
7 1 928 936 2
Syntax+Convenience.swift
in Sources/generate-pipeline
9 - 928 936 2
FunctionDeclSyntax+Convenience.swift
in Sources/SwiftFormatRules
9 - 928 936 2
DebugOptions.swift
in Sources/SwiftFormat
9 - 928 936 2
TokenSyntax+Convenience.swift
in Sources/SwiftFormatRules
15 4 928 936 2
FileGenerator.swift
in Sources/generate-pipeline
22 2 928 936 2
Indent+Length.swift
in Sources/SwiftFormatPrettyPrint
26 3 928 936 2
Indent.swift
in Sources/SwiftFormatConfiguration
48 - 928 936 2
OperatorContext.swift
in Sources/SwiftFormatPrettyPrint
249 1 854 857 2
RuleState.swift
in Sources/SwiftFormatCore
4 - 777 923 3
Verbatim.swift
in Sources/SwiftFormatPrettyPrint
74 3 734 936 6
SemicolonSyntaxProtocol.swift
in Sources/SwiftFormatRules
15 3 732 733 2
VarDeclSyntax+Convenience.swift
in Sources/SwiftFormatRules
20 - 732 936 4
NoPlaygroundLiterals.swift
in Sources/SwiftFormatRules
5 - 731 936 3
ImportsXCTestVisitor.swift
in Sources/SwiftFormatRules
25 2 728 936 6
SyntaxProtocol+Convenience.swift
in Sources/SwiftFormatCore
28 - 728 733 4
ReplaceTrivia.swift
in Sources/SwiftFormatRules
31 2 728 936 6
Trivia+Convenience.swift
in Sources/SwiftFormatCore
105 - 728 936 11
AddModifierRewriter.swift
in Sources/SwiftFormatRules
132 2 728 936 9
SwiftFormatError.swift
in Sources/SwiftFormat
6 - 710 936 5
Most Recently Created Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
StderrDiagnosticPrinter.swift
in Sources/swift-format/Utilities
55 2 79 81 2
UnifiedDiagnosticsEngine.swift
in Sources/swift-format/Utilities
84 4 79 88 4
Finding.swift
in Sources/SwiftFormatCore
54 - 82 88 2
TestingFindingConsumer.swift
in Sources/SwiftFormatTestSupport
44 6 82 88 2
FindingEmitter.swift
in Sources/SwiftFormatCore
21 - 82 88 2
WhitespaceFindingCategory.swift
in Sources/SwiftFormatWhitespaceLinter
21 - 82 88 2
Finding+Convenience.swift
in Sources/SwiftFormatCore
13 - 82 88 2
PrettyPrintFindingCategory.swift
in Sources/SwiftFormatPrettyPrint
11 - 82 88 2
RuleBasedFindingCategory.swift
in Sources/SwiftFormatCore
7 1 82 88 2
FindingCategorizing.swift
in Sources/SwiftFormatCore
6 - 82 88 2
Exports.swift
in Sources/SwiftFormat
3 - 82 88 2
RuleNameCache+Generated.swift
in Sources/SwiftFormatRules
36 - 151 170 2
RuleNameCacheGenerator.swift
in Sources/generate-pipeline
31 2 151 170 2
build-script-helper.py
in root
132 11 586 594 2
Frontend.swift
in Sources/swift-format/Frontend
117 3 79 670 11
FormatFrontend.swift
in Sources/swift-format/Frontend
58 1 79 670 6
LintFrontend.swift
in Sources/swift-format/Frontend
38 - 79 670 7
ConfigurationLoader.swift
in Sources/swift-format/Frontend
21 2 79 670 4
FileHandle+TextOutputStream.swift
in Sources/swift-format/Utilities
6 - 670 670 1
LazySplitSequence.swift
in Sources/SwiftFormatWhitespaceLinter
57 4 676 677 2
Most Recently Changed Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
Package.swift
in root
152 - 79 936 38
Configuration.swift
in Sources/SwiftFormatConfiguration
126 - 79 936 25
Frontend.swift
in Sources/swift-format/Frontend
117 3 79 670 11
UnifiedDiagnosticsEngine.swift
in Sources/swift-format/Utilities
84 4 79 88 4
FileIterator.swift
in Sources/swift-format/Utilities
62 2 79 685 5
FormatFrontend.swift
in Sources/swift-format/Frontend
58 1 79 670 6
LintFormatOptions.swift
in Sources/swift-format/Subcommands
56 1 79 685 10
StderrDiagnosticPrinter.swift
in Sources/swift-format/Utilities
55 2 79 81 2
Context.swift
in Sources/SwiftFormatCore
54 - 79 936 14
LintFrontend.swift
in Sources/swift-format/Frontend
38 - 79 670 7
ConfigurationLoader.swift
in Sources/swift-format/Frontend
21 2 79 670 4
main.swift
in Sources/swift-format
16 - 79 936 22
PrettyPrint.swift
in Sources/SwiftFormatPrettyPrint
445 1 82 936 37
OrderedImports.swift
in Sources/SwiftFormatRules
428 3 82 936 20
UseShorthandTypeNames.swift
in Sources/SwiftFormatRules
359 - 82 936 14
WhitespaceLinter.swift
in Sources/SwiftFormatWhitespaceLinter
287 - 82 936 13
UseSynthesizedInitializer.swift
in Sources/SwiftFormatRules
145 - 82 936 16
BeginDocumentationCommentWithOneLineSummary.swift
in Sources/SwiftFormatRules
137 - 82 936 12
AlwaysUseLowerCamelCase.swift
in Sources/SwiftFormatRules
126 - 82 936 16
ValidateDocumentationComments.swift
in Sources/SwiftFormatRules
124 - 82 936 19