Skip to content

Commit e476150

Browse files
authored
Add documentation on download counts (#8296)
1 parent 62b9db2 commit e476150

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/help-scoring.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ option.
3030

3131
Pub.dev tracks and stores how many times each version of each package gets downloaded. This is used to display package usage metrics.
3232

33+
The displayed download counts on pub.dev are aggregates based on raw server-side numbers counting the times a package archive has been downloaded.
34+
35+
The download count is not a measure of how many users a package has. A package can have a high usage with low download counts because users may cache the package in their `PUB_CACHE`, which is a global cache. Hence, a particular package version will only be downloaded once per user, even if the user calls `pub get` many times across different projects.
36+
37+
On the other hand, for some packages the download count may be relatively high. For instance, the number can be high if the package is used as a dependency by other popular packages. The download counts can also be highly affected if the package is used by CI systems running tests, since these systems typically don't retain the `PUB_CACHE` between test runs.
38+
39+
The download count is by no means a perfect metric, and should only be regarded as an indicator of popularity.
40+
3341
## Popularity
3442

3543
Popularity measures the number of apps that depend on a package over the past 60

0 commit comments

Comments
 (0)