Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.89ms] Passed 4 tests
Analyzing server-side resources used by Include Fussball.de Widgets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 41.50 ▼0.29 |
Dashboard /wp-admin | 3.45 ▲0.15 | 48.87 ▼0.89 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 48.41 ▲4.29 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 82.26 ▼16.47 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 35.69 ▼1.90 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_ifdw_fubade_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Include Fussball.de Widgets
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.00 | 1.76 ▲0.18 | 45.27 ▲0.84 |
Dashboard /wp-admin | 2,192 ▲18 | 5.58 ▲0.00 | 96.89 ▼7.96 | 41.53 ▼1.98 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.98 ▼0.05 | 36.14 ▼7.38 | 30.71 ▼10.48 |
Add New Post /wp-admin/post-new.php | 6,194 ▲4,660 | 19.20 ▲1.16 | 905.84 ▲303.16 | 59.97 ▼0.08 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.23 ▲0.03 | 100.95 ▲1.17 | 43.56 ▲3.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- widget_ifdw_fubade_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'ITSB\\IFDW\\Infrastructure\\FilterBase' not found in wp-content/plugins/include-fussball-de-widgets/Utils/PluginActions.php:22
- > PHP Fatal error
Uncaught Error: Class 'ITSB\\IFDW\\Infrastructure\\ActionBase' not found in wp-content/plugins/include-fussball-de-widgets/Utils/Textdomain.php:24
- > PHP Fatal error
Uncaught Error: Class 'ITSB\\IFDW\\Utils\\Logging\\LoggerBase' not found in wp-content/plugins/include-fussball-de-widgets/Utils/Logging/ConsoleLogger.php:21
- > PHP Fatal error
Uncaught Error: Class 'ITSB\\IFDW\\Infrastructure\\ActionBase' not found in wp-content/plugins/include-fussball-de-widgets/Widgets/Widgets.php:21
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/include-fussball-de-widgets/Widgets/FubadeWidget.php:22
- > PHP Fatal error
Uncaught Error: Class 'ITSB\\IFDW\\Infrastructure\\ActionBase' not found in wp-content/plugins/include-fussball-de-widgets/Frontend/Enqueue.php:23
- > PHP Fatal error
Uncaught Error: Class 'ITSB\\IFDW\\Infrastructure\\ActionBase' not found in wp-content/plugins/include-fussball-de-widgets/Backend/BorlabsCookie.php:24
- > PHP Fatal error
Uncaught Error: Class 'ITSB\\IFDW\\Infrastructure\\ActionBase' not found in wp-content/plugins/include-fussball-de-widgets/Blocks/Enqueue.php:24
- > PHP Fatal error
Uncaught Error: Class 'ITSB\\IFDW\\Infrastructure\\ShortcodeBase' not found in wp-content/plugins/include-fussball-de-widgets/Shortcodes/Fubade.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: gutenberg, football, fussball, widget, fussballde...
include-fussball-de-widgets/index.php 92% from 13 tests
This is the main PHP file of "Include Fussball.de Widgets" version 3.7.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("include-fussball-de-widgets.php" instead of "index.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
Success! There were no dangerous files found in this plugin928 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 196 | 917 | 798 |
PO File | 1 | 43 | 47 | 126 |
JavaScript | 2 | 0 | 0 | 2 |
CSS | 1 | 0 | 0 | 1 |
JSON | 1 | 0 | 0 | 1 |
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.27 |
Average class complexity | 3.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 4 | 18.18% |
▷ Concrete classes | 18 | 81.82% |
▷ Final classes | 12 | 66.67% |
Methods | 62 | |
▷ Static methods | 10 | 16.13% |
▷ Public methods | 42 | 67.74% |
▷ Protected methods | 5 | 8.06% |
▷ Private methods | 15 | 24.19% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 1 | 7.14% |
▷ Class constants | 13 | 92.86% |
▷ Public constants | 5 | 38.46% |
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.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/cb-fubade.png | 1.85KB | 1.42KB | ▼ 23.05% |