Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼1.05MB] [CPU: ▼39.22ms] Passed 4 tests
An overview of server-side resources used by WPerrorFixer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▼0.54 | 15.17 ▼23.83 |
Dashboard /wp-admin | 2.97 ▼0.34 | 20.04 ▼28.75 |
Posts /wp-admin/edit.php | 2.97 ▼0.39 | 18.20 ▼31.64 |
Add New Post /wp-admin/post-new.php | 2.97 ▼2.92 | 19.92 ▼72.66 |
Media Library /wp-admin/upload.php | 2.97 ▼0.26 | 18.09 ▼13.59 |
Plugin Information /wp-admin/options-general.php?page=wperrorfixer_settings | 2.97 | 18.07 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
wperrorfixer_version |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WPerrorFixer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 13.76 ▼0.57 | 7.47 ▲5.56 | 39.72 ▼6.49 |
Dashboard /wp-admin | 2,214 ▲29 | 4.85 ▼1.03 | 100.97 ▼2.11 | 37.00 ▼0.69 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.03 ▼0.03 | 36.35 ▼5.64 | 31.84 ▼5.42 |
Add New Post /wp-admin/post-new.php | 1,531 ▼3 | 18.07 ▼5.29 | 640.23 ▼9.36 | 52.48 ▼6.29 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.18 ▼0.06 | 98.92 ▼8.19 | 40.50 ▼3.33 |
Plugin Information /wp-admin/options-general.php?page=wperrorfixer_settings | 702 | 1.78 | 21.18 | 22.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wperrorfixer/includes/class-wperrorfixer-settings.php+313
Undefined variable: settings
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- wperrorfixer_version
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wperrorfixer_settings
- > Notice in wp-content/plugins/wperrorfixer/includes/class-wperrorfixer-settings.php+313
Undefined variable: settings
- > GET request to /wp-admin/options-general.php?page=wperrorfixer_settings
- > Notice in wp-content/plugins/wperrorfixer/includes/class-wperrorfixer-settings.php+397
Undefined variable: html
- > GET request to /wp-admin/options-general.php?page=wperrorfixer_settings
- > Notice in wp-content/plugins/wperrorfixer/includes/class-wperrorfixer-settings.php+398
Undefined index: _wpnonce
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: wperrorfixer
wperrorfixer/wperrorfixer.php 92% from 13 tests
This is the main PHP file of "WPerrorFixer" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("3.9" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected987 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 241 | 563 | 832 |
JavaScript | 5 | 25 | 15 | 132 |
JSON | 1 | 0 | 0 | 14 |
Bourne Shell | 1 | 6 | 1 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 2 | 5.13% |
▷ Public methods | 37 | 94.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.13% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 34.50KB | 11.57KB | ▼ 66.47% |