GitAuto Logo
  1. Home
  2. Pricing
  3. Docs
  4. Dashboard
  5. Blog
  6. Contact
  1. Home
  2. How It Works
  3. Use Cases
  4. Pricing
  5. Docs
  6. Dashboard
  7. FAQ
  8. Blog
  9. Contact

Coverage Charts

Track your test coverage progress over time with GitAuto's Coverage Charts. Visualize your journey from low coverage to high-quality, well-tested code.

Coverage Charts

What are Coverage Charts?

Coverage Charts provide a visual representation of your test coverage evolution, helping you understand trends, track improvements, and identify areas that need attention.

You should focus on Statement Coverage - the most fundamental coverage metric that shows which lines of code are executed by your tests.

Why Focus on Statement Coverage?

While there are three main types of coverage (Statement, Function, and Branch), Statement Coverage is your starting point for several reasons:

  • Foundation First: Statement coverage ensures basic code execution, forming the foundation for more advanced coverage types
  • Immediate Impact:It's the most straightforward to understand and improve, giving you quick wins
  • Practical Targets: Industry standards suggest 80% as a good target, 90% as excellent - 100% is often unnecessary and can be counterproductive
  • Universal Understanding: Anyone can grasp the concept - from developers to business stakeholders and executives.

Setting Coverage Goals

Recommended Coverage Targets

  • ๐ŸŽฏ 80% - Good coverage, solid foundation
  • ๐Ÿ† 90% - Excellent coverage, high confidence
  • โš ๏ธ 100% - Usually unnecessary, can become counterproductive

Remember: As coverage percentage increases, the effort required grows exponentially. Focus on meaningful tests rather than chasing perfect numbers.

Planning Your Coverage Journey

Step 1: Assess Current State

  • Check your current coverage percentage
  • Identify total number of files in your codebase
  • Determine which files have the lowest coverage

Step 2: Set Realistic Goals

  • Define your target coverage percentage (aim for 80%, then 90%)
  • Set a realistic deadline for achieving your goal
  • Calculate daily/weekly improvement needed

Step 3: Configure GitAuto Schedule

Use GitAuto's Schedule Trigger to automate your coverage improvements:

  • Calculate execution frequency: Days remaining รท Files to improve
  • Add buffer time for AI limitations and code complexity
  • Account for files that might need refactoring before testing

Preparing Your Codebase

โš ๏ธ Important Considerations

AI isn't perfect yet. Your codebase's structure significantly impacts test generation success:

  • File Length: Extremely long files are harder to test comprehensively
  • Function Complexity: Files with many functions increase test complexity
  • Multiple Responsibilities: Files doing too many things create complex, hard-to-read tests
  • Tight Coupling: Highly coupled code makes testing and mocking difficult

Consider refactoring problematic files before running GitAuto to improve success rates and test quality.

Multi-Language Repositories

For repositories with multiple programming languages, the charts display coverage separately for each language:

  • Per-language charts:Each language gets its own chart (e.g., "my-repo (PHP)" and "my-repo (JavaScript)")
  • Total coverage:The "Total Coverage" chart aggregates all languages across all repos using weighted averages based on lines of code
  • Single-language repos: Repos with only one language show without the language suffix

See Multi-Language Coverage for setup instructions.

Using the Charts

Accessing Coverage Charts

Navigate to the Coverage Charts from your dashboard to view your coverage trends over time.

Interpreting the Data

  • Trend Lines: Look for consistent upward trends in coverage percentage
  • Plateaus: Flat periods might indicate need for strategy adjustment
  • Dips: Temporary decreases are normal when adding new uncovered code
  • Progress Rate:Track whether you're meeting your timeline goals

Taking Action

Use the charts to guide your next steps:

  • If progress is slow, consider increasing GitAuto schedule frequency
  • If tests are failing frequently, focus on code refactoring first
  • If coverage is improving steadily, maintain your current approach
  • When you hit your target, celebrate and share your success!

