Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module provides a powerful tool to analyze installed modules on your Drupal site, offering filtering, sorting, usage metrics, and dependency insights. It helps users understand how modules are used, their relationships, and provides various export options for detailed reporting.

A powerful analysis tool that scans all installed modules and provides filtering, sorting, usage metrics, dependency insights, visual indicators, and export options for Drupal sites.

System Module Insights

System Module Insights is a comprehensive Drupal module analysis tool that helps administrators, developers, and auditors deeply understand how modules are used within a Drupal installation. It provides advanced filtering, sorting, usage metrics, dependency tracking, and multi-format exports — all from a single, clean dashboard.

Features

1. Filtering, Sorting, and Search

  • Real-time search with instant filtering
  • Status filters: Enabled, disabled, or available
  • Package filtering: Core, Contrib, Custom, etc.
  • Quick filters: Custom-only or unused-only modules
  • Clickable column headers for sorting

3. Module Information

  • Full module path
  • Version from .info.yml
  • Package classification (Core, Contrib, Custom)
  • Expandable description fields

4. Dependencies & Dependents

  • Full dependency list
  • Modules that depend on each module
  • Color-coded visual dependency indicators
  • Expandable lists for deeper inspection

5. Configuration Overview

  • Lists config items in config/install/ and config/optional/
  • Shows schema definitions
  • Total configuration item count

6. Export Capabilities

  • CSV export
  • JSON export
  • HTML/PDF report export
  • Select which columns to include
  • Exports respect current filters

7. Visual Indicators

  • Blue: Custom modules
  • Yellow: Enabled but unused modules
  • Red: Disabled modules with dependents
  • Status badges, package badges, permission markers

8. Permissions & Documentation

  • Permission indicators
  • Links to README files
  • Links to contrib project pages
  • Tooltips for quick information

9. Advanced Features

  • AJAX real-time filtering
  • Responsive mobile-friendly layout
  • Keyboard navigation and accessibility support
  • Clean print-optimized report output
  • Bookmarkable filtered URLs

Installation

  1. Place the module directory in modules/custom/
  2. Enable the module:
    drush en system_module_insights
  3. Clear cache:
    drush cr

Post-Installation & How to Use

Access the Dashboard

Go to: Administration → Reports → System Module Insights

URL: /admin/reports/system-module-insights

Filtering & Sorting

  • Search field filters modules instantly
  • Use dropdowns for status and package filtering
  • Click column headers to sort the table

Exporting

  • Open “Export Options”
  • Select columns or export all
  • Choose CSV, JSON, HTML, or PDF
  • Export reflects all active filters

Configuration

Settings page:

Administration → Configuration → System → System Module Insights

URL: /admin/config/system/system-module-insights

Display Settings

  • Items per page
  • Default visible columns

Performance Settings

  • Cache duration
  • Enable/disable AJAX

Analysis Settings

  • Include test modules
  • Enable deep dependency scanning
  • Select scoring method

Export Settings

  • Maximum export size
  • Include metadata summary

Technical Details

Architecture

  • Service-based architecture
  • Configurable caching system
  • AJAX-enabled UI
  • Accessible and responsive templates

Services

  • system_module_insights.analyzer — core analyzer
  • system_module_insights.exporter — export engine

Theming

Override Twig templates:

templates/
  system-module-insights-table.html.twig
  system-module-insights-usage-badge.html.twig

CSS / JS Customization

  • Custom classes for UI elements
  • Extend with Drupal.behaviors

Troubleshooting

  • AJAX not working: Check console, ensure Drupal AJAX libraries are loaded.
  • Missing module data: Clear caches and verify file permissions.
  • Performance issues: Increase cache duration or reduce scan depth.

Debug Mode

$config['system_module_insights.settings']['debug_mode'] = TRUE;

Requirements

  • Drupal 10.x or 11.x
  • PHP 8.3+
  • Modern browser with JavaScript enabled

Recommended Modules

  • Devel
  • WebProfiler

Similar Projects

No other Drupal module provides the same level of detailed analysis, filtering, usage scoring, and export functionality in a single UI. System Module Insights offers a more comprehensive and visual analysis suite.

Activity

Total releases
1
First release
Nov 2025
Latest release
7 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.x-dev Dev Nov 20, 2025