Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.66MB] [CPU: ▼17.98ms] Passed 4 tests
Analyzing server-side resources used by 3CX Webinars
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.45 ▼7.22 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.43 ▲0.06 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 42.11 ▼10.56 |
Add New Post /wp-admin/post-new.php | 3.15 ▼2.73 | 37.69 ▼54.19 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.05 ▲3.37 |
Webinar Forms /wp-admin/admin.php?page=wp3cxw | 3.27 | 34.14 |
Add New /wp-admin/admin.php?page=wp3cxw-new | 3.33 | 34.75 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 72 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
wp3cxw |
Browser metrics Passed 4 tests
3CX Webinars: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲226 | 13.84 ▼0.45 | 11.72 ▲9.67 | 35.92 ▼5.76 |
Dashboard /wp-admin | 2,277 ▲122 | 5.83 ▲0.20 | 92.37 ▼3.39 | 38.94 ▲2.63 |
Posts /wp-admin/edit.php | 2,164 ▲72 | 2.03 ▼0.01 | 36.50 ▲0.13 | 33.71 ▼2.09 |
Add New Post /wp-admin/post-new.php | 1,560 ▲40 | 18.36 ▼4.95 | 591.57 ▼56.56 | 58.38 ▲1.54 |
Media Library /wp-admin/upload.php | 1,462 ▲77 | 4.18 ▼0.12 | 98.29 ▲0.91 | 40.37 ▼4.64 |
Webinar Forms /wp-admin/admin.php?page=wp3cxw | 1,169 | 1.96 | 28.64 | 31.31 |
Add New /wp-admin/admin.php?page=wp3cxw-new | 4,226 | 3.25 | 72.85 | 50.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/3cx-webinars/admin/edit-webinar-form.php
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/3cx-webinars/admin/includes/class-webinar-forms-list-table.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'WP3CXW_PLUGIN_DIR/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/3cx-webinars/settings.php on line 3
- > PHP Warning
require_once(WP3CXW_PLUGIN_DIR/admin/includes/admin-functions.php): failed to open stream: No such file or directory in wp-content/plugins/3cx-webinars/admin/admin.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/3cx-webinars/admin/includes/class-webinar-forms-list-table.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/3cx-webinars/admin/includes/class-webinar-forms-list-table.php on line 4
- > PHP Warning
Use of undefined constant WP3CXW_PLUGIN_DIR - assumed 'WP3CXW_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/3cx-webinars/settings.php on line 3
- > PHP Warning
Use of undefined constant WP3CXW_PLUGIN_DIR - assumed 'WP3CXW_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/3cx-webinars/admin/admin.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/3cx-webinars/includes/controller.php:3
- > PHP Warning
require_once(WP3CXW_PLUGIN_DIR/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/3cx-webinars/settings.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/3cx-webinars/wp-3cxwebinar.php:34
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: webinar, 3cx, web conference, video conferencing, web meeting
3cx-webinars/wp-3cxwebinar.php 85% from 13 tests
The principal PHP file in "3CX Webinars" v. 18.2.4 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("3cx-webinars.php" instead of "wp-3cxwebinar.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected10,173 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 14 | 1,344 | 1,477 | 3,744 |
PHP | 19 | 564 | 54 | 2,408 |
JavaScript | 4 | 140 | 100 | 2,043 |
CSS | 7 | 147 | 79 | 1,978 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 17.83 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 10 | 16.67% |
▷ Public methods | 56 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.67% |
Functions | 69 | |
▷ Named functions | 69 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 9 | 64.29% |
▷ Class constants | 5 | 35.71% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/css/images/ui-icons_777777_256x240.png | 6.85KB | 4.18KB | ▼ 38.94% |
includes/css/images/ui-icons_555555_256x240.png | 6.84KB | 4.18KB | ▼ 38.84% |
includes/css/images/ui-icons_ffffff_256x240.png | 6.17KB | 4.18KB | ▼ 32.17% |
images/flags.png | 57.07KB | 16.82KB | ▼ 70.53% |
includes/css/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |