Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.36MB] [CPU: ▼1.42ms] Passed 4 tests
A check of server-side resources used by Simple Podcasting
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 38.52 ▼1.36 |
Dashboard /wp-admin | 3.65 ▲0.31 | 48.72 ▼12.91 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 54.25 ▲6.69 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 97.10 ▲1.92 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 43.58 ▲12.31 |
/wp-admin/admin.php?page=simple-podcasting-onboarding | 3.58 | 40.44 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 100 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
simple_podcasting_onboarding |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Podcasting
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲57 | 14.28 ▼0.07 | 1.62 ▼0.43 | 37.46 ▼7.83 |
Dashboard /wp-admin | 2,207 ▲36 | 5.62 ▲0.01 | 94.74 ▼6.05 | 41.62 ▼3.74 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 1.96 ▼0.07 | 39.31 ▲1.77 | 38.50 ▲2.72 |
Add New Post /wp-admin/post-new.php | 1,512 ▼14 | 24.05 ▲0.89 | 700.11 ▲33.94 | 38.14 ▼11.29 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.17 ▼0.03 | 104.95 ▲5.45 | 43.38 ▲0.32 |
/wp-admin/admin.php?page=simple-podcasting-onboarding | 1,682 | 3.07 | 49.12 | 71.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- simple_podcasting_onboarding
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
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
Even though no errors were found, 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
Almost there! Just fix the following items
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function tenup_podcasting\\block_patterns\\add_action() in wp-content/plugins/simple-podcasting/includes/block-patterns.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function tenup_podcasting\\plugin_dir_url() in wp-content/plugins/simple-podcasting/simple-podcasting.php:68
- > PHP Fatal error
Uncaught Error: Call to undefined function tenup_podcasting\\admin\\add_action() in wp-content/plugins/simple-podcasting/includes/admin/create-podcast-component.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/simple-podcasting/includes/admin/views/onboarding-header.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/simple-podcasting/includes/admin/views/onboarding-page-two.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function tenup_podcasting\\add_action() in wp-content/plugins/simple-podcasting/includes/datatypes.php:184
- > PHP Fatal error
Uncaught Error: Call to undefined function tenup_podcasting\\block\\add_action() in wp-content/plugins/simple-podcasting/includes/blocks.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/simple-podcasting/includes/admin/views/onboarding-page-one.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function tenup_podcasting\\add_action() in wp-content/plugins/simple-podcasting/includes/customize-feed.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function tenup_podcasting\\admin\\get_option() in wp-content/plugins/simple-podcasting/includes/admin/onboarding.php:130
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: simple podcasting, podcasting, gutenberg, podcast, apple podcasts...
simple-podcasting/simple-podcasting.php Passed 13 tests
The principal PHP file in "Simple Podcasting" v. 1.6.1 is loaded by WordPress automatically on each request
123 characters long description:
Easily set up multiple podcast feeds using built-in WordPress posts. Includes a podcast block for the new WordPress editor.
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
Good job! No executable or dangerous file extensions detected2,095 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 308 | 518 | 2,083 |
JavaScript | 6 | 0 | 0 | 8 |
CSS | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 65 | |
▷ Named functions | 54 | 83.08% |
▷ Anonymous functions | 11 | 16.92% |
Constants | 7 | |
▷ Global constants | 5 | 71.43% |
▷ Class constants | 2 | 28.57% |
▷ Public constants | 2 | 100.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
68 PNG files occupy 0.17MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/images/icons/playerfm/color-100.png | 8.21KB | 4.89KB | ▼ 40.41% |
dist/assets/images/podcast-block-preview.png | 17.73KB | 7.13KB | ▼ 59.78% |
dist/images/icons/spotify/color-40.png | 1.04KB | 0.54KB | ▼ 48.55% |
dist/images/icons/stitcher/black-100.png | 1.12KB | 0.71KB | ▼ 36.91% |
dist/images/icons/tunein/black-40.png | 0.43KB | 0.35KB | ▼ 19.27% |