# Add number of extension installations to extension manager

**URL:** https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847
**Category:** Feature requests
**Created:** [July 21, 2021, 8:10am UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847 "2021-07-21T08:10:59Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![brhoom](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/brhoom/32/1228_2.png) [@brhoom](https://discourse.slicer.org/u/brhoom)
#### Post date: [July 21, 2021, 8:10am UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/1 "2021-07-21T08:10:59Z")

</div>

- In extension manager when a user installs an extension, it would be nice to add a counter that tracks the number of installations e.g. next to the stars vote.
- It would be nice if the counter also tracks other dependant extensions.

This will help to show if a plugin is active and give some useful realistic statistical feedback.

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [July 21, 2021, 12:14pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/2 "2021-07-21T12:14:58Z")

</div>

That’s a good idea. We have been tracking extension installations internally so that extension authors and quote the figures in grant applications and progress reports, but yes, it would be even better if the figures were available to users as well. @jcfr has been completely revamping the extension server infrastructure so let’s finish that up but once that is done it should be easier for someone to contribute this upgrade.

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [July 21, 2021, 12:48pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/3 "2021-07-21T12:48:14Z")

</div>

You can use DeveloperToolsForExtensions extension to query download counts from the current extension server.

---

<div class="post-metadata">

### Author: ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)
#### Post date: [July 21, 2021, 12:54pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/4 "2021-07-21T12:54:07Z")

</div>

Yes you can use DeveloperToolsForExtensions to generate download counts. Here is what the results reveal for SlicerCochlea for example. I removed earlier versions (before 4.8.0) where there were no downloads since it was not available then.

This only provides details about downloads which is not necessarily unique users. People could uninstall/reinstall, download using different machines (work and home), and download using different versions of Slicer.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/d/1d5c2317652ac3a0de46075b151b89fa66152f42.png)

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [July 21, 2021, 1:27pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/5 "2021-07-21T13:27:14Z")

</div>

I believe @brhoom was suggesting these numbers be included in the Extension Manager dialog, which should be quite doable.

---

<div class="post-metadata">

### Author: ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)
#### Post date: [July 21, 2021, 1:44pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/6 "2021-07-21T13:44:35Z")

</div>

Is the motivation to put them in the Extensions Manager for Developer insight? Or user insight?

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [July 21, 2021, 1:49pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/7 "2021-07-21T13:49:07Z")

</div>

Probably convenience for both, to build an awareness of what people are finding interesting and useful. Like pypi and npm where they provide download stats and you get a sense of whether a package is new or well established and popular.

---

<div class="post-metadata">

### Author: ![brhoom](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/brhoom/32/1228_2.png) [@brhoom](https://discourse.slicer.org/u/brhoom)
#### Post date: [July 21, 2021, 2:02pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/8 "2021-07-21T14:02:42Z")

</div>

Thank you all for your replies.

