Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.98ms] Passed 4 tests
Server-side resources used by Broadcast
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.85 ▲0.95 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.36 ▼3.73 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.47 ▼4.01 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.95 ▼16.70 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.10 ▲0.53 |
Server storage [IO: ▲1.40MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 399 new files
Database: no new tables, 32 new options
New WordPress options |
---|
ThreeWP_Broadcast_blogs_to_hide |
theysaidso_admin_options |
ThreeWP_Broadcast_role_custom_fields |
widget_theysaidso_widget |
ThreeWP_Broadcast_post_types |
ThreeWP_Broadcast_save_post_decoys |
db_upgraded |
ThreeWP_Broadcast_blog_selector_position |
widget_recent-posts |
ThreeWP_Broadcast_canonical_url |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Broadcast
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.34 ▼0.04 | 1.73 ▲0.23 | 43.57 ▲7.55 |
Dashboard /wp-admin | 2,198 ▲21 | 5.60 ▼0.05 | 87.75 ▼13.36 | 39.30 ▼3.82 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.00 ▼0.00 | 38.84 ▼1.91 | 35.94 ▼1.15 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.25 ▼0.01 | 674.31 ▼16.92 | 58.52 ▼2.79 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.28 ▲0.10 | 97.27 ▼4.21 | 41.02 ▼4.69 |
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
- The uninstall procedure has failed, leaving 32 options in the database
- ThreeWP_Broadcast_role_broadcast_as_draft
- widget_recent-comments
- ThreeWP_Broadcast_save_post_decoys
- ThreeWP_Broadcast_role_custom_fields
- widget_recent-posts
- ThreeWP_Broadcast_canonical_limit_post_types
- ThreeWP_Broadcast_blog_selector_position
- theysaidso_admin_options
- ThreeWP_Broadcast_existing_attachments
- ThreeWP_Broadcast_role_link
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/threewp-broadcast/tests/bootstrap.php
- 229× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'threewp_broadcast\\maintenance\\checks\\check' not found in wp-content/plugins/threewp-broadcast/src/maintenance/checks/view_post_info/check.php:11
- > PHP Fatal error
Trait 'plainview\\sdk_broadcast\\table\\table_element' not found in wp-content/plugins/threewp-broadcast/src/sdk/table/row.php on line 10
- > PHP Fatal error
Trait 'plainview\\sdk_broadcast\\traits\\method_chaining' not found in wp-content/plugins/threewp-broadcast/src/broadcast_data/blog.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'plainview\\sdk_broadcast\\table\\section' not found in wp-content/plugins/threewp-broadcast/src/sdk/table/body.php:10
- > PHP Fatal error
Trait 'plainview\\sdk_broadcast\\object_stores\\Store' not found in wp-content/plugins/threewp-broadcast/src/sdk/wordpress/object_stores/Store.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'plainview\\sdk_broadcast\\form2\\inputs\\input' not found in wp-content/plugins/threewp-broadcast/src/sdk/form2/inputs/hidden.php:12
- > PHP Fatal error
Uncaught Error: Class 'plainview\\sdk_broadcast\\wordpress\\base' not found in wp-content/plugins/threewp-broadcast/src/premium_pack/Plugin_Pack.php:10
- > PHP Fatal error
Uncaught Error: Class 'plainview\\sdk_broadcast\\wordpress\\row_actions\\Action' not found in wp-content/plugins/threewp-broadcast/src/sdk/wordpress/row_actions/Main.php:5
- > PHP Fatal error
Uncaught Error: Class 'threewp_broadcast\\actions\\action' not found in wp-content/plugins/threewp-broadcast/src/actions/wp_insert_term.php:9
- > PHP Fatal error
Uncaught Error: Class 'threewp_broadcast\\actions\\action' not found in wp-content/plugins/threewp-broadcast/src/actions/menu.php:5
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: syndication, franchise, multipost, hub, marketing...
threewp-broadcast/ThreeWP_Broadcast.php 92% from 13 tests
The primary PHP file in "Broadcast" version 50.06 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("threewp-broadcast.php" instead of "ThreeWP_Broadcast.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin23,887 lines of code in 373 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 330 | 4,786 | 10,660 | 19,177 |
PO File | 8 | 983 | 1,391 | 2,259 |
JavaScript | 12 | 206 | 277 | 1,061 |
Sass | 2 | 51 | 1 | 418 |
CSS | 2 | 65 | 7 | 390 |
HTML | 3 | 21 | 0 | 238 |
Bourne Shell | 8 | 30 | 14 | 122 |
Markdown | 4 | 45 | 0 | 108 |
JSON | 3 | 0 | 0 | 76 |
XML | 1 | 0 | 0 | 38 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 141.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 92.00 |
Code structure | ||
---|---|---|
Namespaces | 72 | |
Interfaces | 0 | |
Traits | 69 | |
Classes | 251 | |
▷ Abstract classes | 5 | 1.99% |
▷ Concrete classes | 246 | 98.01% |
▷ Final classes | 0 | 0.00% |
Methods | 1,602 | |
▷ Static methods | 108 | 6.74% |
▷ Public methods | 1,586 | 99.00% |
▷ Protected methods | 3 | 0.19% |
▷ Private methods | 13 | 0.81% |
Functions | 22 | |
▷ Named functions | 10 | 45.45% |
▷ Anonymous functions | 12 | 54.55% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/lock-16.png | 0.38KB | 0.26KB | ▼ 29.95% |
images/link-16.png | 0.94KB | 0.97KB | 0.00% |