Skip to main content

Application Analysis Tool

A comprehensive Python code analyzer that generates static HTML reports.

Installation

pip install application-analysis

Usage

After installation, run from command line:

analyze-app <path-to-project>

Options

analyze-app <path> [options]

Arguments:
  path                    Path to the Python project to analyze

Options:
  -o, --output PATH       Output HTML report path (default: report.html)
  --skip-dynamic          Skip runtime analysis
  --skip-llm              Skip LLM-powered analysis (requires OPENAI_API_KEY)
  -q, --quiet             Suppress progress output
  --no-browser            Don't auto-open report in browser

Examples

# Basic analysis
analyze-app ./my_project

# Custom output path
analyze-app ./my_project -o analysis_report.html

# Quick analysis without LLM
analyze-app ./my_project --skip-llm

# Silent mode, no browser
analyze-app ./my_project -q --no-browser

Environment Variables

  • OPENAI_API_KEY - Required for LLM-powered analysis features (optional)

What It Analyzes

  • Placeholders/Stubs - TODOs, FIXMEs, stub functions, mock patterns
  • Complexity - Cyclomatic complexity, nesting depth, lines of code
  • Execution Flow - Call graphs, entrypoints, architecture violations
  • Naming - Magic identifiers, naming conventions
  • Dead Code - Unused imports, functions, unreachable code
  • Security - Hardcoded secrets, eval/exec, SQL injection patterns
  • Duplication - Duplicate functions and code blocks
  • Logging - Log quality, spam detection
  • Metrics - Training metric stagnation (for ML projects)

Output

Generates a self-contained HTML report with:

  • Health score (0-100) and letter grade (A-F)
  • Executive summary
  • Detailed findings by category
  • Actionable recommendations

Release files for application-analysis 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for application-analysis 1.0.2
File Size Uploaded
application_analysis-1.0.2.tar.gz 55.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for application-analysis 1.0.2
File Interpreter ABI Platform
application_analysis-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 122.0 kB

Release files / application_analysis-1.0.2.tar.gz

Download URL application_analysis-1.0.2.tar.gz
Size 55.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d8c954527017832145ca0898f2ad760f1001d7e1fecd56a09a280b7dfc20ea2d
BLAKE2b-256 checksum
How to use checksums
cb4c11178b19c17f8f9397effb722a83cad0773f1d4c6fbd2f534197814bee7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / application_analysis-1.0.2-py3-none-any.whl

Download URL application_analysis-1.0.2-py3-none-any.whl
Size 66.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bad036ca857d318d896edf5da8e558a1fa80c3c4cb28a088c1e03b05720e9af1
BLAKE2b-256 checksum
How to use checksums
a0a1b5b383927ad5ef675e852c2a6fdf0b43a32ce5cd2aca87712b0d6ffac483
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page