plugins/sys/admin_modules/yf_manage_cron.class.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method edit has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function edit()
    {
        $id = (int) ($_GET['id']);
        if ( ! $id) {
            return js_redirect(url('/@object'), false, 'Empty ID');
Severity: Minor
Found in plugins/sys/admin_modules/yf_manage_cron.class.php - About 1 hr to fix

    Method show has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function show()
        {
            $path = glob(YF_PATH . 'share/cron_jobs/*cron.php') + glob(YF_PATH . 'plugins/*/share/cron_jobs/*cron.php');
    
            foreach ((array) $path as $name) {
    Severity: Minor
    Found in plugins/sys/admin_modules/yf_manage_cron.class.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status