Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.93MB] [CPU: ▼32.49ms] Passed 4 tests
An overview of server-side resources used by WP Don't GO
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.41 ▼11.00 |
Dashboard /wp-admin | 3.01 ▼0.29 | 24.28 ▼23.39 |
Posts /wp-admin/edit.php | 3.01 ▼0.34 | 23.39 ▼23.81 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.87 | 24.59 ▼68.99 |
Media Library /wp-admin/upload.php | 3.01 ▼0.22 | 21.70 ▼13.75 |
WP Don't GO /wp-admin/admin.php?page=dontgoSettings | 3.01 | 23.74 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
dontgoFavicon |
dontgoDelay |
dontgoTitle |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Don't GO
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.28 ▼1.10 | 4.80 ▲3.03 | 42.10 ▼1.41 |
Dashboard /wp-admin | 2,235 ▲44 | 6.07 ▲1.19 | 104.20 ▼1.91 | 86.25 ▲43.35 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.03 ▲0.01 | 37.56 ▲2.32 | 40.46 ▲2.53 |
Add New Post /wp-admin/post-new.php | 1,542 ▼2 | 23.20 ▲0.11 | 770.65 ▲110.44 | 67.76 ▲16.62 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.21 ▼0.07 | 97.65 ▲0.08 | 66.72 ▲24.08 |
WP Don't GO /wp-admin/admin.php?page=dontgoSettings | 920 | 2.08 | 26.01 | 40.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/wp-dont-go/admin_page.php+12
Undefined index: wpajans
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-comments
- dontgoTitle
- db_upgraded
- widget_theysaidso_widget
- dontgoDelay
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- dontgoFavicon
Smoke tests 50% 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)
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=dontgoSettings
- > Notice in wp-content/plugins/wp-dont-go/admin_page.php+12
Undefined index: wpajans
- > GET request to /wp-admin/admin.php?page=dontgoSettings
- > 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.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-dont-go/admin_page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-dont-go/dontgo.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-dont-go/init.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: title change differant tab, wordpress favicon, tab focus, wordpress do not go
wp-dont-go/dontgo.php 92% from 13 tests
The main PHP file in "WP Don't GO" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-dont-go.php" instead of "dontgo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin148 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 7 | 13 | 104 |
CSS | 1 | 1 | 2 | 28 |
JavaScript | 2 | 0 | 0 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon.png | 0.72KB | 0.57KB | ▼ 21.73% |
assets/img/wpajansLogo.png | 23.26KB | 3.63KB | ▼ 84.38% |
assets/img/wpajans.png | 0.60KB | 0.63KB | 0.00% |