[development] An automated way of locating unused modules?

Steve Power steev at initsix.co.uk
Sun Jan 9 19:16:57 UTC 2011


There can be a performance hit if apache is looking for .htaccess files in
ea module dir, but this is configurable.

and this drush command will give you a list of all disabled modules

drush -l sitename pm-list --pipe --type=module --status=disabled

On Sun, Jan 9, 2011 at 7:04 PM, James Benstead <james.benstead at gmail.com>wrote:

> Originally posted to http://drupal.org/node/1017416:
>
> I have a list of 60+ modules that I download, via drush, to each new Drupal
>> site that I build. I then enable whatever modules are needed for the
>> specific site I'm working on as I carry out the build.
>
>
>> This means that once the site is launched, there may be modules that are
>> not being called by Drupal core but that are still enabled and/or installed.
>
>
>> Is there an automated way - a specific module, for example - that will
>> tell me which of the modules that are enabled on a site are being called by
>> Drupal core?
>
>
>> Secondly, is there any performance implication for having lots of modules
>> installed on a site if they are not enabled?
>
>
> The answer to the second question seems to be "no". And It doesn't seem
> that such a module does exist - would it be technically possible to write
> this module for D6?
>
> --Jim
> --
> My IM and Skype details are at http://state68.com/contact
>



-- 
-- 
--
Steve Power
Principal Consultant
Mobile: +44 (0) 7747 027 243
Fax: +44 (0)160 421 2871
Skype: steev_initsix
www.initsix.co.uk :: Initsix Heavy Engineering Limited
--
This email and any attachments to it may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any views or
opinions expressed are solely those of the author and do not necessarily
represent those of Initsix Heavy Engineering Limited.
If you are not the intended recipient of this email, you must neither take
any action based upon its contents, nor copy or show it to anyone.
Please contact the sender if you believe you have received this email in
error.

Initsix Heavy Engineering Limited
Registered in the UK: 5036938
Registered Address: 243 Kettering Road, Northampton, NN2 7DU, England.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110109/142af5ec/attachment.html 


More information about the development mailing list