How popularity is measured
pkgstats collects anonymous reports and groups them by month. Popularity is shown as a percentage and is calculated from reports received during the selected period.
| Statistic | What is counted | Percentage calculation |
|---|---|---|
| Packages | Reports that include the package | Package count divided by the monthly report total |
| Other statistics | One recorded value per report | Value count divided by all recorded values for the metric |
Packages
A report can include many packages, so summing package counts would count each report more than once. To estimate the number of reports for a month, pkgstats uses the count of that month's most frequently reported package.
Other statistics
Countries, mirrors, system architectures, operating-system architectures, and operating-system IDs each record at most one value per report. Some older clients omit optional values, and country lookup can occasionally fail. These cases are uncommon; the percentage uses reports with a recorded value for the relevant metric.
Examples
If a month has an estimated 10,000 reports and 1,250 include firefox, its popularity is 1,250 / 10,000 × 100 = 12.5%.
If 1,800 of 10,000 recorded country values are Germany, Germany's popularity is 1,800 / 10,000 × 100 = 18%.
Time ranges
For periods spanning multiple months, pkgstats combines each month's counts and totals before calculating the percentage. Values are rounded to two decimal places.