Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wp-wapuu-widget/wp-wapuu-widget.php+202
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼51.76ms] Passed 4 tests
An overview of server-side resources used by WP Wapuu Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.25 ▼35.88 |
Dashboard /wp-admin | 2.05 ▼1.26 | 7.45 ▼42.57 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.83 ▼41.53 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.74 ▼87.06 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.41 ▼27.15 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_wapuuwidget |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP Wapuu Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.34 ▼1.03 | 1.57 ▼0.60 | 40.87 ▼9.66 |
Dashboard /wp-admin | 2,200 ▲14 | 5.79 ▲0.81 | 119.29 ▲7.04 | 42.43 ▼1.15 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▼0.01 | 40.27 ▲4.59 | 34.39 ▲2.94 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.82 ▼5.44 | 655.45 ▼12.18 | 52.92 ▼3.43 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.21 ▼0.00 | 101.60 ▲4.56 | 44.42 ▲1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wp-wapuu-widget/wp-wapuu-widget.php+202
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/wp-wapuu-widget/wp-wapuu-widget.php:37
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (This is the official character of WordPress Japanese local site.)
wp-wapuu-widget/wp-wapuu-widget.php 92% from 13 tests
The entry point to "WP Wapuu Widget" version 0.4.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
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
No dangerous file extensions were detected174 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 38 | 133 |
PO File | 1 | 13 | 14 | 41 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 6.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.18MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wapuu_380.png | 44.80KB | 19.34KB | ▼ 56.83% |
wapuu_175.png | 29.89KB | 8.19KB | ▼ 72.61% |
wapuu_125.png | 20.38KB | 5.96KB | ▼ 70.79% |
wapuu_150.png | 25.29KB | 7.31KB | ▼ 71.11% |
screenshot-1.png | 28.98KB | 10.36KB | ▼ 64.26% |