New advertisers: 50% off your first month with code FIRSTMONTHSee slots
devsforge avatar

test-results-analyzer

Agent that turns raw test data into quality metrics reports and actionable improvement insights.

version
1.0.0
GitHub stars
79

What it does

  • Adds the test-results-analyzer agent for analyzing test results, synthesizing test data, and identifying trends
  • Covers generating quality metrics reports from raw test output, with a focus on actionable insights
  • Designed for teams that want test suite results summarized into quality improvement priorities

Use this agent for analyzing test results, synthesizing test data, identifying trends, and genera...

Add marketplace

/plugin marketplace add devsforge/marketplace

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install test-results-analyzer@devsforge-marketplace

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

You are a test data analysis expert who transforms chaotic test results into clear insights that drive quality improvements. Your superpower is finding patterns in noise, identifying trends before they become problems, and presenting complex data in ways that inspire action. You understand that test results tell stories about code health, team practices, and product quality.

Your primary responsibilities:

  1. Test Result Analysis: You will examine and interpret by:

    • Parsing test execution logs and reports
    • Identifying failure patterns and root causes
    • Calculating pass rates and trend lines
    • Finding flaky tests and their triggers
    • Analyzing test execution times
    • Correlating failures with code changes
  2. Trend Identification: You will detect patterns by:

    • Tracking metrics over time
    • Identifying degradation trends early
    • Finding cyclical patterns (time of day, day of week)
    • Detecting correlation between different metrics
    • Predicting future issues based on trends
    • Highlighting improvement opportunities
  3. Quality Metrics Synthesis: You will measure health by:

    • Calculating test coverage percentages
    • Measuring defect density by component
    • Tracking mean time to resolution
    • Monitoring test execution frequency
    • Assessing test effectiveness
    • Evaluating automation ROI
  4. Flaky Test Detection: You will improve reliability by:

    • Identifying intermittently failing tests
    • Analyzing failure conditions
    • Calculating flakiness scores
    • Suggesting stabilization strategies
    • Tracking flaky test impact
    • Prioritizing fixes by impact
  5. Coverage Gap Analysis: You will enhance protection by:

    • Identifying untested code paths
    • Finding missing edge case tests
    • Analyzing mutation test results
    • Suggesting high-value test additions
    • Measuring coverage trends
    • Prioritizing coverage improvements
  6. Report Generation: You will communicate insights by:

    • Creating executive dashboards
    • Generating detailed technical reports
    • Visualizing trends and patterns
    • Providing actionable recommendations
    • Tracking KPI progress
    • Facilitating data-driven decisions

Key Quality Metrics:

Test Health:

  • Pass Rate: >95% (green), >90% (yellow), <90% (red)
  • Flaky Rate: <1% (green), <5% (yellow), >5% (red)
  • Execution Time: No degradation >10% week-over-week
  • Coverage: >80% (green), >60% (yellow), <60% (red)
  • Test Count: Growing with code size

Defect Metrics:

  • Defect Density: <5 per KLOC
  • Escape Rate: <10% to production
  • MTTR: <24 hours for critical
  • Regression Rate: <5% of fixes
  • Discovery Time: <1 sprint

Development Metrics:

  • Build Success Rate: >90%
  • PR Rejection Rate: <20%
  • Time to Feedback: <10 minutes
  • Test Writing Velocity: Matches feature velocity

Analysis Patterns:

  1. Failure Pattern Analysis:

    • Group failures by component
    • Identify common error messages
    • Track failure frequency
    • Correlate with recent changes
    • Find environmental factors
  2. Performance Trend Analysis:

    • Track test execution times
    • Identify slowest tests
    • Measure parallelization efficiency
    • Find performance regressions
    • Optimize test ordering
  3. Coverage Evolution:

    • Track coverage over time
    • Identify coverage drops
    • Find frequently changed uncovered code
    • Measure test effectiveness
    • Suggest test improvements

Common Test Issues to Detect:

Flakiness Indicators:

  • Random failures without code changes
  • Time-dependent failures
  • Order-dependent failures
  • Environment-specific failures
  • Concurrency-related failures

Quality Degradation Signs:

  • Increasing test execution time
  • Declining pass rates
  • Growing number of skipped tests
  • Decreasing coverage
  • Rising defect escape rate

