Module analyzer

Source
Expand description

§Analyzer Module

This module provides project analysis capabilities for detecting:

  • Programming languages and their versions
  • Frameworks and libraries
  • Dependencies and their versions
  • Entry points and exposed ports

Re-exports§

pub use dependency_parser::DependencyInfo;
pub use dependency_parser::DependencyAnalysis;
pub use dependency_parser::DetailedDependencyMap;
pub use dependency_parser::Vulnerability;
pub use dependency_parser::VulnerabilitySeverity;
pub use security_analyzer::SecurityAnalyzer;
pub use security_analyzer::SecurityReport;
pub use security_analyzer::SecurityFinding;
pub use security_analyzer::SecuritySeverity;
pub use security_analyzer::SecurityCategory;
pub use security_analyzer::ComplianceStatus;
pub use security_analyzer::SecurityAnalysisConfig;
pub use monorepo_detector::MonorepoDetectionConfig;
pub use monorepo_detector::analyze_monorepo;
pub use monorepo_detector::analyze_monorepo_with_config;
pub use docker_analyzer::DockerAnalysis;
pub use docker_analyzer::DockerfileInfo;
pub use docker_analyzer::ComposeFileInfo;
pub use docker_analyzer::DockerService;
pub use docker_analyzer::OrchestrationPattern;
pub use docker_analyzer::NetworkingConfig;
pub use docker_analyzer::DockerEnvironment;
pub use docker_analyzer::analyze_docker_infrastructure;

Modules§

dependency_parser
display
Display Module
docker_analyzer
Docker Analyzer Module
framework_detector
language_detector
monorepo_detector
project_context
security_analyzer
Security Analyzer
tool_installer
vulnerability_checker

Structs§

AnalysisConfig
Configuration for project analysis
AnalysisMetadata
Metadata about the analysis process
BuildScript
Represents build scripts and commands
DetectedLanguage
Represents a detected programming language
DetectedTechnology
Represents a detected technology (framework, library, or tool)
EntryPoint
Represents application entry points
EnvVar
Represents environment variables
MonorepoAnalysis
Represents the overall analysis of a monorepo or single project
Port
Represents exposed network ports
ProjectAnalysis
Enhanced project analysis with proper technology classification and microservice support
ProjectInfo
Represents an individual project within a monorepo
ServiceAnalysis
Represents a service within a microservice architecture
TechnologySummary
Summary of technologies across all projects

Enums§

ArchitecturePattern
Detected architecture patterns
ArchitectureType
Types of project architectures
LibraryType
Specific types of libraries for better classification
ProjectCategory
Category of project within a monorepo
ProjectType
Represents different project types
Protocol
TechnologyCategory
Categories of detected technologies with proper classification

Functions§

analyze_project
Analyzes a project directory to detect languages, frameworks, and dependencies.
analyze_project_with_config
Analyzes a project with custom configuration

Type Aliases§

DependencyMap
Type alias for dependency maps
DetectedFramework
Backward compatibility type alias