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
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼8.04ms] Passed 4 tests
Server-side resources used by Buzzsprout Podcasting
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 35.11 ▼6.66 |
Dashboard /wp-admin | 3.37 ▲0.07 | 42.41 ▼6.33 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 47.43 ▼1.53 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 83.12 ▼17.45 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 35.37 ▼1.72 |
Buzzsprout Podcasting /wp-admin/options-general.php?page=buzzsprout-podcasting | 3.24 | 27.77 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Buzzsprout Podcasting: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲62 | 13.25 ▼1.34 | 1.51 ▼0.21 | 39.46 ▼3.66 |
Dashboard /wp-admin | 2,203 ▲11 | 5.86 ▲0.89 | 111.34 ▼0.98 | 44.10 ▲3.12 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 2.29 ▲0.13 | 49.06 ▲7.79 | 36.21 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,524 ▼9 | 23.15 ▼0.10 | 652.75 ▲29.20 | 36.29 ▼11.71 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.21 ▲0.03 | 95.83 ▼38.20 | 40.48 ▼7.19 |
Buzzsprout Podcasting /wp-admin/options-general.php?page=buzzsprout-podcasting | 868 | 2.09 | 38.16 | 32.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=buzzsprout-podcasting
- > Notice in wp-content/plugins/buzzsprout-podcasting/buzzsprout-podcasting.php+217
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/buzzsprout-podcasting/buzzsprout-podcasting.php:318
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please delete some tags, you are using 48 tag instead of maximum 10
buzzsprout-podcasting/buzzsprout-podcasting.php Passed 13 tests
Analyzing the main PHP file in "Buzzsprout Podcasting" version 1.8.3
116 characters long description:
This plugin fetches content from a Buzzsprout feed URL, from which user can pick an episode and add it into the post
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected321 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 36 | 98 | 190 |
CSS | 1 | 19 | 0 | 122 |
JavaScript | 2 | 0 | 0 | 9 |
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.24 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 19 | |
▷ Static methods | 19 | 100.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 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
8 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/warning.png | 1.04KB | 1.13KB | 0.00% |
images/help-shortcode.png | 2.60KB | 1.46KB | ▼ 44.05% |
images/help-toolbar1.png | 12.30KB | 5.33KB | ▼ 56.67% |
images/info.png | 1.01KB | 0.94KB | ▼ 7.80% |
images/help-toolbar2.png | 17.30KB | 6.42KB | ▼ 62.87% |