| Code Coverage
| Lines | Functions and Methods | Classes and Traits
Total | 100.00% covered (success) | 100.00% | 5 / 5 | 100.00% covered (success) | 100.00% | 1 / 1 | CRAP | 100.00% covered (success) | 100.00% | 1 / 1
DashboardController | 100.00% covered (success) | 100.00% | 5 / 5 | 100.00% covered (success) | 100.00% | 1 / 1 | 1 | 100.00% covered (success) | 100.00% | 1 / 1
index | 100.00% covered (success) | 100.00% | 5 / 5 | 100.00% covered (success) | 100.00% | 1 / 1 | 1 |

1 | <?php
2 |
3 | namespace App\Controllers;
4 |
5 | class DashboardController extends BaseController
6 | {
7 | public function index(): string
8 | {
9 | $data = service('dashboard')->getDashboardData(
10 | $this->request->getGet(),
11 | auth()->user(),
12 | );
13 |
14 | return view('dashboard/index', $data);
15 | }
16 | }