Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/db-error-customizer/db-error-customizer.php+23
include_once(source/setting.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.92MB] [CPU: ▼56.31ms] Passed 4 tests
This is a short check of server-side resources used by DB Error Customizer - Free
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.11 ▼1.39 | 5.69 ▼35.14 |
Dashboard /wp-admin | 2.13 ▼1.22 | 5.78 ▼47.40 |
Posts /wp-admin/edit.php | 2.13 ▼1.27 | 7.84 ▼44.40 |
Add New Post /wp-admin/post-new.php | 2.13 ▼3.80 | 6.69 ▼98.28 |
Media Library /wp-admin/upload.php | 2.13 ▼1.14 | 5.52 ▼33.25 |
DB Error Customizer /wp-admin/options-general.php?page=db-error-customizer | 2.13 | 6.30 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
recovery_mode_email_last_sent |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DB Error Customizer - Free
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,461 ▼1,300 | 12.39 ▼1.98 | 1.78 ▼0.12 | 41.52 ▼6.35 |
Dashboard /wp-admin | 854 ▼1,323 | 1.36 ▼4.25 | 13.11 ▼80.37 | 19.60 ▼25.95 |
Posts /wp-admin/edit.php | 865 ▼1,235 | 1.51 ▼0.48 | 7.69 ▼32.34 | 21.33 ▼17.67 |
Add New Post /wp-admin/post-new.php | 590 ▼936 | 1.71 ▼21.78 | 20.83 ▼677.50 | 7.80 ▼49.20 |
Media Library /wp-admin/upload.php | 750 ▼650 | 1.71 ▼2.52 | 23.65 ▼83.08 | 24.07 ▼20.31 |
DB Error Customizer /wp-admin/options-general.php?page=db-error-customizer | 685 | 1.12 | 8.51 | 16.81 |
Uninstaller [IO: ▲0.23MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the followingThis plugin does not fully uninstall, leaving 7 options in the database
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/db-error-customizer/db-error-customizer.php+23
include_once(source/setting.php): failed to open stream: No such file or directory
- Incomplete uninstall procedure, leaving 17 files (0.23MB) in the plugin directory
- (new file) admin-menu.php
- (new file) templates/mystery.jpg
- (new file) preview.html
- (new file) db-error-customizer.php
- (new file) readme.txt
- (new file) config.txt
- (new file) templates/basic.jpg
- (new file) assets/js/db-error-customizer.js
- (new file) assets/images/template-logo-1.png
- (new file) templates/basic.txt
- ...
- db_upgraded
- widget_recent-posts
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=db-error-customizer
- > Warning in wp-content/plugins/db-error-customizer/db-error-customizer.php+23
include_once(source/setting.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=db-error-customizer
- > Warning in wp-content/plugins/db-error-customizer/db-error-customizer.php+23
include_once(): Failed opening 'source/setting.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/options-general.php?page=db-error-customizer
- > Warning in wp-content/plugins/db-error-customizer/db-error-customizer.php+24
include_once(source/builder.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=db-error-customizer
- > Warning in wp-content/plugins/db-error-customizer/db-error-customizer.php+24
include_once(): Failed opening 'source/builder.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/options-general.php?page=db-error-customizer
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- > GET request to /wp-admin/options-general.php?page=db-error-customizer
- > Error in wp-content/plugins/db-error-customizer/db-error-customizer.php+30
Uncaught Error: Class 'Setting' not found in wp-content/plugins/db-error-customizer/db-error-customizer.php:30
Stack trace:
#0 wp-includes/class-wp-hook.php(310): dec_plugin_admin_notices()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin-header.php(303): do_action()
#4 wp-admin/admin.php(239): require_once('/var/www/wordpr...')
#5 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#6 {main}
thrown
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== db-error-customizer ===
)
db-error-customizer/db-error-customizer.php 92% from 13 tests
The principal PHP file in "DB Error Customizer - Free" v. 2.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected442 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 50 | 56 | 340 |
JavaScript | 1 | 25 | 37 | 102 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/template-logo-1.png | 6.35KB | 3.23KB | ▼ 49.19% |