Skip to the content.

Complete mapping of all new v0.3.0 features with cross-references.


πŸ“ Feature Location Map

CLI Module (cli.py)

File: callflow_tracer/cli.py (850 lines)

Main Class: CallflowCLI

Commands: | Command | Handler | Guide | Lines | |β€”β€”β€”|β€”β€”β€”|β€”β€”-|β€”β€”-| | trace | _handle_trace() | CLI_GUIDE.md | 40 | | flamegraph | _handle_flamegraph() | CLI_GUIDE.md | 25 | | profile | _handle_profile() | CLI_GUIDE.md | 70 | | memory-leak | _handle_memory_leak() | CLI_GUIDE.md | 35 | | compare | _handle_compare() | CLI_GUIDE.md | 30 | | export | _handle_export() | CLI_GUIDE.md | 25 | | info | _handle_info() | CLI_GUIDE.md | 45 | | quality | _handle_quality() | CLI_GUIDE.md + CODE_QUALITY_GUIDE.md | 55 | | predict | _handle_predict() | CLI_GUIDE.md + PREDICTIVE_ANALYSIS_GUIDE.md | 60 | | churn | _handle_churn() | CLI_GUIDE.md + CODE_CHURN_GUIDE.md | 45 |


Code Quality Module (code_quality.py)

File: callflow_tracer/code_quality.py (633 lines)

Guide: CODE_QUALITY_GUIDE.md

Dataclasses: | Class | Purpose | Lines | |β€”β€”-|β€”β€”β€”|β€”β€”-| | ComplexityMetrics | Cyclomatic/cognitive complexity | 20 | | MaintainabilityMetrics | Maintainability index | 25 | | TechnicalDebtIndicator | Technical debt scoring | 15 | | QualityTrend | Quality trend tracking | 12 |

Analyzer Classes: | Class | Purpose | Methods | Lines | |β€”β€”-|β€”β€”β€”|β€”β€”β€”|β€”β€”-| | ComplexityAnalyzer | Analyze complexity | 9 | 130 | | MaintainabilityAnalyzer | Analyze maintainability | 8 | 165 | | TechnicalDebtAnalyzer | Identify debt | 1 | 75 | | QualityTrendAnalyzer | Track trends | 6 | 105 |

Key Functions:

CLI Integration:


Predictive Analysis Module (predictive_analysis.py)

File: callflow_tracer/predictive_analysis.py (627 lines)

Guide: PREDICTIVE_ANALYSIS_GUIDE.md

Dataclasses: | Class | Purpose | Lines | |β€”β€”-|β€”β€”β€”|β€”β€”-| | PerformancePrediction | Performance predictions | 12 | | CapacityPrediction | Capacity forecasts | 12 | | ScalabilityAnalysis | Scalability analysis | 10 | | ResourceForecast | Resource forecasts | 12 |

Analyzer Classes: | Class | Purpose | Methods | Lines | |β€”β€”-|β€”β€”β€”|β€”β€”β€”|β€”β€”-| | PerformancePredictor | Predict issues | 8 | 155 | | CapacityPlanner | Plan capacity | 5 | 95 | | ScalabilityAnalyzer | Analyze scalability | 8 | 140 | | ResourceForecaster | Forecast resources | 4 | 100 |

Key Functions:

CLI Integration:


Code Churn Module (code_churn.py)

File: callflow_tracer/code_churn.py (382 lines)

Guide: CODE_CHURN_GUIDE.md

Dataclasses: | Class | Purpose | Lines | |β€”β€”-|β€”β€”β€”|β€”β€”-| | ChurnMetrics | Churn metrics | 15 | | ChurnCorrelation | Churn correlation | 12 |

Analyzer Classes: | Class | Purpose | Methods | Lines | |β€”β€”-|β€”β€”β€”|β€”β€”β€”|β€”β€”-| | CodeChurnAnalyzer | Analyze churn | 8 | 165 | | ChurnCorrelationAnalyzer | Correlate metrics | 7 | 135 |

Key Functions:

CLI Integration:

Requirements: Git repository with history


Integrations Module (integrations/)

Directory: callflow_tracer/integrations/

Guide: INTEGRATIONS_GUIDE.md

Integration Modules:

Flask Integration

FastAPI Integration

Django Integration

SQLAlchemy Integration

psycopg2 Integration


πŸ”— Documentation Cross-Reference

By Feature

CLI

Code Quality

Predictive Analysis

Code Churn

Integrations


πŸ“Š Feature Matrix

By Use Case

