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
Install script ran successfully
Server metrics [RAM: ▲0.61MB] [CPU: ▼0.45ms] Passed 4 tests
Analyzing server-side resources used by WP GoToWebinar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.64 | 45.77 ▲6.18 |
Dashboard /wp-admin | 3.95 ▲0.65 | 51.65 ▲3.17 |
Posts /wp-admin/edit.php | 4.00 ▲0.65 | 48.64 ▼0.44 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.58 | 90.07 ▼8.45 |
Media Library /wp-admin/upload.php | 3.81 ▲0.58 | 37.23 ▲3.90 |
WP GoToWebinar /wp-admin/options-general.php?page=wp-gotowebinar | 3.81 | 37.70 |
Server storage [IO: ▲4.15MB] [DB: ▲0.20MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 74 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_gotowebinar_widget |
widget_theysaidso_widget |
widget_recent-posts |
gotowebinar_connection_log |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
WP GoToWebinar: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲106 | 13.35 ▼1.02 | 1.95 ▲0.26 | 44.72 ▲4.73 |
Dashboard /wp-admin | 2,222 ▲31 | 5.09 ▼0.79 | 129.19 ▲28.46 | 39.16 ▼7.25 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.22 ▲0.23 | 59.57 ▲18.20 | 34.63 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,522 ▲8 | 17.92 ▲0.19 | 681.52 ▲9.97 | 78.12 ▲23.93 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.46 ▲0.16 | 140.15 ▲31.41 | 47.45 ▲1.88 |
WP GoToWebinar /wp-admin/options-general.php?page=wp-gotowebinar | 5,582 | 28.92 | 721.78 | 209.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.20MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- gotowebinar_connection_log
- can_compress_scripts
- widget_gotowebinar_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 10 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-gotowebinar
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-gotowebinar/wp-gotowebinar.php+1576
Trying to access array offset on value of type bool
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-gotowebinar
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-gotowebinar/wp-gotowebinar.php+1504
Undefined index: error
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-gotowebinar
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-gotowebinar/wp-gotowebinar.php+1505
Undefined index: error_description
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 10× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-gotowebinar/inc/shortcode-registration.php:607
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-gotowebinar/inc/registration.php:106
- > PHP Fatal error
Uncaught Error: Call to undefined function current_time() in wp-content/plugins/wp-gotowebinar/inc/widget-output.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-gotowebinar/inc/clear-cache.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-gotowebinar/wp-gotowebinar.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-gotowebinar/inc/shortcode-calendar.php:163
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-gotowebinar/inc/shortcode.php:214
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-gotowebinar/inc/widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-gotowebinar/inc/visual-composer.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-gotowebinar/inc/widget-options.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: gotowebinar, constant contact, mailchimp, wpbakery page builder, widget...
wp-gotowebinar/wp-gotowebinar.php Passed 13 tests
This is the main PHP file of "WP GoToWebinar" version 14.46, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
97 characters long description:
Show upcoming GoToWebinars on any post or page or in a widget and register users on your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected22,239 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 8,954 |
JavaScript | 14 | 1,836 | 607 | 7,587 |
PHP | 13 | 1,569 | 406 | 3,539 |
CSS | 10 | 224 | 36 | 1,094 |
PO File | 8 | 360 | 382 | 1,065 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 132 | |
▷ Named functions | 131 | 99.24% |
▷ Anonymous functions | 1 | 0.76% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/images/tinymce.png | 36.82KB | 12.28KB | ▼ 66.64% |
inc/images/visual-composer-icon.png | 1.21KB | 0.61KB | ▼ 49.23% |