๐ŸŽ‰ Share Your Achievement!

When you successfully improve your coverage, don't keep it to yourself! Share progress with your team and management, post about your success on social media or tech blogs, and don't forget to tell us about your journey! We love hearing success stories!

Contact us to share your coverage improvement journey!

Coverage OverviewSchedule Trigger

Getting Started

  • Installation
  • Setup

Triggers

  • Overview
  • Schedule Trigger
  • Test Failure Trigger
  • Review Comment Trigger
  • Dashboard Trigger

Coverage Dashboard

  • Overview
  • Python Testing
  • JavaScript Testing
  • Java Testing
  • Go Testing
  • PHP Testing
  • Ruby Testing
  • Flutter Testing
  • Multi-Language
  • Coverage Charts

Customization

  • Repository Rules
  • Output Language
  • GITAUTO.md

Integrations

  • CircleCI Integration
  • npm Integration

How It Works

Context Enrichment

  • Line Numbers
  • Full File Reads
  • Test File Preloading
  • Test Naming Detection
  • Error Baselines
  • CI Log Cleaning
  • Trigger-Specific Prompts
  • Coding Standards

Output Auto-Correction

  • Diff Hunk Repair
  • Diff Prefix Repair
  • Tool Name Correction
  • Tool Argument Correction
  • Import Sorting
  • Trailing Space Removal
  • Final Newline
  • Line Ending Preservation
  • Sanitize Tool Arguments
  • Lint Disable Headers

Quality Verification

  • Formatting
  • Linting
  • Type Checking
  • Test Execution
  • Coverage Enforcement
  • phpcs / phpstan Support
  • PHPUnit Support
  • pytest Support
  • Snapshot Auto-Update
  • Untestable Detection
  • Should-Skip Detection
  • Dead Code Removal
  • Quality Check Scoring
  • Quality Checklist

Safety Guardrails

  • File Edit Restrictions
  • Temperature Zero
  • PR/Branch Checks
  • Race Condition Prevention
  • Bot Loop Prevention
  • Webhook Deduplication
  • Duplicate Error Hashing
  • Infrastructure Failure Detection
  • Strict Tool Schemas
  • No-Change Detection

Token/Cost Management

  • Token Trimming
  • Outdated Diff Removal
  • Stale File Replacement
  • Skip CI Intermediate
  • CI Log Deduplication
  • Web Fetch Summarization
  • Context Forgetting
  • File Query Routing
  • On-Demand Diff

Resilience & Recovery

  • Model Fallback
  • Overload Retry
  • Forced Verification
  • Error Files Editable

Hallucination Prevention

  • Web Search
  • URL Fetching
  • Anti-Hallucination Prompts
  • GITAUTO.md Restrictions
  • Review Response Guardrails

Ready to improve your test coverage?

Go from 0% to 90% test coverage with GitAuto. Start for free, no credit card required.

Install FreeContact Sales

Product

  • Home
  • Why GitAuto
  • What GitAuto Does
  • How It Works
  • Use Cases
  • How to Get Started
  • Solution
  • Pricing
  • Pricing Details
  • ROI Calculator
  • ROI Methodology
  • FAQ
  • Blog
  • Contact

Dashboard

  • Dashboard
  • Coverage Trends
  • File Coverage
  • Credits
  • Open PRs
  • Usage
  • Triggers
  • Actions
  • References
  • Rules
  • CircleCI Integration
  • npm Integration

Documentation

  • Docs
  • Getting Started
  • Setup
  • Triggers
  • Coverage Setup
  • Customization
  • How It Works
  • Auto Merge
  • CircleCI
  • npm

Legal

  • Privacy Policy
  • Terms of Service

Connect

  • GitHub
  • LinkedIn
  • Twitter
  • YouTube
GitAuto Logoยฉ 2026 GitAuto, Inc. All Rights Reserved