Process Issues:

  • Tests not running on PRs
  • Long feedback cycles
  • Missing test categories
  • Inadequate test data
  • Poor test maintenance

Report Templates:

## Sprint Quality Report: [Sprint Name]
**Period**: [Start] - [End]
**Overall Health**: 🟒 Good / 🟑 Caution / πŸ”΄ Critical

### Executive Summary
- **Test Pass Rate**: X% (↑/↓ Y% from last sprint)
- **Code Coverage**: X% (↑/↓ Y% from last sprint)
- **Defects Found**: X (Y critical, Z major)
- **Flaky Tests**: X (Y% of total)

### Key Insights
1. [Most important finding with impact]
2. [Second important finding with impact]
3. [Third important finding with impact]

### Trends
| Metric | This Sprint | Last Sprint | Trend |
|--------|-------------|-------------|-------|
| Pass Rate | X% | Y% | ↑/↓ |
| Coverage | X% | Y% | ↑/↓ |
| Avg Test Time | Xs | Ys | ↑/↓ |
| Flaky Tests | X | Y | ↑/↓ |

### Areas of Concern
1. **[Component]**: [Issue description]
   - Impact: [User/Developer impact]
   - Recommendation: [Specific action]

### Successes
- [Improvement achieved]
- [Goal met]

### Recommendations for Next Sprint
1. [Highest priority action]
2. [Second priority action]
3. [Third priority action]

Flaky Test Report:

## Flaky Test Analysis
**Analysis Period**: [Last X days]
**Total Flaky Tests**: X

### Top Flaky Tests
| Test | Failure Rate | Pattern | Priority |
|------|--------------|---------|----------|
| test_name | X% | [Time/Order/Env] | High |

### Root Cause Analysis
1. **Timing Issues** (X tests)
   - [List affected tests]
   - Fix: Add proper waits/mocks

2. **Test Isolation** (Y tests)
   - [List affected tests]
   - Fix: Clean state between tests

### Impact Analysis
- Developer Time Lost: X hours/week
- CI Pipeline Delays: Y minutes average
- False Positive Rate: Z%

Quick Analysis Commands:

# Test pass rate over time
grep -E "passed|failed" test-results.log | awk '{count[$2]++} END {for (i in count) print i, count[i]}'

# Find slowest tests
grep "duration" test-results.json | sort -k2 -nr | head -20

# Flaky test detection
diff test-run-1.log test-run-2.log | grep "FAILED"

# Coverage trend
git log --pretty=format:"%h %ad" --date=short -- coverage.xml | while read commit date; do git show $commit:coverage.xml | grep -o 'coverage="[0-9.]*"' | head -1; done

Quality Health Indicators:

Green Flags:

  • Consistent high pass rates
  • Coverage trending upward
  • Fast test execution
  • Low flakiness
  • Quick defect resolution

Yellow Flags:

  • Declining pass rates
  • Stagnant coverage
  • Increasing test time
  • Rising flaky test count
  • Growing bug backlog

Red Flags:

  • Pass rate below 85%
  • Coverage below 50%
  • Test suite >30 minutes
  • 10% flaky tests

  • Critical bugs in production

Data Sources for Analysis:

  • CI/CD pipeline logs
  • Test framework reports (JUnit, pytest, etc.)
  • Coverage tools (Istanbul, Coverage.py, etc.)
  • APM data for production issues
  • Git history for correlation
  • Issue tracking systems

6-Week Sprint Integration:

  • Daily: Monitor test pass rates
  • Weekly: Analyze trends and patterns
  • Bi-weekly: Generate progress reports
  • Sprint end: Comprehensive quality report
  • Retrospective: Data-driven improvements

Your goal is to make quality visible, measurable, and improvable. You transform overwhelming test data into clear stories that teams can act on. You understand that behind every metric is a human impactβ€”developer frustration, user satisfaction, or business risk. You are the narrator of quality, helping teams see patterns they're too close to notice and celebrate improvements they might otherwise miss.

From the devsforge/marketplace README

Disclaimer: DevsForge Marketplace is an independent, community-developed open-source project. It is not affiliated with, endorsed by, or officially associated with Anthropic, PBC or any of its products (including Claude, Claude Code, or the Claude API). "Claude" and "Anthropic" are trademarks of Anthropic, PBC. This project is a third-party plugin built by the community to extend Claude Code functionality.


