Closed (fixed)
Project:
Drupal.org infrastructure
Component:
Other
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2017 at 03:32 UTC
Updated:
8 Dec 2020 at 09:47 UTC
Jump to comment: Most recent
Thanks to @Mixologic, here are some stats over the course of a week of what percentage of sites are using which core sub-modules in both D7 and D8, from Update Status data, to help with assessing the Drupal Core Ideas queue.
update 932756
system 932752
filter 932742
field 932737
node 932735
user 932733
field_sql_storage 932731
text 932705
block 927830
options 924618
menu 924095
file 922773
path 919490
image 918432
field_ui 913739
taxonomy 910121
list 908041
number 894392
contextual 854140
dblog 829606
search 794261
help 733200
rdf 730465
shortcut 728453
seven 724575
dashboard 699336
color 692403
comment 642664
bartik 561081
locale 514925
overlay 472308
toolbar 446390
php 378210
contact 313118
translation 216984
statistics 171102
trigger 140672
syslog 121736
blog 118633
forum 94864
poll 83098
aggregator 81501
book 66579
garland 65556
tracker 61884
stark 17501
profile 17241
simpletest 16524
openid 13944
system 153104
file 153103
user 153103
update 153094
page_cache 138764
dynamic_page_cache 135475
field 132808
block 119904
filter 118652
text 118639
node 118608
dblog 114886
breakpoint 114270
views 114103
toolbar 114064
image 113935
config 113848
link 113739
editor 113710
menu_link_content 113707
path 113611
ckeditor 113529
options 113433
taxonomy 113366
menu_ui 113219
datetime 112970
field_ui 112623
block_content 112196
views_ui 111599
contextual 111189
help 109535
shortcut 108433
rdf 106740
automated_cron 106010
history 105102
quickedit 103824
contact 103339
color 101749
tour 101598
comment 98953
search 98612
classy 83594
stable 83063
seven 82040
standard 72735
bartik 70554
language 63462
locale 57454
responsive_image 22803
serialization 21724
content_translation 21710
telephone 21636
config_translation 20169
rest 18878
migrate 12510
hal 11541
entity_reference 10324
action 10121
statistics 8868
basic_auth 7962
syslog 7847
migrate_drupal 7485
ban 5417
big_pipe 5070
forum 4751
book 4698
datetime_range 3994
stark 3892
update_test 3783
tracker 3733
migrate_drupal_ui 3563
aggregator 3510
inline_form_errors 3104
content_moderation 2465
block_place 2384
outside_in 1676
minimal 1464
testing 1245
simpletest 1023
workflows 480
layout_discovery 284
field_layout 101
Comments
Comment #2
wim leersUsage of experimental modules in Drupal 8:
Migrate: not something you should have on a production site…
So, BigPipe was by far the most popular experimental module. Sounds like we indeed get sufficient validation to do #2797169: Mark BigPipe as stable/non-experimental :)
Comment #3
wim leersAlso, great to see that almost no sites disabled Dynamic Page Cache! 135475 using it, 138764 using Page Cache (so 97.6% of sites using Page Cache also use Dynamic Page Cache).
Note that only 72735 of the total of 153104 measured sites use Standard — or 47.5%. Minimal is on 1464 — or 0.9%. That means over 50% is using a contrib/custom install profile!
Comment #4
wim leersAlso, in https://www.drupaleasy.com/podcast/2017/03/drupaleasy-podcast-192-8-reas... it was theorized that Quick Edit may be disabled on lots of sites, like Overlay was disabled on lots of D7 sites. Well, Quick Edit is installed on 103824 sites, or 68%. That's higher than the percentage for the Standard install profile, so lots of custom install profiles also install it.
Contrast this with Overlay in D7: 472308 out of 932752, or 51%.
Comment #5
wim leersFinally, as one of the people leading the API-first initiative:
restis used on 18878 or 12.33% of D8 sites.serializationis on 21724 or 14.18% andhalon 11541 or 7.54%.That suggests:
Finally,
basic_authis used on 7962 or 5.2% of D8 sites. That means 7962/18878=42% of sites using REST use Basic Auth for authentication REST requests. The remainder must be using cookie/anonymous authentication, or contrib auth modules like https://www.drupal.org/project/simple_oauth (~200 sites) or https://www.drupal.org/project/usage/jwt (~200 sites). Likely most of them are using cookie authentication, which strongly suggests they're progressively decoupled… (which would then be ~5% of D8 sites).Comment #6
wim leersAlso, there's one very very very odd thing about these numbers:
(Note that
systemanduserare the only required modules.)Those are the five highest usage numbers:
systemmodule?system, user andfilemodules?system/file/user/updateis …page_cache? That's a difference of 14430 sites with the total number of sites. So that's 14430 sites without even thenodeorblockmodules?nodeis waaaaay down: it has 118608 sites using it. That's 34496 sites (or 22.5%) not using the cornerstone of Drupal?Either Drupal is being used in ways I did not expect, or some data is getting lost? (Through URL/log truncating perhaps?)
Comment #7
Bojhan commentedI am also wondering if the low experimental numbers is due to us not really pushing it at all.
@mixologic Might be able to share some information on the validity, although 34k doesn't really feel like a margin of error :)
Comment #8
andrewbelcher commented@WimLeers I have a few sites not using node - Drupal 8 forms a great basis for applications - fieldable entities, REST et al! Also means that at least some of the 1 in 10 may not really be decoupled but actually API only systems...
Comment #9
wim leers#8: @tstoeckler said something similar on Twitter. That's very interesting, thanks for sharing!
Comment #10
gábor hojtsy@Wim Leers: I would not get hung up on minor differences in numbers of system module vs. required modules, this is the result of a random query on a possibly moving database :)
@Bojhan: re the experimental modules, I think release managers would say the numbers are too high for them ;) they should not be used on production sites
Comment #11
MixologicYeah, dont look for exact precision in these numbers. All kinds of things affect them that is hard to account for, especially since what we're deriving these from is the apache logs from the update status calling back to d.o. to ask for updates. This includes all kinds of CI systems etc. In fact, I would hazard a guess that the 14430 'sites' calling back to d.o. asking for a particular module all happen to be drupalci tests that exercise the updates module tests.
Comment #12
davidhernandezWhat context exactly is this data trying to inform? Some modules are installed by default on most sites, but that doesn't indicate usage or interest. rdf, shortcut, color, comment, contact. Stark is also easily turned on and then forgotten about. I don't think a lot of people go through the effort of uninstalling a theme.
Telephone, and responsive image are interesting, because those aren't installed by default. (I don't know why telephone isn't installed by default. It is the only field type that isn't.) Those and the multilingual stuff seem to be the highest ranked of the optional components.
Comment #13
wim leersAre you saying that Drupal core's test runner can inflate our usage statistics?! :O In other words: the more core patches are tested, the higher this inflation?
Comment #14
cweagansThis is really interesting.
I would like to know about those four D7 sites not using the system module.
Comment #15
prabhu9484 commentedAs per @webchick tweet, would also like a similar report for D8 contrib projects https://twitter.com/webchick/status/826915132622069760 ?
Comment #16
prabhu9484 commentedThanks to all you for your inputs, based on which I created an Infographic - Please review https://magic.piktochart.com/output/21724980-drupal8coresubmoduleusage
Comment #17
wim leersI think we best ignore the numbers in this issue for now.
Comment #18
gábor hojtsySo I think we can be sure our core automated tests are not reporting back since that would be sad if we would have such an external dependency in our automated tests. But that does not rule out CI systems other than drupal.org to report back to drupal.org, that is true. It would generally be useful to weed those out from usage numbers IMHO even if that will show us lower usage numbers, they would be more reliably real.
Comment #20
pasqualle#1627676: Display stats on enabled components (e.g. modules included in a project)