Release 1.6.0 - Multi-Path Analysis Support
What's Changed
✨ New Features
- Support for multiple file and folder paths by @floriankraemer in #48
- Added ability to pass comma-separated list of paths to analyze specific files and folders
- Enhanced command-line interface to accept multiple paths for targeted analysis
- Improved efficiency by allowing analysis of only changed files or specific directories
- Added comprehensive test coverage for various path combinations (files, directories, mixed)
🔧 Code Quality & Refactoring
- Refactor metrics collection architecture for multi-path support
- Introduced
collectFromPaths()method inCognitiveMetricsCollectorfor handling multiple paths - Added
getCognitiveMetricsFromPaths()method inMetricsFacadefor streamlined multi-path processing - Enhanced path parsing logic with robust trimming and filtering of empty paths
- Improved code maintainability with better separation of concerns
- Introduced
🧪 Testing & Quality Assurance
- Comprehensive test coverage for multi-path functionality
- Added unit tests for
collectFromPaths()method with various path combinations - Implemented data provider tests for command-line interface with multiple paths
- Added test scenarios for mixed file and directory paths
- Enhanced test coverage for edge cases including spaces and empty paths
- Added unit tests for
Full Changelog: 1.5.0...1.6.0