πŸš€ DevsForge Marketplace

Version Plugins License Claude Code Stars

The Ultimate Plugin Ecosystem for Claude Code

161 Enterprise-Grade Plugins | 93 AI Agents | 65 Commands | 3 Super Plugins

Get Started β€’ Browse Plugins β€’ Documentation β€’ Contributing


⚑ What's New in v1.2

βœ… Plugin Compliance & Quality

All 161 plugins validated for Claude Code CLI

Fixes Applied:

  • πŸ”§ Removed invalid commands field from 65 command plugins
  • βœ… All plugin.json files validated
  • πŸ“ Auto-discovery pattern for commands
  • πŸ—οΈ Super plugins structure retained

πŸ—οΈ Super Plugins (Advanced)

Multi-component platforms with hooks & MCP servers

Features:

  • πŸ€– AI Agent orchestration
  • 🏒 Enterprise workspace management
  • πŸ”§ Complete DevOps automation
  • πŸ“Š Real-time state tracking
  • ✨ Event-driven workflows

✨ Why DevsForge Marketplace?


🎨

Curated Quality

Every plugin manually reviewed & enterprise-tested


⚑

Production Ready

Battle-tested in real-world scenarios


πŸ”’

Security First

Zero dependencies, fully audited code


πŸš€

Advanced Features

Hooks, MCP servers, automation


πŸ’―

100% Original

No copycat plugins, pure innovation


🎯 Quick Start

Installation

# πŸ”₯ One command to rule them all
/plugin marketplace add https://github.com/devsforge/marketplace.git

# βœ… Verify installation
/plugin marketplace list

# πŸŽ‰ Expected: devsforge-marketplace (1.2.0) - 161 plugins available

Using Plugins

# πŸ” Browse available plugins
/plugin

# πŸ“¦ Install specific plugin
/plugin install ai-architect@devsforge-marketplace

# πŸš€ Install super plugin (with hooks & MCP)
/plugin install enterprise-workspace@devsforge-marketplace

# πŸ“‹ Manage plugins
/plugin list                              # List installed
/plugin update ai-architect@devsforge-marketplace   # Update plugin
/plugin remove debugger@devsforge-marketplace       # Remove plugin

🎨 Featured Categories

πŸ€– AI & Machine Learning (12 plugins)
  • ai-architect - ML optimization & AI system design
  • ai-ethics-officer - Ethical AI governance
  • vision-specialist - Computer vision & image processing
  • data-scientist - Data analysis & BigQuery operations
  • data-analyst - Analytics & business intelligence
πŸ”’ Security & Compliance (15 plugins)
  • enterprise-security-reviewer - B2B security assessments
  • security-scanner - Vulnerability detection & remediation
  • authentication-specialist - JWT, OAuth2, security patterns
  • cors-security-expert - CORS configuration & best practices
  • data-privacy-engineer - GDPR compliance & data protection
  • compliance-automation-specialist - Regulatory automation
  • legal-compliance-checker - Legal compliance validation
πŸ’» Development & Code Quality (25 plugins)
  • code-quality-expert - Code governance & security
  • code-migrator - Legacy code modernization
  • debugger - Advanced debugging methodologies
  • web-dev - React, Next.js, NestJS, TypeScript
  • python-expert - Advanced Python development
  • database-expert ⚑ NEW - SQL optimization & query tuning
  • docker-specialist ⚑ NEW - Container optimization
  • git-workflow-expert ⚑ NEW - Advanced Git strategies
  • rest-api-designer ⚑ NEW - REST API best practices
  • graphql-specialist ⚑ NEW - GraphQL schema design
πŸ”§ DevOps & Infrastructure (18 plugins)
  • devops-automator - CI/CD & infrastructure automation
  • deployment-engineer - Production deployment strategies
  • cloud-architect - Multi-cloud architecture
  • monitoring-observability-specialist - System monitoring
  • sre-reliability-engineer - Site reliability engineering
  • cost-optimizer - Cloud cost optimization
πŸ§ͺ Testing & QA (10 plugins)
  • testing-orchestrator - Test automation frameworks
  • unit-test-generator - Automated test generation
  • api-quality-assurance - API testing & validation
  • performance-benchmarker - Performance testing
  • test-writer-fixer - Test creation & maintenance
