@extends('layouts.app') @section('title', 'Bug Analytics Dashboard') @section('breadcrumb') @endsection @section('content')

Bug Analytics Dashboard

Analisis mendalam tentang bug dan error dalam sistem

Bug List

{{ $stats['total'] }}

Total Bugs

{{ $stats['open'] }}

Open Bugs

{{ $stats['critical'] }}

Critical Bugs

{{ $stats['resolution_rate'] ?? 0 }}%

Resolution Rate
Bug Trends (Last 7 Days)
Severity Distribution
Critical Bugs ({{ $criticalBugs->count() }})
@if($criticalBugs->count() > 0)
@foreach($criticalBugs as $bug)
{{ Str::limit($bug->title, 40) }}
{{ $bug->module ?? 'Unknown' }} • {{ $bug->created_at->diffForHumans() }}
{{ $bug->occurrence_count }}
@endforeach
@else
No Critical Bugs

Great! No critical bugs found.

@endif
Top Error Modules
@if($topModules->count() > 0)
@foreach($topModules as $module)
{{ $module->module ?? 'Unknown' }}
Last month
{{ $module->bug_count }}
@endforeach
@else
No Module Data

No module-specific errors found.

@endif
System Health Status
Loading...

Checking system health...

Recent Bug Activity
@php $recentBugs = \App\Models\Bug::with(['user', 'resolver']) ->latest() ->limit(10) ->get(); @endphp @forelse($recentBugs as $bug) @empty @endforelse
Time Bug Severity Module Status Actions
{{ $bug->created_at->diffForHumans() }}
{{ Str::limit($bug->title, 30) }}
{{ Str::limit($bug->description, 40) }}
{{ ucfirst($bug->severity) }} {{ $bug->module ?? 'N/A' }} {{ str_replace('_', ' ', ucfirst($bug->status)) }}

No recent bug activity

@endsection @push('styles') @endpush @push('scripts') @endpush