V7.1 - FEAT: Adding New DIT, LCOM, LOC AND NOC CK Metrics to PyDriller/metrics_changes.py
Release 7.1 - FEAT: Adding New DIT, LCOM, LOC, and NOC CK Metrics to PyDriller/metrics_changes.py
Summary
This release introduces significant enhancements to the PyDriller project by incorporating new CK metrics: DIT (Depth of Inheritance Tree), LCOM (Lack of Cohesion of Methods), LOC (Lines of Code), and NOC (Number of Children). These additions aim to improve the analysis and evaluation of code quality within software projects.
Features
- New Metrics Added: Implementation of DIT, LCOM, LOC, and NOC metrics.
- Submodule Integration: Added the AutoMetric repository as a submodule, allowing for streamlined updates and functionality.
- Automated Workflow: Established a GitHub workflow to automatically update the AutoMetric submodule hourly, ensuring the latest metrics are always available.
- Improved Functionality: Enhanced repository dictionary management within the
repositories_picker.py
file for better metric handling.
Fixes
- Addressed various minor issues and typos to enhance code reliability and clarity.
Refactoring
- Cleaned up and optimized existing code to improve readability and maintainability across several modules, particularly in
metrics_changes.py
andcode_metrics.py
.
Important Notes
- Ensure to run the update scripts after pulling the latest changes to benefit from the new metrics and workflow improvements.
Full Changelog: v7.0...v7.1