apple / swift-package-manager
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: 595
  • Daily file updates (only one update per file and date counted): 2856
  • First update: 2015-10-30
  • Latest update: 2022-01-29
  • Days between first and latest update: 2284 (326 weeks, estimated 1630 working days)
  • Active days (at least one file change): 1479
  • Data:
File Change History Overall
File Age Distribution Overall
Days since first update
  • There are 588 files with 56,907 lines of code in files.
    • 365 files that are 366+ days old (41,404 lines of code)
    • 146 files that are 181-365 days old (7,289 lines of code)
    • 34 files that are 91-180 days old (4,108 lines of code)
    • 34 files that are 31-90 days old (3,145 lines of code)
    • 9 files that are 1-30 days old (961 lines of code)
72% | 12% | 7% | 5% | 1%
Legend:
366+
181-365
91-180
31-90
1-30
Latest Change Distribution Overall
Days since last update
  • There are 588 files with 56,907 lines of code in files.
    • 214 files have been last changed 366+ days ago (3,258 lines of code)
    • 133 files have been last changed 181-365 days ago (4,470 lines of code)
    • 71 files have been last changed 91-180 days ago (7,135 lines of code)
    • 71 files have been last changed 31-90 days ago (11,226 lines of code)
    • 99 files have been last changed 1-30 days ago (30,818 lines of code)
