module_analysis
This module provides analysis tools for installed Odoo modules, categorizing them by type (Odoo Core, OCA, custom) and measuring code size to assess technical debt and module ratios.
Key Features
- ir.module.type: Defines module types with computed quantities of installed modules.
- ir.module.author: Tracks module authors with computed quantities of their installed modules.
- ir.module.type.rule: Manages rules to automatically assign module types based on author domains.
- ir.module.module: Extends with fields for authors, type, and code quantities in Python, XML, JS, CSS, and SCSS.
- module analysis: Provides methods to analyze code size using pygount library for installed modules.
- module reporting: Offers pivot and pie chart views to visualize installed modules by type and code metrics.
- configuration: Includes parameters to exclude specific directories and files from code analysis.
- scheduled tasks: Features a daily cron job to update module analysis data.