Use Case Feature CLI Python API Guide
Find quality issues Code Quality quality analyze_codebase() CODE_QUALITY_GUIDE.md
Identify hotspots Code Churn churn generate_churn_report() CODE_CHURN_GUIDE.md
Predict problems Predictive predict PerformancePredictor PREDICTIVE_ANALYSIS_GUIDE.md
Trace web requests Integrations N/A setup_*_tracing() INTEGRATIONS_GUIDE.md
Monitor database Integrations N/A setup_*_tracing() INTEGRATIONS_GUIDE.md

By Framework

Framework Integration Setup Guide
Flask flask_integration.py setup_flask_tracing() INTEGRATIONS_GUIDE.md
FastAPI fastapi_integration.py setup_fastapi_tracing() INTEGRATIONS_GUIDE.md
Django django_integration.py Middleware INTEGRATIONS_GUIDE.md
SQLAlchemy sqlalchemy_integration.py setup_sqlalchemy_tracing() INTEGRATIONS_GUIDE.md
psycopg2 psycopg2_integration.py setup_psycopg2_tracing() INTEGRATIONS_GUIDE.md

🎯 Quick Navigation

I want to…

Use CLI

β†’ CLI_GUIDE.md

Analyze code quality

β†’ CODE_QUALITY_GUIDE.md

Predict performance issues

β†’ PREDICTIVE_ANALYSIS_GUIDE.md

Find high-risk files

β†’ CODE_CHURN_GUIDE.md

Integrate with my framework

β†’ INTEGRATIONS_GUIDE.md

See all new features

β†’ NEW_FEATURES_INDEX.md

Read release notes

β†’ v0_3_0_RELEASE_NOTES.md


πŸ“ˆ Feature Statistics

Code Metrics

Documentation

Module Sizes


πŸ”„ Integration Points

CLI β†’ Analysis Modules

cli.py
β”œβ”€β”€ quality command β†’ code_quality.py
β”œβ”€β”€ predict command β†’ predictive_analysis.py
└── churn command β†’ code_churn.py

CLI β†’ Framework Integrations

cli.py
└── trace/profile commands β†’ integrations/*

Python API β†’ Analysis Modules

code_quality.py β†’ analyze_codebase()
predictive_analysis.py β†’ generate_predictive_report()
code_churn.py β†’ generate_churn_report()

Python API β†’ Framework Integrations

integrations/
β”œβ”€β”€ flask_integration.py β†’ setup_flask_tracing()
β”œβ”€β”€ fastapi_integration.py β†’ setup_fastapi_tracing()
β”œβ”€β”€ django_integration.py β†’ middleware
β”œβ”€β”€ sqlalchemy_integration.py β†’ setup_sqlalchemy_tracing()
└── psycopg2_integration.py β†’ setup_psycopg2_tracing()

πŸ“ Documentation Structure

docs/
β”œβ”€β”€ index.md (main index, updated)
β”œβ”€β”€ NEW_FEATURES_INDEX.md (new features overview)
β”œβ”€β”€ v0_3_0_RELEASE_NOTES.md (release notes)
β”œβ”€β”€ FEATURE_MAPPING.md (this file)
β”œβ”€β”€ CLI_GUIDE.md (CLI reference)
β”œβ”€β”€ CODE_QUALITY_GUIDE.md (quality analysis)
β”œβ”€β”€ PREDICTIVE_ANALYSIS_GUIDE.md (predictions)
β”œβ”€β”€ CODE_CHURN_GUIDE.md (churn analysis)
└── INTEGRATIONS_GUIDE.md (framework integrations)

πŸš€ Getting Started Paths

Path 1: CLI User

  1. Read CLI_GUIDE.md
  2. Try callflow-tracer quality
  3. Try callflow-tracer churn
  4. Try callflow-tracer predict

Path 2: Python Developer

  1. Read NEW_FEATURES_INDEX.md
  2. Read CODE_QUALITY_GUIDE.md
  3. Use analyze_codebase()
  4. Integrate with your code

Path 3: Web Framework User

  1. Read INTEGRATIONS_GUIDE.md
  2. Choose your framework
  3. Call setup_*_tracing()
  4. Traces generated automatically

Path 4: Comprehensive Analysis

  1. Read NEW_FEATURES_INDEX.md
  2. Read all 6 guides
  3. Combine multiple analyses
  4. Generate comprehensive reports

πŸ“ž Support Resources

Documentation

Guides

Main Documentation


Feature Mapping Guide - v0.3.0 Last Updated: 2025-01-15