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;

Modules§

dependency_parser
framework_detector
language_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
Port
Represents exposed network ports
ProjectAnalysis
Enhanced project analysis with proper technology classification and microservice support
ServiceAnalysis
Represents a service within a microservice architecture

Enums§

ArchitectureType
Types of project architectures
LibraryType
Specific types of libraries for better classification
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