Skip to content

v0.0.3

Choose a tag to compare

@bsbodden bsbodden released this 04 Oct 21:08
· 23 commits to main since this release

MFCQI v0.0.3 - Logging, CLI Improvements & Security Fix

A maintenance release focused on improved debugging capabilities, better default CLI behavior, and a critical security fix.

What's Changed

🔍 Enhanced Debugging & Logging

Added comprehensive debug logging throughout the codebase to improve troubleshooting:

  • Added debug logging to all silent exception handlers across modules
  • Enhanced logging in calculator, code smell detection, cognitive complexity, and duplication analysis
  • Added debug logging to pyexamine subprocess exception handling
  • Improved bandit config parsing logging in security module

This makes it much easier to diagnose issues when running with --verbose or enabling debug logging.

🎯 Improved CLI Defaults

Breaking Behavioral Change: The CLI now defaults to metrics-only analysis unless LLM is explicitly requested.

  # Metrics only (new default, faster)
  mfcqi analyze .

  # With AI recommendations (explicit request)
  mfcqi analyze . --model claude-3-5-sonnet-20241022

This change improves performance for the most common use case and makes LLM usage more intentional.

🔒 Security Fix

  • Fixed: Replaced unsafe assert statement with proper RuntimeError validation for better security posture

🛠️ CI/CD Improvements

  • Improved Test PyPI install retry logic with progressive delays for more reliable CI pipelines

📝 Documentation

  • Updated README badges with latest scores
  • Corrected import ordering throughout codebase

Links


Made with ❤️ by BSB

Full Changelog: v0.0.2...v0.0.3

📦 PyPI Release

This release is now available on PyPI:

Quick Start

pip install mfcqi
mfcqi analyze .

What's New in v0.0.3

See the full changelog above for details.