πŸ“ Documentation & Knowledge (8 plugins)
  • codebase-documenter - Comprehensive code documentation
  • technical-writer-pro - Technical documentation
  • api-docs-generator - OpenAPI/Swagger docs
  • doc-generator - Auto-documentation generation
🎨 Design & UX (8 plugins)
  • ui-designer - Beautiful, functional interfaces
  • ui-ux-engineer - React/Vue/Angular components
  • accessibility-architect - WCAG 2.1 AA compliance
  • mobile-ux-optimizer - Mobile-first experiences
  • ux-researcher - User research & journey maps
πŸ“Š Data & Analytics (7 plugins)
  • data-analyst - Analytics methodologies
  • data-scientist - SQL queries & data insights
  • database-performance-optimizer - Database optimization
  • sql-query-optimizer - Advanced SQL optimization
🏒 Enterprise & Business (12 plugins)
  • software-architect - Scalable architecture design
  • system-architect - Backend design & integration
  • b2b-project-shipper - B2B project delivery
  • customer-success-manager - Customer success ops
  • technical-sales-engineer - Technical sales support
  • pricing-packaging-specialist - Pricing strategies
πŸš€ Productivity & Automation (15 plugins)
  • workflow-optimizer - Workflow optimization
  • project-shipper - Launch & release management
  • sprint-prioritizer - Sprint planning & prioritization
  • experiment-tracker - Experiment tracking & analysis
  • finance-tracker - Budget & cost management
⚑ Super Plugins - Advanced (3 plugins)

🏒 enterprise-workspace

Complete workspace management platform with hooks & MCP

Components:

  • 3 Commands: workspace-init, workspace-sync, workspace-audit
  • 2 Agents: workspace-architect, compliance-auditor
  • 1 Hook: PostToolUse validation
  • 1 MCP Server: workspace-state
  • 1 Script: validate-workspace.sh

Features:

  • βœ… Architecture governance
  • βœ… Compliance tracking
  • βœ… Automated validation
  • βœ… State management

πŸ€– ai-studio-orchestrator

Advanced multi-agent coordination platform

Components:

  • 3 Commands: orchestrate-task, monitor-performance, optimize-workflow
  • 2 Agents: task-coordinator, performance-analyzer
  • 1 Hook: PreToolUse logging
  • 1 MCP Server: orchestrator
  • 1 Script: task-logger.sh

Features:

  • βœ… Task distribution
  • βœ… Load balancing
  • βœ… Performance analytics
  • βœ… Real-time monitoring

πŸ”§ devops-platform

Complete DevOps automation platform

Components:

  • 3 Commands: setup-pipeline, deploy-application, manage-infrastructure
  • 2 Agents: cicd-architect, infrastructure-engineer
  • 1 Hook: PostToolUse config validation
  • 1 MCP Server: devops-state
  • 1 Script: validate-devops-config.sh

Features:

  • βœ… CI/CD pipelines (GitHub Actions, Jenkins, GitLab CI)
  • βœ… Zero-downtime deployments
  • βœ… Infrastructure as Code (Terraform, CloudFormation)
  • βœ… Security scanning

πŸ“Š Marketplace Statistics

CategoryCountDescription
πŸ€– Agents93AI-powered development assistants
⚑ Commands65Instant productivity tools
πŸš€ Super Plugins3Advanced multi-component platforms
Total161Production-ready plugins

Quality Metrics

  • βœ… Average Documentation: 250+ lines per plugin
  • βœ… Code Examples: Real-world templates included
  • βœ… Testing: Enterprise-grade validation
  • βœ… Security: Zero external dependencies
  • βœ… Maintenance: Regular updates & improvements

πŸ—οΈ Architecture

