Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▼2.59ms] Passed 4 tests
An overview of server-side resources used by Podlove Subscribe button
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 41.21 ▲1.60 |
Dashboard /wp-admin | 3.67 ▲0.32 | 54.30 ▼7.17 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 55.26 ▲4.51 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.30 | 92.25 ▼5.27 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 40.98 ▲0.47 |
Podlove Subscribe Button /wp-admin/options-general.php?page=podlove-subscribe-button | 3.50 | 38.53 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: 1 new table, 13 new options
New tables |
---|
wp_podlovesubscribebutton_button |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
podlove_subscribe_button_default_color |
podlove_subscribe_button_plugin_database_version |
widget_recent-comments |
widget_podlove_subscribe_button_wp_plugin_widget |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
podlove_subscribe_button_default_autowidth |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Podlove Subscribe button
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.21 ▼0.33 | 1.56 ▼0.67 | 42.42 ▲2.18 |
Dashboard /wp-admin | 2,199 ▲24 | 5.53 ▼0.22 | 90.95 ▼15.78 | 39.99 ▼3.60 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.95 ▼0.06 | 39.82 ▲3.38 | 35.56 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.45 ▲0.47 | 711.79 ▲31.15 | 50.89 ▼8.63 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.18 ▼0.04 | 102.88 ▲3.78 | 47.98 ▲5.19 |
Podlove Subscribe Button /wp-admin/options-general.php?page=podlove-subscribe-button | 1,191 | 2.48 | 50.87 | 27.70 |
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
These items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_podlovesubscribebutton_button
- Zombie WordPress options were found after uninstall: 13 options
- podlove_subscribe_button_default_format
- can_compress_scripts
- podlove_subscribe_button_default_size
- theysaidso_admin_options
- widget_podlove_subscribe_button_wp_plugin_widget
- podlove_subscribe_button_default_color
- db_upgraded
- widget_recent-posts
- podlove_subscribe_button_default_autowidth
- widget_theysaidso_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
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/podlove-subscribe-button/widget.php on line 5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/podlove-subscribe-button/widget.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function PodloveSubscribeButton\\add_action() in wp-content/plugins/podlove-subscribe-button/version.php:45
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/podlove-subscribe-button/settings/buttons_list_table.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/podlove-subscribe-button/widget.php:7
- > PHP Fatal error
Uncaught Error: Class 'PodloveSubscribeButton\\Model\\Button' not found in wp-content/plugins/podlove-subscribe-button/model/network_button.php:4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/podlove-subscribe-button/settings/buttons_list_table.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'PodloveSubscribeButton\\Model\\Base' not found in wp-content/plugins/podlove-subscribe-button/model/button.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function PodloveSubscribeButton\\plugin_dir_path() in wp-content/plugins/podlove-subscribe-button/constants.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function PodloveSubscribeButton\\plugin_dir_path() in wp-content/plugins/podlove-subscribe-button/constants.php:6
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: widget, podlove, subscribe, network, podcast...
podlove-subscribe-button/podlove.php 85% from 13 tests
"Podlove Subscribe button" version 1.3.10's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("podlove-subscribe-button.php" instead of "podlove.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,536 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 276 | 275 | 1,224 |
SVG | 2 | 0 | 0 | 149 |
JavaScript | 1 | 24 | 1 | 94 |
CSS | 1 | 6 | 0 | 57 |
Markdown | 1 | 9 | 0 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 21.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 43 | 60.56% |
▷ Public methods | 58 | 81.69% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 18.31% |
Functions | 12 | |
▷ Named functions | 5 | 41.67% |
▷ Anonymous functions | 7 | 58.33% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected