Skip to content

Release 1.6.0 - Multi-Path Analysis Support

Choose a tag to compare

@github-actions github-actions released this 30 Sep 20:08
· 28 commits to master since this release
63384f5

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 in CognitiveMetricsCollector for handling multiple paths
    • Added getCognitiveMetricsFromPaths() method in MetricsFacade for streamlined multi-path processing
    • Enhanced path parsing logic with robust trimming and filtering of empty paths
    • Improved code maintainability with better separation of concerns

🧪 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

Full Changelog: 1.5.0...1.6.0