Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/fukudonkenjin/fukudonkenjin.php+149
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.96MB] [CPU: ▼48.10ms] Passed 4 tests
A check of server-side resources used by Fukudonkenjin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.36 ▼34.75 |
Dashboard /wp-admin | 2.05 ▼1.26 | 7.08 ▼40.99 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.84 ▼37.05 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.48 ▼79.59 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.27 ▼27.73 |
Fukudonkenjin /wp-admin/options-general.php?page=fukudonkenjin | 2.05 | 6.24 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Fukudonkenjin: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.25 ▼1.53 | 4.08 ▲2.41 | 40.24 ▼4.88 |
Dashboard /wp-admin | 2,210 ▲22 | 5.84 ▲0.97 | 95.83 ▼20.58 | 36.68 ▼6.10 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.04 | 40.26 ▲5.77 | 33.54 ▲1.74 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.19 ▲0.13 | 673.43 ▼4.82 | 65.66 ▲18.52 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.23 ▲0.00 | 105.51 ▲2.06 | 46.13 ▲1.72 |
Fukudonkenjin /wp-admin/options-general.php?page=fukudonkenjin | 880 | 2.03 | 23.01 | 24.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/fukudonkenjin/fukudonkenjin.php+149
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 14 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=fukudonkenjin
- > Notice in wp-content/plugins/fukudonkenjin/fukudonkenjin.php+78
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/fukudonkenjin/fukudonkenjin.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (You can set any entries that you want to replace strings.)
fukudonkenjin/fukudonkenjin.php Passed 13 tests
"Fukudonkenjin" version 0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
77 characters long description:
Let's join Fukudonkenjin! Fukudonkenjin is the name of donburi-mono lovers :)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin142 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 34 | 42 | 90 |
PO File | 1 | 17 | 16 | 41 |
JavaScript | 1 | 0 | 0 | 8 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 7 | |
▷ Named functions | 7 | 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.03MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 34.79KB | 8.33KB | ▼ 76.05% |