Skip to content

V7.1 - FEAT: Adding New DIT, LCOM, LOC AND NOC CK Metrics to PyDriller/metrics_changes.py

Compare
Choose a tag to compare
@BrenoFariasdaSilva BrenoFariasdaSilva released this 09 Oct 14:16
· 386 commits to main since this release

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 and code_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