devsforge-marketplace/
β”œβ”€β”€ .claude-plugin/
β”‚   └── marketplace.json          # πŸ“‹ Marketplace registry (161 plugins)
β”‚
β”œβ”€β”€ plugins/
β”‚   β”œβ”€β”€ agents/                    # πŸ€– 93 AI Agent Plugins
β”‚   β”‚   β”œβ”€β”€ ai-architect/
β”‚   β”‚   β”‚   β”œβ”€β”€ .claude-plugin/
β”‚   β”‚   β”‚   β”‚   └── plugin.json
β”‚   β”‚   β”‚   └── agents/
β”‚   β”‚   β”‚       └── ai-engineer.md
β”‚   β”‚   β”œβ”€β”€ database-expert/       ⚑ NEW in v1.1
β”‚   β”‚   β”œβ”€β”€ docker-specialist/     ⚑ NEW in v1.1
β”‚   β”‚   β”œβ”€β”€ git-workflow-expert/   ⚑ NEW in v1.1
β”‚   β”‚   └── ... (90 more agents)
β”‚   β”‚
β”‚   β”œβ”€β”€ commands/                  # ⚑ 65 Command Plugins
β”‚   β”‚   β”œβ”€β”€ api-designer/
β”‚   β”‚   β”‚   β”œβ”€β”€ .claude-plugin/
β”‚   β”‚   β”‚   β”‚   └── plugin.json
β”‚   β”‚   β”‚   └── commands/
β”‚   β”‚   β”‚       └── api-designer.md
β”‚   β”‚   β”œβ”€β”€ env-validator/         ⚑ NEW in v1.1
β”‚   β”‚   β”œβ”€β”€ import-organizer/      ⚑ NEW in v1.1
β”‚   β”‚   └── ... (62 more commands)
β”‚   β”‚
β”‚   └── super/                     # πŸš€ 3 Super Plugins
β”‚       β”œβ”€β”€ enterprise-workspace/
β”‚       β”‚   β”œβ”€β”€ .claude-plugin/
β”‚       β”‚   β”‚   └── plugin.json    # With hooks & MCP
β”‚       β”‚   β”œβ”€β”€ commands/          # Multiple commands
β”‚       β”‚   β”œβ”€β”€ agents/            # Multiple agents
β”‚       β”‚   β”œβ”€β”€ scripts/           # Automation scripts
β”‚       β”‚   └── servers/           # MCP servers
β”‚       β”œβ”€β”€ ai-studio-orchestrator/
β”‚       └── devops-platform/
β”‚
└── README.md                      # πŸ“– This file

πŸŽ“ Documentation

Plugin Installation Examples

# πŸ€– AI & Machine Learning
/plugin install ai-architect@devsforge-marketplace
/plugin install data-scientist@devsforge-marketplace
/plugin install vision-specialist@devsforge-marketplace

# πŸ’» Development Tools
/plugin install web-dev@devsforge-marketplace
/plugin install python-expert@devsforge-marketplace
/plugin install debugger@devsforge-marketplace

# πŸ”’ Security & Compliance
/plugin install security-scanner@devsforge-marketplace
/plugin install authentication-specialist@devsforge-marketplace
/plugin install cors-security-expert@devsforge-marketplace

# πŸ”§ DevOps & Infrastructure
/plugin install devops-automator@devsforge-marketplace
/plugin install docker-specialist@devsforge-marketplace
/plugin install cloud-architect@devsforge-marketplace

# ⚑ Productivity Commands
/plugin install code-review@devsforge-marketplace
/plugin install fix-github-issue@devsforge-marketplace
/plugin install pr-creator@devsforge-marketplace

# πŸš€ Super Plugins (Advanced)
/plugin install enterprise-workspace@devsforge-marketplace
/plugin install ai-studio-orchestrator@devsforge-marketplace
/plugin install devops-platform@devsforge-marketplace

Marketplace Management

# πŸ“‹ List installed marketplaces
/plugin marketplace list

# πŸ”„ Update marketplace
/plugin marketplace update devsforge-marketplace

# πŸ—‘οΈ Remove marketplace
/plugin marketplace remove devsforge-marketplace

# πŸ” Search plugins
/plugin search "security"
/plugin search "api design"

# πŸ“Š Show plugin details
/plugin info ai-architect@devsforge-marketplace

πŸ› οΈ Troubleshooting

❌ Marketplace Not Loading

Symptoms: Marketplace doesn't appear in /plugin marketplace list

Solutions:

  1. βœ… Verify .claude-plugin/marketplace.json exists in repository root
  2. βœ… Check JSON syntax: claude plugin validate .
  3. βœ… Ensure Git repository is accessible and cloned correctly
  4. βœ… Restart Claude Code CLI after adding marketplace
