@extends('layouts.app') @section('title', 'QA Intelligence Center') @push('styles') @endpush @section('content') @php $actionsHtml = ' Report Critical Failure'; @endphp @include('components.page-header', [ 'title' => 'Quality Operations Command', 'description' => 'Monitor bug lifecycle analytics, regression health, and engineering stability scores across all production modules.', 'breadcrumbs' => ['Home' => route('admin.dashboard'), 'QA' => '#'], 'actions' => $actionsHtml ])
Critical Failures
{{ $stats['critical_bugs'] }}
BLOCKING PRODUCTION
Open Issues
{{ $stats['open_bugs'] }}
ACTIVE IN BACKLOG
Reopen Rate
{{ number_format($stats['reopen_rate'], 1) }}%
REGRESSION METRIC
Avg Fix Time
{{ number_format($stats['avg_fix_time'], 1) }}h
RESPONSE LATENCY
Total Audited
{{ $stats['total_bugs'] }}
LIFETIME REPORTS

Recent Intelligence Reports

LIVE FAILURE FEED
@foreach($bugs as $bug) @endforeach
Failure Intelligence Portfolio Severity Current State Assignment
{{ $bug->title }}
#{{ $bug->id }} • Reported by {{ $bug->reporter->name }}
{{ $bug->project->name }} @php $sevClass = $bug->severity == 'critical' ? 'badge-low' : ($bug->severity == 'high' ? 'badge-sms' : 'badge-email'); $sevStyle = $bug->severity == 'critical' ? 'background: rgba(244, 63, 94, 0.1); color: #f43f5e; border-color: rgba(244, 63, 94, 0.2);' : ''; @endphp {{ strtoupper($bug->severity) }} @php $statusClass = $bug->status == 'fixed' ? 'badge-whatsapp' : ($bug->status == 'open' ? 'badge-low' : 'badge-email'); @endphp {{ ucfirst($bug->status) }}
{{ $bug->assignee->name ?? 'SYSTEM' }}
{{ substr($bug->assignee->name ?? '?', 0, 1) }}

Structural Risk Analysis

Modules with abnormally high failure rates requiring immediate engineering review.

@foreach($riskModules as $module)
{{ $module->name }} {{ $module->bugs_count }} FAILURES
@endforeach

Developer Stability

@foreach($devPerformance as $dev)
{{ substr($dev['name'], 0, 1) }}
{{ $dev['name'] }} {{ $dev['bugs_fixed'] }}/{{ $dev['bugs_assigned'] }} FIXED
@if($dev['penalties'] > 0)
RECURRENCE PENALTY: {{ $dev['penalties'] }}
@endif
@endforeach

Regression Health

@for($i=0; $i<12; $i++) @php $h = rand(30, 90); @endphp
@endfor
HISTORICAL REAL-TIME
@endsection