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
- > Deprecated in wp-content/plugins/reiseblog-widgets/includes/widget-reisetiger.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; wp_widget_reisetiger has a deprecated constructor
Server metrics [RAM: ▼1.84MB] [CPU: ▼57.86ms] Passed 4 tests
Analyzing server-side resources used by Reiseblog Widgets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 6.06 ▼42.60 |
Dashboard /wp-admin | 2.17 ▼1.14 | 6.17 ▼51.09 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 6.08 ▼44.96 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 6.60 ▼92.77 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 6.23 ▼28.37 |
Reiseblog Widgets /wp-admin/options-general.php?page=reiseblogwidgets | 2.17 | 5.63 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_reisetiger |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_reisecountdown |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Reiseblog Widgets
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲33 | 14.34 ▼0.02 | 1.85 ▼0.30 | 41.04 ▼2.08 |
Dashboard /wp-admin | 2,199 ▲22 | 5.64 ▲0.08 | 85.28 ▼10.75 | 42.01 ▲0.60 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.99 ▼0.02 | 33.18 ▼3.91 | 36.02 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.26 ▼0.27 | 651.43 ▼50.88 | 58.92 ▲2.85 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.24 ▼0.10 | 100.49 ▼4.63 | 46.98 ▲4.28 |
Reiseblog Widgets /wp-admin/options-general.php?page=reiseblogwidgets | 781 | 2.02 | 23.46 | 29.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/reiseblog-widgets/includes/widget-reisetiger.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; wp_widget_reisetiger has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- theysaidso_admin_options
- widget_reisecountdown
- widget_reisetiger
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=reiseblogwidgets
- > Deprecated in wp-content/plugins/reiseblog-widgets/includes/widget-reisetiger.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; wp_widget_reisetiger has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=reiseblogwidgets
- > Deprecated in wp-content/plugins/reiseblog-widgets/includes/widget-reisecountdown.php+389
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=reiseblogwidgets
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in wp_widget_reisetiger is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=reiseblogwidgets
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in wp_widget_reisecountdown is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=reiseblogwidgets
- > Notice in wp-content/plugins/reiseblog-widgets/reiseblog-widgets.php+66
Undefined variable: outputa
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
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/reiseblog-widgets/includes/widget-reisecountdown.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/reiseblog-widgets/includes/widget-reisetiger.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Reise-Countdown Einstellungen), #2 (Reise-Countdown in der Sidebar), #3 (Reise-Schnäppchen Einstellungen), #4 (Reise-Schnäppchen in der Sidebar)
reiseblog-widgets/reiseblog-widgets.php 92% from 13 tests
This is the main PHP file of "Reiseblog Widgets" version 1.4.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 270 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,613 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 78 | 184 | 734 |
PHP | 3 | 91 | 57 | 543 |
CSS | 2 | 10 | 3 | 336 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
4 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 5.39KB | 3.56KB | ▼ 33.93% |
screenshot-1.png | 29.59KB | 15.79KB | ▼ 46.63% |
screenshot-3.png | 17.88KB | 10.09KB | ▼ 43.54% |
screenshot-4.png | 5.00KB | 2.82KB | ▼ 43.68% |