Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.73ms] Passed 4 tests
Server-side resources used by WP Podcasts Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 42.59 ▲2.02 |
Dashboard /wp-admin | 3.45 ▲0.10 | 46.98 ▼14.92 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 49.06 ▲0.39 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 83.81 ▼2.40 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.37 ▲4.87 |
Add New /wp-admin/post-new.php?post_type=zl_podcast | 3.58 | 52.78 |
Settings /wp-admin/edit.php?post_type=zl_podcast&page=podcasts | 3.40 | 35.39 |
Categories /wp-admin/edit-tags.php?taxonomy=pd-cat&post_type=zl_podcast | 3.49 | 34.54 |
All Podcasts /wp-admin/edit.php?post_type=zl_podcast | 3.41 | 37.66 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Podcasts Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲183 | 13.86 ▼0.59 | 8.20 ▲6.43 | 68.78 ▲25.59 |
Dashboard /wp-admin | 2,235 ▲54 | 5.66 ▼0.02 | 94.86 ▼10.11 | 37.96 ▲0.45 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.03 ▲0.06 | 36.17 ▼1.07 | 33.00 ▼2.18 |
Add New Post /wp-admin/post-new.php | 1,571 ▲35 | 23.03 ▲5.03 | 595.39 ▼44.23 | 61.51 ▼22.74 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.27 ▼0.06 | 98.53 ▼1.09 | 45.44 ▲2.93 |
Add New /wp-admin/post-new.php?post_type=zl_podcast | 2,402 | 7.81 | 179.26 | 71.43 |
Settings /wp-admin/edit.php?post_type=zl_podcast&page=podcasts | 1,191 | 2.01 | 29.52 | 49.80 |
Categories /wp-admin/edit-tags.php?taxonomy=pd-cat&post_type=zl_podcast | 1,317 | 2.21 | 30.10 | 28.85 |
All Podcasts /wp-admin/edit.php?post_type=zl_podcast | 1,132 | 1.99 | 33.87 | 29.23 |
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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=zl_podcast&page=podcasts
- > Notice in wp-content/plugins/wp-podcasts-manager/podcasts-settings.php+29
Undefined index: tab
- > GET request to /wp-admin/edit.php?post_type=zl_podcast&page=podcasts
- > Notice in wp-content/plugins/wp-podcasts-manager/podcasts-settings.php+41
Undefined variable: type
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
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/wp-podcasts-manager/podcasts-template.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-podcasts-manager/podcasts.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-podcasts-manager/podcasts-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-podcasts-manager/podcasts-cron.php:3
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3 in wp-podcasts-manager/assets to your readme.txt
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-podcasts-manager/podcasts.php 85% from 13 tests
Analyzing the main PHP file in "WP Podcasts Manager" version 1.2.1
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 164 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-podcasts-manager.php" instead of "podcasts.php")
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
Everything looks great! No dangerous files found in this plugin2,080 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 58 | 62 | 994 |
PHP | 5 | 37 | 88 | 842 |
JavaScript | 2 | 38 | 24 | 206 |
SVG | 8 | 0 | 0 | 38 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 54.55% |
▷ Protected methods | 5 | 45.45% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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/css/images/no-album-art.png | 2.35KB | 1.13KB | ▼ 52.05% |