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: ▲2.36MB] [CPU: ▲17.53ms] Passed 4 tests
Analyzing server-side resources used by Libsyn Publisher Hub
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.80 ▲2.34 | 61.73 ▲18.60 |
Dashboard /wp-admin | 5.68 ▲2.38 | 71.80 ▲17.93 |
Posts /wp-admin/edit.php | 5.73 ▲2.37 | 69.79 ▲19.84 |
Add New Post /wp-admin/post-new.php | 8.40 ▲2.51 | 120.12 ▲14.09 |
Media Library /wp-admin/upload.php | 5.57 ▲2.34 | 56.53 ▲19.48 |
Debug /wp-admin/admin.php?page=LibsynDebugLog | 5.61 | 54.94 |
Import Feed /wp-admin/admin.php?page=LibsynImports | 5.85 | 60.22 |
Content /wp-admin/admin.php?page=LibsynContent | 5.68 | 54.63 |
Settings /wp-admin/admin.php?page=LibsynSettings | 6.00 | 56.23 |
Server storage [IO: ▲7.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 214 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Libsyn Publisher Hub
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,025 ▲264 | 14.97 ▲0.62 | 1.77 ▼0.01 | 40.63 ▼6.26 |
Dashboard /wp-admin | 2,416 ▲236 | 6.80 ▲1.20 | 122.48 ▲31.76 | 87.51 ▲43.78 |
Posts /wp-admin/edit.php | 2,362 ▲262 | 3.70 ▲1.73 | 53.02 ▲14.29 | 82.70 ▲44.84 |
Add New Post /wp-admin/post-new.php | 1,773 ▲242 | 22.97 ▼0.23 | 687.65 ▲4.48 | 37.10 ▼15.02 |
Media Library /wp-admin/upload.php | 1,490 ▲90 | 4.82 ▲0.65 | 92.35 ▼23.62 | 96.56 ▲47.89 |
Debug /wp-admin/admin.php?page=LibsynDebugLog | 1,151 | 3.80 | 47.59 | 66.23 |
Import Feed /wp-admin/admin.php?page=LibsynImports | 1,480 | 3.87 | 43.93 | 86.23 |
Content /wp-admin/admin.php?page=LibsynContent | 1,107 | 3.84 | 46.84 | 61.31 |
Settings /wp-admin/admin.php?page=LibsynSettings | 1,155 | 3.86 | 46.50 | 82.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% 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 0% 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
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/libsyn-podcasting/admin/views/box_about.php
- > /wp-content/plugins/libsyn-podcasting/admin/views/box_playersettings.php
- > /wp-content/plugins/libsyn-podcasting/admin/views/support/initial-setup.php
- > /wp-content/plugins/libsyn-podcasting/admin/config.php
- > /wp-content/plugins/libsyn-podcasting/admin/views/box_clear-settings.php
- > /wp-content/plugins/libsyn-podcasting/admin/views/box_support.php
- 35× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/libsyn-podcasting/admin/lib/Libsyn/PlaylistWidget.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Error' not found in wp-content/plugins/libsyn-podcasting/admin/lib/Libsyn/Notification.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Libsyn\\Service\\Psr\\Log\\LoggerInterface' not found in wp-content/plugins/libsyn-podcasting/admin/lib/Libsyn/Service/Psr/Log/AbstractLogger.php:12
- > PHP Fatal error
Uncaught Error: Class 'Libsyn\\Service' not found in wp-content/plugins/libsyn-podcasting/admin/lib/Libsyn/Service/Destination.php:7
- > PHP Fatal error
Uncaught Error: Class 'Libsyn\\Post' not found in wp-content/plugins/libsyn-podcasting/admin/lib/Libsyn/Post/Classic.php:4
- > PHP Fatal error
Uncaught Error: Class 'Libsyn' not found in wp-content/plugins/libsyn-podcasting/admin/lib/Libsyn/Site.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/libsyn-podcasting/libsyn-podcasting.php:34
- > PHP Fatal error
Uncaught Error: Class 'Libsyn\\Service' not found in wp-content/plugins/libsyn-podcasting/admin/imports.php:2
- > PHP Fatal error
Uncaught Error: Class 'Libsyn\\Service' not found in wp-content/plugins/libsyn-podcasting/admin/lib/Libsyn/Service/Integration.php:7
- > PHP Fatal error
Uncaught Error: Class 'Libsyn\\Service\\Widget' not found in wp-content/plugins/libsyn-podcasting/admin/lib/Libsyn/Service/Widget/MyLibsyn.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
libsyn-podcasting/libsyn-podcasting.php 92% from 13 tests
The main PHP script in "Libsyn Publisher Hub" version 1.4.4 is automatically included on every request by WordPress
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected59,078 lines of code in 106 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 30,701 |
PHP | 49 | 1,326 | 3,908 | 11,994 |
JavaScript | 30 | 1,362 | 2,474 | 11,089 |
CSS | 20 | 419 | 519 | 4,734 |
Sass | 2 | 56 | 3 | 543 |
Markdown | 1 | 8 | 0 | 17 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 193)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 57.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 440.00 |
Average method complexity | 6.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 193.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 2 | |
Traits | 2 | |
Classes | 29 | |
▷ Abstract classes | 2 | 6.90% |
▷ Concrete classes | 27 | 93.10% |
▷ Final classes | 0 | 0.00% |
Methods | 325 | |
▷ Static methods | 99 | 30.46% |
▷ Public methods | 311 | 95.69% |
▷ Protected methods | 3 | 0.92% |
▷ Private methods | 11 | 3.38% |
Functions | 39 | |
▷ Named functions | 34 | 87.18% |
▷ Anonymous functions | 5 | 12.82% |
Constants | 17 | |
▷ Global constants | 5 | 29.41% |
▷ Class constants | 12 | 70.59% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
84 PNG files occupy 0.38MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/css/jquery-ui-theme/images/ui-bg_highlight-hard_55_BB0000_1x100.png | 0.31KB | 0.16KB | ▼ 49.53% |
lib/css/images/ui-icons_82a532_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
lib/css/jquery-ui-theme/images/ui-bg_flat_50_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
lib/css/images/ui-icons_60a135_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
lib/images/libsyn_dark-small.png | 17.93KB | 4.00KB | ▼ 77.67% |