You are here

public function SiteAuditCheckExtensionsDev::getExtensions in Site Audit 7

Same name and namespace in other branches
  1. 8.2 Check/Extensions/Dev.php \SiteAuditCheckExtensionsDev::getExtensions()

Get a list of development extension names and reasons.

Return value

array Keyed by module machine name, value is explanation.

1 call to SiteAuditCheckExtensionsDev::getExtensions()
SiteAuditCheckExtensionsDev::calculateScore in Check/Extensions/Dev.php
Implements \SiteAudit\Check\Abstract\calculateScore().

File

Check/Extensions/Dev.php, line 153
Contains \SiteAudit\Check\Extensions\Dev.

Class

SiteAuditCheckExtensionsDev
Class SiteAuditCheckExtensionsDev.

Code

public function getExtensions() {
  $developer_modules = array(
    'coder_review' => dt('Debugging utility; potential security risk and unnecessary performance hit.'),
    'coder_upgrade' => dt('Debugging utility; potential security risk and unnecessary performance hit.'),
    'drupal_ipsum' => dt('Development utility to generate fake content.'),
    'drupalforfirebug' => dt('Development utility for browser debugging.'),
    'dummy_content' => dt('Development utility to generate random content.'),
    'form' => dt('Development utility.'),
    'generate_errors' => dt('Development utility that intentionally creates errors.'),
    'hacked' => dt('Development utility for detecting altered code.'),
    'module_builder' => dt('Development utility.'),
    'path_redirect_generate' => dt('Development utility for generating redirects.'),
    'performance' => dt('Development utility for monitoring and performance logging.'),
    'simpletest' => dt('Automated testing framework for development.'),
    'taxonomy_csv' => dt('Taxonomy CSV is designed as a run-once setup or migration module; disable it once your imports and exports are processed.'),
    // Examples module.
    'action_example' => dt('Development examples.'),
    'ajax_example' => dt('Development examples.'),
    'batch_example' => dt('Development examples.'),
    'block_example' => dt('Development examples.'),
    'cache_example' => dt('Development examples.'),
    'contextual_links_example' => dt('Development examples.'),
    'cron_example' => dt('Development examples.'),
    'dbtng_example' => dt('Development examples.'),
    'email_example' => dt('Development examples.'),
    'entity_example' => dt('Development examples.'),
    'examples' => dt('Development examples.'),
    'field_example' => dt('Development examples.'),
    'field_permission_example' => dt('Development examples.'),
    'file_example' => dt('Development examples.'),
    'filter_example' => dt('Development examples.'),
    'form_example' => dt('Development examples.'),
    'image_example' => dt('Development examples.'),
    'js_example' => dt('Development examples.'),
    'menu_example' => dt('Development examples.'),
    'node_access_example' => dt('Development examples.'),
    'node_example' => dt('Development examples.'),
    'nodeapi_example' => dt('Development examples.'),
    'page_example' => dt('Development examples.'),
    'pager_example' => dt('Development examples.'),
    'queue_example' => dt('Development examples.'),
    'rdf_example' => dt('Development examples.'),
    'render_example' => dt('Development examples.'),
    'simpletest_example' => dt('Development examples.'),
    'tabledrag_example' => dt('Development examples.'),
    'tablesort_example' => dt('Development examples.'),
    'theming_example' => dt('Development examples.'),
    'token_example' => dt('Development examples.'),
    'trigger_example' => dt('Development examples.'),
    'vertical_tabs_example' => dt('Development examples.'),
    'xmlrpc_example' => dt('Development examples.'),
  );

  // From http://drupal.org/project/admin_menu admin_menu.inc in function
  // _admin_menu_developer_modules().
  $admin_menu_developer_modules = array(
    'admin_devel' => dt('Debugging utility; degrades performance.'),
    'cache_disable' => dt('Development utility and performance drain; degrades performance.'),
    'coder' => dt('Debugging utility; potential security risk and unnecessary performance hit.'),
    'content_copy' => dt('Development utility; unnecessary overhead.'),
    'context_ui' => dt('Development user interface; unnecessary overhead.'),
    'debug' => dt('Debugging utility; potential security risk, unnecessary overhead.'),
    'delete_all' => dt('Development utility; potentially dangerous.'),
    'demo' => dt('Development utility for sandboxing.'),
    'devel' => dt('Debugging utility; degrades performance and potential security risk.'),
    'devel_node_access' => dt('Development utility; degrades performance and potential security risk.'),
    'devel_themer' => dt('Development utility; degrades performance and potential security risk.'),
    'field_ui' => dt('Development user interface; allows privileged users to change site structure which can lead to data inconsistencies. Best practice is to store Content Types in code and deploy changes instead of allowing editing in live environments.'),
    'fontyourface_ui' => dt('Development user interface; unnecessary overhead.'),
    'form_controller' => dt('Development utility; unnecessary overhead.'),
    'imagecache_ui' => dt('Development user interface; unnecessary overhead.'),
    'journal' => dt('Development utility; unnecessary overhead.'),
    'l10n_client' => dt('Development utility; unnecessary overhead.'),
    'l10n_update' => dt('Development utility; unnecessary overhead.'),
    'macro' => dt('Development utility; unnecessary overhead.'),
    'rules_admin' => dt('Development user interface; unnecessary overhead.'),
    'stringoverrides' => dt('Development utility.'),
    'trace' => dt('Debugging utility; degrades performance and potential security risk.'),
    'upgrade_status' => dt('Development utility for performing a major Drupal core update; should removed after use.'),
    'user_display_ui' => dt('Development user interface; unnecessary overhead.'),
    'util' => dt('Development utility; unnecessary overhead, potential security risk.'),
    'views_ui' => dt('Development UI; allows privileged users to change site structure which can lead to performance problems or inconsistent behavior. Best practice is to store Views in code and deploy changes instead of allowing editing in live environments.'),
    'views_theme_wizard' => dt('Development utility; unnecessary overhead, potential security risk.'),
  );
  return array_merge($admin_menu_developer_modules, $developer_modules);
}