"""Django Mercury Analysis - Pure functions for performance analysis.

This module provides stateless, testable functions for analyzing performance metrics:
- N+1 query detection
- Performance scoring
- Issue detection (slow queries, memory problems, etc.)

All functions are pure (no side effects) and work with simple dataclasses.
"""

from .n_plus_one import detect_n_plus_one, NPlusOneResult
from .scorer import score_performance, PerformanceScore
from .detector import detect_issues, PerformanceIssues, DjangoPerformanceIssues

__all__ = [
    "detect_n_plus_one",
    "NPlusOneResult",
    "score_performance",
    "PerformanceScore",
    "detect_issues",
    "PerformanceIssues",
    "DjangoPerformanceIssues",  # Backward compatibility alias
]