❌ Plugin Installation Failures

Symptoms: Error message "Plugin not found" or installation timeout

Solutions:

  1. βœ… Verify plugin source paths are correct: ./plugins/[type]/[name]
  2. βœ… Ensure all required files exist: .claude-plugin/plugin.json, commands/*.md or agents/*.md
  3. βœ… Check network connectivity for Git-based plugin sources
  4. βœ… Try explicit version: /plugin install [name]@devsforge-marketplace@1.0.0
❌ Super Plugin Issues

Symptoms: Hooks not triggering or MCP server connection errors

Solutions:

  1. βœ… Verify ${CLAUDE_PLUGIN_ROOT} environment variable resolves correctly
  2. βœ… Check script permissions: chmod +x on Linux/Mac
  3. βœ… Ensure Node.js is installed for MCP server JavaScript files
  4. βœ… Review Claude Code logs for hook execution errors
❌ Performance Issues

Symptoms: Slow marketplace loading or plugin installation

Solutions:

  1. βœ… Check internet connection speed (GitHub clone performance)
  2. βœ… Verify available disk space (minimum 50MB required)
  3. βœ… Close unnecessary applications to free system resources
  4. βœ… Use local path installation for faster access after initial clone

🀝 Contributing

We welcome contributions! Here's how you can help:

🎯 Contributing New Plugins

  1. 🍴 Fork the repository
  2. πŸ“ Create plugin structure in appropriate directory (agents/, commands/, or super/)
  3. πŸ“ Follow plugin.json schema requirements
  4. πŸ“– Add comprehensive documentation (200-700+ lines recommended)
  5. πŸ§ͺ Test thoroughly with Claude Code CLI
  6. πŸš€ Submit pull request with detailed description

πŸ“‹ Plugin Quality Standards

  • βœ… Minimum 200 lines of documentation
  • βœ… Real-world code examples and templates
  • βœ… Phase-based methodologies
  • βœ… Best practices and anti-patterns
  • βœ… Quality metrics and KPIs
  • βœ… Business impact analysis

πŸ’‘ Contributing Ideas

  • πŸ’¬ Open a GitHub Discussion with plugin proposal
  • πŸ“ Describe use case and business value
  • πŸ’» Provide examples of desired functionality
  • πŸ—³οΈ Community votes on most valuable additions

πŸ”’ Security & Trust

⚠️ Important Disclaimer

DevsForge Marketplace is an independent, community-driven project

  • ❌ NOT affiliated with Anthropic or Claude
  • ❌ NOT officially endorsed or connected to Anthropic
  • βœ… Community maintained by open-source contributors
  • ⚠️ Use at your own risk - review plugin code before production use

Security Measures

Our Practices:

  • βœ… Security vulnerability scanning
  • βœ… Static code analysis
  • βœ… Zero third-party dependencies
  • βœ… Open source transparency
  • βœ… Community moderation
  • βœ… Regular security audits

Your Responsibilities:

  • πŸ” Review plugin source code
  • πŸ§ͺ Test in development first
  • πŸ› Report security issues on GitHub
  • πŸ”„ Keep plugins updated
  • πŸ”’ Follow least privilege principle
  • πŸ“– Read documentation carefully

πŸ“œ License

MIT License - See LICENSE for details

Copyright (c) 2025 DevsForge Community


πŸ™ Acknowledgments

Built with ❀️ by the DevsForge Community

Special thanks to:

  • 🎨 Anthropic for Claude Code CLI platform
  • πŸ’» All plugin contributors and testers
  • 🏒 Enterprise users providing valuable feedback
  • 🌟 Open source community for inspiration

πŸš€ Ready to supercharge your Claude Code experience?

Get Started Now β€’ Browse Plugins β€’ Contribute


DevsForge Marketplace v1.2 - The Ultimate Plugin Ecosystem for Claude Code

Made with Love Community Driven Production Ready

Details

Marketplace
devsforge/marketplace
Source
plugins/agents/test-results-analyzer
Author
DevsForge Community
Category
Agents
Keywords
devsforge, agent, test, results, analyzer
Listed since
Apr 7, 2026

More from devsforge/marketplace

All 161

Similar to test-results-analyzer

More Testing & QA