ElixirScope.AI.CodeAnalyzer (elixir_scope v0.0.1)

AI-powered code analysis engine for ElixirScope.

Analyzes Elixir codebases to understand structure, complexity, and patterns to generate intelligent instrumentation recommendations.

Initially implemented with rule-based heuristics, designed to be enhanced with actual LLM integration.

Summary

Functions

Analyzes a single piece of Elixir code and returns analysis results.

Analyzes a single function for complexity and performance characteristics.

Analyzes message flow patterns across modules.

Analyzes a complete Elixir project directory.

Generates an instrumentation plan for a project.

Functions

analyze_code(code_string)

Analyzes a single piece of Elixir code and returns analysis results.

analyze_function(function_code)

Analyzes a single function for complexity and performance characteristics.

analyze_message_flows(code_samples)

Analyzes message flow patterns across modules.

analyze_project(project_path)

Analyzes a complete Elixir project directory.

generate_instrumentation_plan(project_path)

Generates an instrumentation plan for a project.