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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| application_analysis-1.0.2.tar.gz | 55.8 kB | Without provenance | Details for application_analysis-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| application_analysis-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for application_analysis-1.0.2-py3-none-any.whl |
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
|
Security for application-analysis 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.