Module analyzer

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 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 security::SecretPatternManager;
pub use security::config::SecurityConfigPreset;
pub use tool_management::ToolInstaller;
pub use tool_management::ToolDetector;
pub use tool_management::ToolStatus;
pub use tool_management::InstallationSource;
pub use runtime::RuntimeDetector;
pub use runtime::JavaScriptRuntime;
pub use runtime::PackageManager;
pub use runtime::RuntimeDetectionResult;
pub use runtime::DetectionConfidence;
pub use vulnerability::VulnerabilityChecker;
pub use vulnerability::VulnerabilityInfo;
pub use vulnerability::VulnerabilityReport;
pub use vulnerability::VulnerableDependency;
pub use vulnerability::types::VulnerabilitySeverity as VulnSeverity;
pub use monorepo::MonorepoDetectionConfig;
pub use monorepo::analyze_monorepo;
pub use monorepo::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§

context
dependency_parser
display
Display Module
docker_analyzer
Docker Analyzer Module
framework_detector
frameworks
language_detector
monorepo
runtime
Runtime Detection Module
security
Security Analysis Module
security_analyzer
Security Analyzer
tool_management
Tool Management Module
vulnerability
Vulnerability Checking Module

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