5% | 7% | 12% | 19% | 54%
Legend:
366+
181-365
91-180
31-90
1-30
File Change History per File Extension
swift, txt, h, md, c, json, m, gitignore, yaml, plist, el, py, mm, cmake
File Age Distribution per Extension
Days since first update
366+
181-365
91-180
31-90
1-30
swift74% | 11% | 7% | 5% | 1%
c11% | 87% | 0% | <1% | 0%
cmake100% | 0% | 0% | 0% | 0%
py100% | 0% | 0% | 0% | 0%
h10% | 88% | 0% | 1% | 0%
m65% | 34% | 0% | 0% | 0%
el100% | 0% | 0% | 0% | 0%
yaml0% | 80% | 19% | 0% | 0%
mm0% | 0% | 100% | 0% | 0%
Latest Change Distribution per Extension
Days since last update
366+
181-365
91-180
31-90
1-30
swift5% | 6% | 12% | 19% | 55%
c11% | 55% | 0% | 33% | 0%
cmake100% | 0% | 0% | 0% | 0%
py100% | 0% | 0% | 0% | 0%
h10% | 88% | 0% | 1% | 0%
m65% | 34% | 0% | 0% | 0%
el100% | 0% | 0% | 0% | 0%
yaml0% | 60% | 19% | 19% | 0%
mm0% | 0% | 100% | 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/Workspace81% | 8% | 6% | 2% | 0%
Sources/Commands87% | 0% | 11% | 0% | 1%
Sources/PackageCollections86% | 0% | 0% | 0% | 13%
Sources/PackageGraph100% | 0% | 0% | 0% | 0%
Sources/PackageModel93% | <1% | 5% | 0% | 0%
Sources/PackageLoading75% | 1% | 15% | 7% | 0%
Sources/XCBuildSupport88% | 11% | 0% | 0% | 0%
Sources/SPMTestSupport80% | 2% | 6% | 9% | 0%
Sources/Build59% | 19% | 21% | 0% | 0%
Sources/Xcodeproj100% | 0% | 0% | 0% | 0%
Sources/PackageDescription80% | 0% | 19% | 0% | 0%
Sources/SourceControl100% | 0% | 0% | 0% | 0%
Sources/Basics48% | 13% | 30% | 7% | 0%
Sources/LLBuildManifest100% | 0% | 0% | 0% | 0%
Fixtures/Miscellaneous41% | 47% | <1% | 9% | <1%
Sources/SPMPackageEditor100% | 0% | 0% | 0% | 0%
ROOT100% | 0% | 0% | 0% | 0%
Fixtures/DependencyResolution70% | 29% | 0% | 0% | 0%
Sources/SPMBuildCore23% | 76% | 0% | 0% | 0%
Sources/PackageCollectionsModel100% | 0% | 0% | 0% | 0%
Fixtures/CFamilyTargets82% | 17% | 0% | 0% | 0%
Sources/SPMLLBuild100% | 0% | 0% | 0% | 0%
Sources/swiftpm-manifest-tool100% | 0% | 0% | 0% | 0%
Sources/swiftpm-xctest-helper100% | 0% | 0% | 0% | 0%
Fixtures/ModuleMaps100% | 0% | 0% | 0% | 0%
Fixtures/Resources58% | 31% | 10% | 0% | 0%
cmake/modules100% | 0% | 0% | 0% | 0%
Utilities100% | 0% | 0% | 0% | 0%
Sources/swift-package100% | 0% | 0% | 0% | 0%
Fixtures/ValidLayouts100% | 0% | 0% | 0% | 0%
Utilities/Emacs100% | 0% | 0% | 0% | 0%
Sources/swift-build100% | 0% | 0% | 0% | 0%
Sources/swift-package-collection100% | 0% | 0% | 0% | 0%
Sources/swift-run100% | 0% | 0% | 0% | 0%
Sources/swift-test100% | 0% | 0% | 0% | 0%
Sources/PackageCollectionsSigning0% | 100% | 0% | 0% | 0%
Sources/PackageCollectionsSigningLibc0% | 100% | 0% | 0% | 0%
Utilities/Docker0% | 80% | 19% | 0% | 0%
Sources/PackageRegistry0% | 0% | 7% | 68% | 23%
Sources/swift-package-registry0% | 0% | 100% | 0% | 0%
Sources/PackagePlugin0% | 0% | 0% | 95% | 4%
Sources/PackageFingerprint0% | 0% | 0% | 100% | 0%
Sources/tsan_utils0% | 0% | 0% | 100% | 0%
primary (latest change distribution)
Days since last update
366+
181-365
91-180
31-90
1-30
Fixtures/Miscellaneous38% | 22% | 1% | 3% | 32%
Sources/PackageModel10% | 1% | 13% | 24% | 49%
Fixtures/DependencyResolution70% | 29% | 0% | 0% | 0%
Sources/SPMPackageEditor58% | 0% | 41% | 0% | 0%
Sources/PackageGraph5% | 0% | 23% | 11% | 58%
Fixtures/CFamilyTargets82% | 17% | 0% | 0% | 0%
Sources/PackageCollections4% | 9% | 6% | 29% | 51%
Sources/SPMLLBuild100% | 0% | 0% | 0% | 0%
Sources/Build4% | 0% | 0% | 1% | 93%
Sources/Commands2% | 0% | 11% | 13% | 72%
Sources/Xcodeproj5% | 17% | 21% | 54% | 0%
Sources/swiftpm-xctest-helper100% | 0% | 0% | 0% | 0%
Fixtures/ModuleMaps100% | 0% | 0% | 0% | 0%
Sources/SPMTestSupport2% | 1% | 5% | 45% | 45%
Sources/Workspace1% | 4% | 3% | 11% | 79%
Sources/LLBuildManifest9% | 21% | 34% | 0% | 35%
cmake/modules100% | 0% | 0% | 0% | 0%
Utilities100% | 0% | 0% | 0% | 0%
Fixtures/Resources36% | 31% | 32% | 0% | 0%
Sources/SPMBuildCore1% | 16% | 21% | 1% | 58%
Fixtures/ValidLayouts100% | 0% | 0% | 0% | 0%
Sources/Basics<1% | 0% | 24% | 39% | 35%
Sources/PackageCollectionsModel2% | 0% | 97% | 0% | 0%
Utilities/Emacs100% | 0% | 0% | 0% | 0%
Sources/swift-build100% | 0% | 0% | 0% | 0%
Sources/swift-package-collection100% | 0% | 0% | 0% | 0%
Sources/swift-run100% | 0% | 0% | 0% | 0%
Sources/swift-test100% | 0% | 0% | 0% | 0%
Sources/PackageCollectionsSigning0% | 53% | 9% | 37% | 0%
Sources/PackageCollectionsSigningLibc0% | 69% | 0% | 30% | 0%
Sources/XCBuildSupport0% | 13% | 45% | 0% | 41%
Sources/PackageLoading0% | 2% | 5% | 31% | 60%
Utilities/Docker0% | 60% | 19% | 19% | 0%
Sources/swift-package0% | 100% | 0% | 0% | 0%
Sources/PackageDescription0% | 0% | 21% | 35% | 42%
Sources/PackageRegistry0% | 0% | 7% | 0% | 92%
Sources/swift-package-registry0% | 0% | 100% | 0% | 0%
Sources/PackagePlugin0% | 0% | 0% | 11% | 88%
Sources/SourceControl0% | 0% | 0% | 7% | 92%
Sources/PackageFingerprint0% | 0% | 0% | 39% | 60%
Sources/tsan_utils0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
Sources/swiftpm-manifest-tool0% | 0% | 0% | 0% | 100%
Oldest Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
main.swift
in Sources/swift-build
2 - 523 2275 71
Version.swift
in Sources/PackageDescription
82 - 76 2265 38
Target.swift
in Sources/PackageDescription
618 - 7 2245 51
main.swift
in Fixtures/Miscellaneous/ExactDependencies/app
1 - 2231 2231 1
Deck.swift
in Fixtures/DependencyResolution/External/Complex/deck-of-playing-cards/src
31 - 1395 2230 9
Fisher-Yates_Shuffle.swift
in Fixtures/DependencyResolution/External/Complex/FisherYates/src
28 2 1556 2230 9
Rank.swift
in Fixtures/DependencyResolution/External/Complex/PlayingCard/src
28 - 2230 2230 1
Suit.swift
in Fixtures/DependencyResolution/External/Complex/PlayingCard/src
26 - 2230 2230 1
Package.swift
in Fixtures/DependencyResolution/External/Complex/app
19 - 1083 2230 6
PlayingCard.swift
in Fixtures/DependencyResolution/External/Complex/PlayingCard/src
17 - 1395 2230 3
Package.swift
in Fixtures/DependencyResolution/External/Complex/deck-of-playing-cards
17 - 1302 2230 2
main.swift
in Fixtures/DependencyResolution/External/Complex/app
15 - 1852 2230 5
Package.swift
in Fixtures/Miscellaneous/ExactDependencies/FooExec
14 - 1302 2230 2
Package.swift
in Fixtures/Miscellaneous/ExactDependencies/FooLib1
12 - 1302 2230 5
Package.swift
in Fixtures/DependencyResolution/Internal/Complex
11 - 1302 2230 3
Package.swift
in Fixtures/DependencyResolution/External/Complex/FisherYates
10 - 1302 2230 4
Package.swift
in Fixtures/DependencyResolution/External/Complex/PlayingCard
10 - 1302 2230 4
Package.swift
in Fixtures/DependencyResolution/External/Simple/Bar
10 - 1302 2230 2
Package.swift
in Fixtures/DependencyResolution/External/Simple/Foo
10 - 1302 2230 4
FooExec.swift
in Fixtures/Miscellaneous/ExactDependencies/FooExec
10 - 2230 2230 1
Files Not Recently Changed (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
main.swift
in Fixtures/Miscellaneous/ExactDependencies/app
1 - 2231 2231 1
main.swift
in Fixtures/Miscellaneous/ExactDependencies/FooExec
1 - 2230 2230 1
main.swift
in Fixtures/DependencyResolution/External/Simple/Bar
2 - 2230 2230 1
main.swift
in Fixtures/DependencyResolution/Internal/Simple/Foo
3 - 2230 2230 1
Foo.swift
in Fixtures/DependencyResolution/Internal/Simple/Foo
3 - 2230 2230 1
Foo.swift
in Fixtures/Miscellaneous/CompileFails
4 - 2230 2230 1
Bar.swift
in Fixtures/DependencyResolution/Internal/Simple/Bar
4 - 2230 2230 1
FooLib2.swift
in Fixtures/Miscellaneous/ExactDependencies/FooLib2
6 - 2230 2230 1
FooLib1.swift
in Fixtures/Miscellaneous/ExactDependencies/FooLib1/Sources/FooLib1
6 - 2230 2230 1
FooExec.swift
in Fixtures/Miscellaneous/ExactDependencies/FooExec
10 - 2230 2230 1
Suit.swift
in Fixtures/DependencyResolution/External/Complex/PlayingCard/src
26 - 2230 2230 1
Rank.swift
in Fixtures/DependencyResolution/External/Complex/PlayingCard/src
28 - 2230 2230 1
Bar.swift
in Fixtures/Miscellaneous/DependencyEdges/Internal/Bar
1 - 2216 2216 1
Bar.swift
in Fixtures/Miscellaneous/DependencyEdges/External/root
1 - 2216 2216 1
Foo.swift
in Fixtures/Miscellaneous/DependencyEdges/External/dep1
1 - 2216 2216 1
main.swift
in Fixtures/Miscellaneous/DependencyEdges/Internal/Foo
2 - 2216 2216 1
main.swift
in Fixtures/Miscellaneous/DependencyEdges/External/dep2
2 - 2216 2216 1
main.swift
in Fixtures/Miscellaneous/ExactDependencies/FooLib1/Sources/cli
2 - 2176 2230 3
foo.h
in Fixtures/ModuleMaps/Direct/CFoo/C
1 - 2174 2174 1
main.swift
in Fixtures/ModuleMaps/Direct/App
2 - 2174 2174 1
Most Recently Created Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
Package.swift
in Fixtures/Miscellaneous/UnicodeDependency#U2010#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3#L01f1ee#L01f1f1x#U0331#U0331#U0331#U0331#U0331...
14 -
#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3x#U0331#U0331#U0331#U0331#U0331#U0304#U0304#U0304#U0304#U0304.swift
in Fixtures/Miscellaneous/Unicode/Sources/#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3#L01f1ee#L01f1f1x#U0331#U0331#U0331#U0331#U0331#U0304#...
4 -
Package.swift
in Fixtures/ModuleMaps/Transitive/packageD
4 -
UnicodeDependency#U2010#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3#L01f1ee#L01f1f1x#U0331#U0331#U0331#U0331#U0331#U0304#U0304#U0304#U0304#U0304.swift
in Fixtures/Miscellaneous/UnicodeDependency#U2010#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3#L01f1ee#L01f1f1x#U0331#U0331#U0331#U0331#U0331...
3 -
foo.c
in Fixtures/ModuleMaps/Transitive/packageD/C
3 1
main.swift
in Fixtures/Miscellaneous/Unicode/Sources/#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3#L01f1ee#L01f1f1x#U0331#U0331#U0331#U0331#U0331#U0304#...
2 -
foo.h
in Fixtures/ModuleMaps/Transitive/packageD/C
1 -
RegistryDownloadsManager.swift
in Sources/PackageRegistry
239 6 3 3 1
ArgumentExtractor.swift
in Sources/PackagePlugin
53 - 4 4 1
PackageIndex.swift
in Sources/PackageCollections
230 6 7 7 1
PackageIndexAndCollections.swift
in Sources/PackageCollections
215 2 7 7 1
PackageIndex+Configuration.swift
in Sources/PackageCollections
121 2 2 7 2
PackageList.swift
in Sources/PackageCollections/Model
8 - 7 7 1
TestingSupport.swift
in Sources/Commands
82 1 6 19 2
Package.swift
in Fixtures/Miscellaneous/TestDiscovery/Deprecation
8 - 23 23 1
Simple.swift
in Fixtures/Miscellaneous/TestDiscovery/Deprecation/Sources/Simple
5 2 23 23 1
Package.swift
in Fixtures/Miscellaneous/InvalidRefs/InvalidBranch
8 - 45 45 1
Package.swift
in Fixtures/Miscellaneous/InvalidRefs/InvalidRevision
8 - 45 45 1
MockPackageFingerprintStorage.swift
in Sources/SPMTestSupport
59 - 53 53 1
tsan_utils.c
in Sources/tsan_utils
8 1 53 53 1
Most Recently Changed Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
Package.swift
in Fixtures/Miscellaneous/UnicodeDependency#U2010#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3#L01f1ee#L01f1f1x#U0331#U0331#U0331#U0331#U0331...
14 -
#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3x#U0331#U0331#U0331#U0331#U0331#U0304#U0304#U0304#U0304#U0304.swift
in Fixtures/Miscellaneous/Unicode/Sources/#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3#L01f1ee#L01f1f1x#U0331#U0331#U0331#U0331#U0331#U0304#...
4 -
Package.swift
in Fixtures/ModuleMaps/Transitive/packageD
4 -
UnicodeDependency#U2010#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3#L01f1ee#L01f1f1x#U0331#U0331#U0331#U0331#U0331#U0304#U0304#U0304#U0304#U0304.swift
in Fixtures/Miscellaneous/UnicodeDependency#U2010#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3#L01f1ee#L01f1f1x#U0331#U0331#U0331#U0331#U0331...
3 -
foo.c
in Fixtures/ModuleMaps/Transitive/packageD/C
3 1
main.swift
in Fixtures/Miscellaneous/Unicode/Sources/#U03c0#U05e9#U05bc#U05c1#U00b5#L01d11e#L01f1fa#L01f1f3#L01f1ee#L01f1f1x#U0331#U0331#U0331#U0331#U0331#U0304#...
2 -
foo.h
in Fixtures/ModuleMaps/Transitive/packageD/C
1 -
SwiftPackageTool.swift
in Sources/Commands
1521 39 2 2082 208
GitHubPackageMetadataProvider.swift
in Sources/PackageCollections/Providers
383 4 2 438 28
PackageIndex+Configuration.swift
in Sources/PackageCollections
121 2 2 7 2
Workspace.swift
in Sources/Workspace
2994 57 3 1884 295
SwiftTool.swift
in Sources/Commands
838 38 3 2047 278
MockWorkspace.swift
in Sources/SPMTestSupport
800 2 3 453 47
PluginInvocation.swift
in Sources/SPMBuildCore
799 25 3 339 30
RegistryClient.swift
in Sources/PackageRegistry
684 9 3 74 10
WorkspaceConfiguration.swift
in Sources/Workspace
431 - 3 454 14
RepositoryManager.swift
in Sources/SourceControl
366 14 3 1960 68
PluginInput.swift
in Sources/PackagePlugin
343 4 3 82 8
MockRegistry.swift
in Sources/SPMTestSupport
263 3 3 74 4
Options.swift
in Sources/Commands
255 2 3 2082 109