plugins/db/admin_modules/yf_db_revisions.class.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method _show_filter has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function _show_filter()
    {
        $filters = [
            'show' => function ($filter_name, $replace) {
                $fields = ['id', 'date', 'query_method', 'query_table', 'ip', 'user_id'];
Severity: Minor
Found in plugins/db/admin_modules/yf_db_revisions.class.php - About 1 hr to fix

    Method details has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function details()
        {
            if (empty($_GET['id'])) {
                return _e('Empty revision id');
            }
    Severity: Minor
    Found in plugins/db/admin_modules/yf_db_revisions.class.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status