Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.97MB] [CPU: ▲4.58ms] Passed 4 tests
An overview of server-side resources used by Podcastify
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.34 ▲0.89 | 44.23 ▲3.28 |
Dashboard /wp-admin | 4.30 ▲1.00 | 54.26 ▲5.52 |
Posts /wp-admin/edit.php | 4.35 ▲1.00 | 57.96 ▲8.32 |
Add New Post /wp-admin/post-new.php | 7.01 ▲1.12 | 100.63 ▲3.25 |
Media Library /wp-admin/upload.php | 4.20 ▲0.98 | 43.35 ▲6.27 |
Series /wp-admin/edit-tags.php?taxonomy=episode_series&post_type=episode | 4.22 | 42.79 |
All podcastify Episodes /wp-admin/edit.php?post_type=episode | 4.28 | 47.34 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=episode | 4.23 | 40.48 |
Settings /wp-admin/edit.php?post_type=episode&page=podcastify-setting | 4.21 | 40.81 |
Add New /wp-admin/post-new.php?post_type=episode | 6.99 | 91.13 |
Server storage [IO: ▲2.41MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 67 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
wpp_setting |
db_upgraded |
can_compress_scripts |
wpp_player |
wpp_feed |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Podcastify
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,040 ▲305 | 16.48 ▲1.74 | 7.85 ▲5.75 | 37.56 ▼8.71 |
Dashboard /wp-admin | 2,409 ▲227 | 7.68 ▲2.56 | 153.10 ▲44.60 | 45.89 ▲4.44 |
Posts /wp-admin/edit.php | 2,317 ▲228 | 4.19 ▲2.19 | 66.61 ▲30.59 | 35.95 ▲2.22 |
Add New Post /wp-admin/post-new.php | 1,567 ▲53 | 24.13 ▲6.58 | 649.14 ▼27.81 | 38.37 ▼25.27 |
Media Library /wp-admin/upload.php | 1,450 ▲62 | 5.40 ▲1.20 | 84.87 ▼17.25 | 40.20 ▼5.20 |
Series /wp-admin/edit-tags.php?taxonomy=episode_series&post_type=episode | 1,467 | 4.39 | 44.19 | 28.99 |
All podcastify Episodes /wp-admin/edit.php?post_type=episode | 1,349 | 4.63 | 56.63 | 29.52 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=episode | 1,542 | 4.35 | 56.69 | 32.15 |
Settings /wp-admin/edit.php?post_type=episode&page=podcastify-setting | 5,148 | 5.34 | 141.42 | 70.19 |
Add New /wp-admin/post-new.php?post_type=episode | 6,834 | 22.47 | 852.74 | 49.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 9 options in the database
- wpp_feed
- widget_recent-posts
- wpp_setting
- widget_recent-comments
- wpp_player
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/podcastify/includes/pages/main.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/podcastify/podcastify.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_localize_script() in wp-content/plugins/podcastify/templates/players/single.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function Podcastify\\Classes\\is_admin() in wp-content/plugins/podcastify/includes/classes/class-wpp-meta-fields.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function Podcastify\\Classes\\add_action() in wp-content/plugins/podcastify/includes/classes/class-podcast-post.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/podcastify/includes/rest/class-wp-rest-posts-controller.php:17
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/podcastify/includes/rest/class-wpp-episode-controller.php:17
- > PHP Notice
Undefined variable: episode_enclosure_link in wp-content/plugins/podcastify/templates/players/single.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function wpp_get_setting() in wp-content/plugins/podcastify/includes/feed/wpp-feed.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function Podcastify\\Classes\\add_filter() in wp-content/plugins/podcastify/includes/classes/class-taxonomy-fields.php:24
- > 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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
podcastify/podcastify.php 92% from 13 tests
The main PHP file in "Podcastify" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 213 characters long)
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
Everything looks great! No dangerous files found in this plugin23,281 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 3,472 | 5,381 | 13,498 |
PHP | 24 | 1,199 | 2,008 | 5,454 |
CSS | 17 | 848 | 159 | 4,328 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 45.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 361.00 |
Average method complexity | 4.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 163 | |
▷ Static methods | 3 | 1.84% |
▷ Public methods | 146 | 89.57% |
▷ Protected methods | 16 | 9.82% |
▷ Private methods | 1 | 0.61% |
Functions | 47 | |
▷ Named functions | 43 | 91.49% |
▷ Anonymous functions | 4 | 8.51% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.38MB with 0.19MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/thumbnail.png | 173.74KB | 59.24KB | ▼ 65.90% |
assets/images/_no-image.png | 22.53KB | 15.45KB | ▼ 31.44% |
dist/images/_no-image.png | 22.53KB | 15.45KB | ▼ 31.44% |
dist/images/thumbnail.png | 173.74KB | 59.24KB | ▼ 65.90% |