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.06MB] [CPU: ▼7.64ms] Passed 4 tests
Server-side resources used by fresh Podcaster
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.37 ▼1.53 |
Dashboard /wp-admin | 3.37 ▲0.02 | 46.97 ▼18.85 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 57.50 ▲9.32 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.52 ▼10.63 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.71 ▲0.47 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
fresh_podcaster_css |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for fresh Podcaster
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲177 | 13.57 ▼0.81 | 8.52 ▲6.71 | 45.18 ▲2.18 |
Dashboard /wp-admin | 2,209 ▲21 | 5.83 ▼0.07 | 99.05 ▼10.93 | 81.51 ▲39.81 |
Posts /wp-admin/edit.php | 2,107 ▲21 | 2.00 ▼0.02 | 33.73 ▼3.86 | 32.68 ▼2.04 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 18.36 ▼4.60 | 640.27 ▼17.65 | 66.59 ▲4.22 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.11 ▼0.08 | 98.28 ▼8.37 | 74.58 ▲27.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- fresh_podcaster_css
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/fresh-podcaster/admin/partials/fresh-podcaster-admin-display.php:26
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/fresh-podcaster/public/partials/fresh-podcaster-public-display.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/fresh-podcaster/public/partials/fresh-podcaster-public-display.php:22
- > 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 errors were detected
Optimizations
Plugin configuration 93% 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 require images: #1 (Example of a custom fresh Podcaster), #2 (Example of the custom CSS editor in fresh Podcaster), #3 (The fresh Podcaster shortcode generator)
- Donate link: Invalid URI found ("freshlabs.de")
fresh-podcaster/fresh-podcaster.php Passed 13 tests
The main file in "fresh Podcaster" v. 1.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
69 characters long description:
fresh Podcaster is a simple yet customizable plugin to embed podcasts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,310 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 70 | 9 | 680 |
PHP | 13 | 169 | 603 | 357 |
PO File | 2 | 38 | 50 | 138 |
JavaScript | 2 | 20 | 29 | 135 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 1.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 3 | 10.00% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.45MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 420.31KB | 115.63KB | ▼ 72.49% |
icon-256x256.png | 6.91KB | 7.09KB | 0.00% |
admin/img/logo.png | 6.70KB | 6.94KB | 0.00% |
screenshot-2.png | 4.90KB | 4.74KB | ▼ 3.23% |
admin/img/icon.png | 0.47KB | 0.47KB | 0.00% |