Unified Web Testing and Code Analysis - Mega Report
Mega Report is CodeFrog’s all-encompassing web testing and code analysis tool. It combines multiple testing and analysis tools into a single, unified report that runs all tests in parallel for comprehensive coverage.
Overview
Mega Report is designed to be your one-stop solution for comprehensive website and codebase validation. Instead of running individual tests separately, Mega Report runs everything in parallel and combines all results into a single, easy-to-review report.
What Makes It “Mega”
- Unified Testing: Combines web testing and code analysis in one report
- Parallel Execution: All tests run simultaneously for faster results
- Comprehensive Coverage: Tests accessibility, security, SEO, code quality, and more
- Single View: All results in one place for easy review
- Export Options: Export to Markdown for sharing and documentation
- Report History: Track and compare results over time
Web Testing Components
Mega Report includes comprehensive web testing capabilities:
Accessibility Testing
- WCAG AA Compliance: Tests against Web Content Accessibility Guidelines Level AA
- Automated Scanning: Uses axe-core for comprehensive accessibility checks
- Issue Detection: Identifies accessibility barriers and violations
- Recommendations: Provides actionable fixes for accessibility issues
See Accessibility Testing for detailed guidance.
Security Testing
- OWASP-based Checks: Industry-standard security validation
- Security Headers: Validates security headers (CSP, HSTS, X-Frame-Options, etc.)
- SSL/TLS Configuration: Checks certificate validity and configuration
- Vulnerability Detection: Identifies common security issues
- Severity Classification: Findings categorized by severity (Critical, High, Medium, Low, Info)
See Security Scanning for detailed security guidance.
Meta Tags Analysis
- SEO Meta Tags: Validates title, description, keywords, and Open Graph tags
- Social Media Tags: Checks Twitter Cards and Facebook Open Graph
- Missing Tags: Identifies important meta tags that are missing
- Tag Quality: Validates tag content and format
HTML Validation
- W3C Standards: Validates HTML against W3C standards using Nu Html Checker
- Semantic Correctness: Ensures proper HTML structure
- Cross-Browser Compatibility: Identifies markup issues that could cause browser problems
- Error Reporting: Detailed error messages with line numbers
SEO Testing
- SEO Analysis: Comprehensive SEO validation and optimization
- Page Structure: Validates heading hierarchy and content structure
- Content Quality: Analyzes content for SEO best practices
- Technical SEO: Checks technical SEO factors
Code Analysis Components
When you have a project open, Mega Report can also analyze your codebase:
Secrets Detection (Gitleaks)
- Secret Scanning: Detects hardcoded secrets, API keys, and credentials
- Multiple Formats: Supports various secret patterns and formats
- Exclusions: Automatically excludes build directories, dependencies, and common false positives
- Severity Levels: Classifies findings by risk level
See Secrets Detection for detailed information.
Supply Chain Vulnerabilities (OSV)
- Dependency Scanning: Detects vulnerabilities in project dependencies
- OSV Database: Uses Open Source Vulnerabilities database
- Vulnerability Details: Provides CVE information and remediation guidance
- Severity Assessment: Categorizes vulnerabilities by severity
See OSV / Supply Chain for detailed information.
Static Analysis
- Semgrep: Advanced static analysis for code quality and security
- OpenGrep: Pattern-based code search and analysis
- Code Quality: Identifies code smells and potential bugs
- Best Practices: Enforces coding standards and best practices
Running a Mega Report
Accessing Mega Report
- From Welcome Screen: Click “Mega Report (Mega)” button
- From Navigation: Go to “Generate Mega Report” in the navigation menu
- No Project Required: Mega Report can run on URLs without an open project (web testing only)
- With Project: Open a project to include code analysis in the report
Configuration Options
When generating a report, you can configure:
Test Target
- Single URL: Test a specific webpage
- Sitemap: Test multiple URLs from a sitemap
- Set maximum URLs to test (default: 100)
- Set timeout per URL (default: 5 minutes)
- Automatically discovers URLs from sitemap
Test Selection
Choose which tests to include:
Web Testing:
- ✅ Accessibility Testing
- ✅ Security Testing
- ✅ Meta Tags Analysis
- ✅ HTML Validation
- ✅ SEO Testing
Code Analysis (requires open project):
- ✅ Gitleaks (Secrets Detection)
- ✅ OSV (Supply Chain Vulnerabilities)
- ✅ Semgrep (Static Analysis)
- ✅ OpenGrep (Code Search)
Authorization
- Authorization Confirmation: Confirm you have permission to test the target
- Ethical Use: Only test systems you own or have explicit authorization to test
Report Generation
- Enter URL or Sitemap: Provide the target URL or sitemap URL
- Select Tests: Choose which tests to run (all enabled by default)
- Configure Options: Set max URLs and timeout for sitemap mode
- Confirm Authorization: Check the authorization checkbox
- Generate Report: Click to start the report generation
During Report Generation
- Real-time Progress: See progress for each test section
- Parallel Execution: All selected tests run simultaneously
- Status Updates: Watch as each test completes
- Cancel Option: You can cancel the report if needed
Understanding Report Results
Report Structure
The Mega Report presents results in organized sections:
- Summary View: Overview of all findings by severity
- Section Details: Detailed results for each test type
- Finding Details: Individual findings with descriptions and recommendations
Severity Levels
Findings are categorized by severity:
- Critical: Immediate action required (security vulnerabilities, breaking issues)
- High: Important issues that should be addressed soon
- Medium: Issues that should be addressed in normal development cycle
- Low: Minor issues or suggestions for improvement
- Info: Informational findings without immediate action required
Health Score
The report includes an overall health score that aggregates all findings:
- Calculation: Based on severity and count of findings
- Trend Tracking: Compare scores across multiple reports
- Quick Assessment: Get a quick sense of overall project health
Exporting Reports
Export to Markdown
- Open Completed Report: Navigate to the Mega Report screen
- Click Export: Use the “Export Markdown” button
- File Location: Report is saved automatically
- Shareable Format: Markdown format is easy to share and review
Use Cases for Exported Reports
- Client Reporting: Share comprehensive test results with clients
- Documentation: Include in project documentation
- Team Review: Share with team members for review
- Compliance: Use for compliance and audit documentation
- Historical Record: Keep records of project health over time
Report History
Viewing History
- Report List: View all previously generated reports
- Compare Reports: Compare results across different time periods
- Trend Analysis: See how project health changes over time
Report Details
Each saved report includes:
- Timestamp: When the report was generated
- Target URL: What was tested
- Test Configuration: Which tests were run
- Results Summary: Overall findings and health score
- Full Results: Complete detailed findings
Best Practices
When to Use Mega Report
- Pre-Launch Validation: Comprehensive testing before going live
- Regular Audits: Periodic health checks (weekly, monthly)
- After Major Changes: Validate after significant updates
- Client Deliverables: Generate reports for client review
- Compliance Checks: Verify compliance with standards
Recommended Workflow
- Before Launch: Run full Mega Report with all tests
- Address Critical Issues: Fix all critical and high-severity findings
- Re-run Report: Generate new report to verify fixes
- Document Results: Export and save report for records
- Schedule Regular Reports: Set up periodic reports
Optimization Tips
- Selective Testing: Disable tests you don’t need for faster reports
- Sitemap Mode: Use sitemap mode for comprehensive site coverage
- Batch Processing: Use max URLs limit for large sites
- Project Context: Open project for code analysis when needed
Use Cases
Pre-Launch Checklist
Run Mega Report before launching to ensure:
- ✅ Accessibility compliance (WCAG AA)
- ✅ Security best practices
- ✅ SEO optimization
- ✅ HTML validity
- ✅ No hardcoded secrets
- ✅ No known vulnerabilities
Regular Quality Audits
Schedule regular Mega Reports to:
- Track project health over time
- Identify regressions early
- Maintain code quality standards
- Ensure ongoing compliance
Client Reporting
Generate Mega Reports for:
- Client deliverables
- Project status updates
- Compliance documentation
- Quality assurance reports
Development Workflow
Integrate Mega Report into your workflow:
- Run after major feature additions
- Validate before merging PRs
- Check staging environments
- Monitor production health
Limitations
Code Analysis Requirements
- Requires Open Project: Code analysis (Gitleaks, OSV, Semgrep) requires a project to be open
- Local Projects: Code analysis works best with local projects
- Remote Projects: Code analysis may have limitations with SSH projects
Sitemap Mode
- URL Limits: Set maximum URLs to prevent extremely long reports
- Timeout Settings: Configure timeouts to prevent hanging on slow URLs
- Resource Usage: Large sitemaps may take significant time and resources
Network Dependencies
- Internet Required: Web testing requires internet connectivity
- Target Availability: Target URLs must be accessible
- Rate Limiting: Some sites may rate-limit requests
Troubleshooting
Report Fails to Start
- Check Authorization: Ensure authorization checkbox is checked
- Verify URL: Confirm the URL is valid and accessible
- Check Internet: Ensure you have internet connectivity
- Project Status: For code analysis, ensure project is open and accessible
Tests Not Completing
- Timeout Issues: Increase timeout settings for slow URLs
- Network Problems: Check network connectivity
- Target Availability: Verify target URLs are accessible
- Cancel and Retry: Cancel and restart with adjusted settings
Missing Code Analysis
- Open Project: Code analysis requires an open project
- Check Project Type: Ensure project is accessible (local or SSH)
- Verify Test Selection: Ensure code analysis tests are enabled
Export Issues
- Report Must Complete: Wait for report to finish before exporting
- Check Permissions: Ensure you have write permissions for export location
- File Path: Check the file path shown in success message
Related Guides
- Accessibility Testing - Detailed accessibility guidance
- Security Scanning - Security testing details
- OSV / Supply Chain - Dependency vulnerability scanning
- Secrets Detection - Secrets scanning with Gitleaks
- Tools Available - Overview of all CodeFrog tools
- Launch Checklist - Pre-launch validation steps
Summary
Mega Report is CodeFrog’s comprehensive solution for web testing and code analysis:
- ✅ Unified Testing: All tests in one place
- ✅ Parallel Execution: Fast, efficient testing
- ✅ Comprehensive Coverage: Web testing + code analysis
- ✅ Easy Review: Single-page view of all results
- ✅ Exportable: Markdown export for sharing
- ✅ Historical Tracking: Compare results over time
Whether you’re preparing for launch, conducting regular audits, or generating client reports, Mega Report provides the comprehensive testing and analysis you need in a single, unified tool.