> [@jamesobutler](#):
>
> Is the motivation to put them in the Extensions Manager for Developer insight? Or user insight?

Both!

> [@jamesobutler](#):
>
> Here is what the results reveal for SlicerCochlea for example

Are these numbers realistic? if the [cdash testing process](https://slicer.cdash.org/) is included then these numbers are not realistic.

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [July 21, 2021, 7:38pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/9 "2021-07-21T19:38:51Z")

</div>

> [@brhoom](#):
>
> Are these numbers realistic? if the [cdash testing process](https://slicer.cdash.org/) is included then these numbers are not realistic.

Yes, the numbers are correct. CDash tests do not download any extensions from the extension server (all the extensions upload and download tests use a local mock server).

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [July 21, 2021, 7:48pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/10 "2021-07-21T19:48:26Z")

</div>

I am not sure if they are on the roadmap of the new extension mechanism, but I would like to remind about these two requests (second should have been renamed more like “reminder for available updates”).

> <https://github.com/Slicer/Slicer/issues/5469>
>
> As I described in \[forum topic\](https://discourse.slicer.org/t/please-add-last-m…odified-date-for-extensions/16052), it will be good to have last revision date to be displayed in the Extension information. Revision number itself is not all that helpful to see if you are using the latest version of the extension.

> <https://github.com/Slicer/Slicer/issues/5470>
>
> An addition the issue #5469, i think it would be good to have a mechanism to let… users know when their installed extensions become stale for the stable versions. Something like this would be a good way:
> 
> !\[image\](https://user-images.githubusercontent.com/21285140/108403161-45eb0380-71d3-11eb-8ca3-26cac3d33cbc.png)

---

<div class="post-metadata">

### Author: ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)
#### Post date: [July 21, 2021, 9:21pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/11 "2021-07-21T21:21:50Z")

</div>

> [@brhoom](#):
>
> Are these numbers realistic? if the [cdash testing process](https://slicer.cdash.org/) is included then these numbers are not realistic.

@brhoom Are you surprised by the results? Are they higher than you would have expected?

---

<div class="post-metadata">

### Author: ![brhoom](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/brhoom/32/1228_2.png) [@brhoom](https://discourse.slicer.org/u/brhoom)
#### Post date: [July 22, 2021, 6:54am UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/12 "2021-07-22T06:54:12Z")

</div>

> [@jamesobutler](#):
>
> @brhoom Are you surprised by the results? Are they higher than you would have expected?

somehow! it seems the reason is clear:

> [@jamesobutler](#):
>
> This only provides details about downloads which is not necessarily unique users. People could uninstall/reinstall, download using different machines (work and home), and download using different versions of Slicer.

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [July 22, 2021, 11:39am UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/13 "2021-07-22T11:39:58Z")

</div>

Download statistics show how much people are interested in trying your extension. It shows how well your advertise your extension with its name, icon, description, documentation, posts on discourse, social media, etc.

We don’t have direct usage statistics of Slicer and extensions. It would require implementing data collection, prompt users to opt in, set up the storage backend, and a frontend to access the results. With the new extension manager and Slicer download page, we are one step closer to have a backend that could store the information,but there is still a lot to do.

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [July 22, 2021, 5:50pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/14 "2021-07-22T17:50:08Z")

</div>

> [@lassoan](#):
>
> Download statistics show how much people are interested in trying your extension

I should add that, while download stats might have the confounding issues @jamesobutler mentioned, they cannot be happening all the time for all users. So while we may not knowing the exact user count, a continuous download trend indicates a sustained core group of users/usage, which very important for any kind of funding.

---

<div class="post-metadata">

### Author: ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)
#### Post date: [July 22, 2021, 5:55pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/15 "2021-07-22T17:55:08Z")

</div>

If I create a bot that makes web requests to download an extension some amount of times on a schedule, I could in theory greatly influence a result to make it appear that an extension is more popular than it actually is.

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [July 22, 2021, 6:43pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/16 "2021-07-22T18:43:41Z")

</div>

You sure can. But an obscure extension with off the roof download statistics will not get you the funding, at least not from major funding institutions. While the download stats are important, it is not the only thing that matters.

But i get your point, it is hard to document real usage. More real time tracking is not reliable solution either. For example my institutions network policy blocks all outgoing ports. So you might have slicer working on every single hospital computer, but wouldn’t get a single hit.

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [July 22, 2021, 10:02pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/17 "2021-07-22T22:02:52Z")

</div>

To move this discussion beyond speculation and hypotheses, have a look at the [all-time download statistics of all extensions in this excel sheet](https://1drv.ms/x/s!Arm_AFxB9yqHxeYAKv8Sf5RS6lOxLw?e=fTyFKw) (compiled in May 2021).

There are some very surprising numbers. The absolute numbers seem to be heavily influenced by the extension’s name and icon, maybe also by description and documentation, because very important and widely used and advertised extensions fall behind compared to some much “better” ones.

However, even though there are big outliers and some surprising numbers, the magnitude of the download count is informative. Also, download trends for an extension is useful information, too.

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [July 22, 2021, 10:24pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/18 "2021-07-22T22:24:18Z")

</div>

This is very useful and definitely interesting. SlicerXNAT hasn’t been touched in quite a few years, and was definitely surprising for me to see as one of the top total downloads.

SlicerMorph bundles a number of other extensions, so they might be increasing the their total count. These are:  
IGT, SegmentEditorExtraEffects, SurfaceWrapSolidy, DCM2NIIX, auto3DGM, sandbox and rawimageguess.

---

<div class="post-metadata">

### Author: ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)
#### Post date: [July 22, 2021, 10:24pm UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/19 "2021-07-22T22:24:48Z")

</div>

Interesting that your stats from May 2021 show SlicerCochlea at 260 downloads for Slicer 4.11.20210226, while the stats I generated the other day showed that version as having a little over 2000 downloads. That’s quite the increase from May to July (now).

@brhoom Does this match behavior that you are aware of? Has your increase of this extension gone up since May?

The over 5000 count for Slicer 4.10.2 matches and so does the over 3000 count for post-4.10.2.

---

<div class="post-metadata">

### Author: ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)
#### Post date: [July 23, 2021, 7:05am UTC](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847/20 "2021-07-23T07:05:53Z")

</div>

Very interesting. In extensions: Would it be allowed (theoretically) to implement a “send usage statistics” checkbox or even include parameter feedback (f.e. thresholds used, training data etc) back to a central server?

[Next page](https://discourse.slicer.org/t/add-number-of-extension-installations-to-extension-manager/18847.md?page=2)
