Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.56MB] [CPU: ▲1,229.09ms] 50% from 4 tests
This is a short check of server-side resources used by LiveWebinar
The following require your attention
- CPU: You should keep total CPU usage under 500.00ms (currently 2,781.92ms on /wp-admin/post-new.php?post_type=livewebinar-post)
- Extra CPU: Extra CPU usage must be kept under 200.00ms (currently 1,229.09ms on /wp-admin/post-new.php?post_type=livewebinar-post)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.58 | 1,305.66 ▲1,264.74 |
Dashboard /wp-admin | 3.88 ▲0.53 | 1,585.52 ▲1,519.40 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 1,256.56 ▲1,203.41 |
Add New Post /wp-admin/post-new.php | 6.57 ▲0.67 | 1,310.95 ▲1,201.61 |
Media Library /wp-admin/upload.php | 3.80 ▲0.57 | 1,281.94 ▲1,246.60 |
All events /wp-admin/edit.php?post_type=livewebinar-post | 3.85 | 1,527.93 |
Settings /wp-admin/edit.php?post_type=livewebinar-post&page=livewebinar-settings | 3.83 | 1,251.50 |
Add new /wp-admin/post-new.php?post_type=livewebinar-post | 6.60 | 2,781.92 |
Server storage [IO: ▲14.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 789 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
livewebinar_enable_error_logs |
livewebinar_enable_response_logs |
Browser metrics Passed 4 tests
Checking browser requirements for LiveWebinar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,963 ▲217 | 14.11 ▼0.24 | 5.92 ▲4.04 | 50.10 ▲6.83 |
Dashboard /wp-admin | 2,254 ▲73 | 5.20 ▼0.52 | 95.07 ▼3.59 | 71.88 ▲32.37 |
Posts /wp-admin/edit.php | 2,169 ▲66 | 2.40 ▲0.41 | 35.46 ▼3.64 | 33.29 ▼2.74 |
Add New Post /wp-admin/post-new.php | 1,712 ▲186 | 20.86 ▼2.06 | 616.70 ▼14.69 | 39.49 ▼10.18 |
Media Library /wp-admin/upload.php | 1,534 ▲134 | 4.98 ▲0.80 | 114.91 ▲15.90 | 82.90 ▲35.89 |
All events /wp-admin/edit.php?post_type=livewebinar-post | 1,248 | 9.83 | 202.13 | 24.63 |
Settings /wp-admin/edit.php?post_type=livewebinar-post&page=livewebinar-settings | 1,042 | 2.48 | 29.84 | 28.11 |
Add new /wp-admin/post-new.php?post_type=livewebinar-post | 9,379 | 26.75 | 850.67 | 64.94 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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
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
Please fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/livewebinar/includes/views/blocks/embed-room.php
- > /wp-content/plugins/livewebinar/includes/views/blocks/image.php
- > /wp-content/plugins/livewebinar/includes/views/blocks/room-info.php
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Grav\\Common\\Plugin' not found in wp-content/plugins/livewebinar/vendor/select2/select2/docs/plugins/problems/problems.php:8
- > PHP Fatal error
Uncaught Error: Class 'Grav\\Common\\Plugin' not found in wp-content/plugins/livewebinar/vendor/select2/select2/docs/plugins/simplesearch/simplesearch.php:15
- > PHP Fatal error
Uncaught Error: Class 'Grav\\Common\\Plugin' not found in wp-content/plugins/livewebinar/vendor/select2/select2/docs/plugins/anchors/anchors.php:8
- > PHP Fatal error
Uncaught Error: Class 'Grav\\Common\\Plugin' not found in wp-content/plugins/livewebinar/vendor/select2/select2/docs/plugins/error/error.php:11
- > PHP Fatal error
Uncaught Error: Class 'Grav\\Common\\Theme' not found in wp-content/plugins/livewebinar/vendor/select2/select2/docs/themes/learn2/learn2.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/livewebinar/includes/views/settings.php:17
- > PHP Fatal error
Uncaught Error: Class 'Grav\\Console\\ConsoleCommand' not found in wp-content/plugins/livewebinar/vendor/select2/select2/docs/plugins/error/cli/LogCommand.php:13
- > PHP Fatal error
Uncaught Error: Class 'Grav\\Common\\Plugin' not found in wp-content/plugins/livewebinar/vendor/select2/select2/docs/plugins/breadcrumbs/breadcrumbs.php:6
- > PHP Fatal error
Uncaught Error: Class 'Grav\\Common\\Plugin' not found in wp-content/plugins/livewebinar/vendor/select2/select2/docs/plugins/highlight/highlight.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: webinar, livewebinar, video conference, live webinar, online meetings...
livewebinar/livewebinar.php Passed 13 tests
"LiveWebinar" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
62 characters long description:
Webinar Software. Best Platform for Webinars - LiveWebinar.com
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin90,940 lines of code in 656 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 241 | 12,151 | 6,579 | 45,774 |
CSS | 93 | 10,205 | 655 | 26,538 |
Sass | 136 | 1,045 | 572 | 4,868 |
Markdown | 67 | 1,669 | 0 | 4,618 |
PHP | 37 | 669 | 841 | 3,817 |
SVG | 5 | 0 | 1 | 2,718 |
YAML | 34 | 61 | 6 | 937 |
Twig | 24 | 56 | 0 | 557 |
HTML | 8 | 78 | 6 | 482 |
JSON | 9 | 0 | 0 | 331 |
PO File | 1 | 139 | 150 | 298 |
Bourne Shell | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 19.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 149 | |
▷ Static methods | 33 | 22.15% |
▷ Public methods | 133 | 89.26% |
▷ Protected methods | 7 | 4.70% |
▷ Private methods | 9 | 6.04% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 31 | |
▷ Global constants | 8 | 25.81% |
▷ Class constants | 23 | 74.19% |
▷ Public constants | 23 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
80 PNG files occupy 1.51MB with 0.71MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/select2/select2/docs/pages/images/flags/ga.png | 4.65KB | 2.40KB | ▼ 48.44% |
vendor/select2/select2/docs/pages/images/flags/md.png | 4.01KB | 2.53KB | ▼ 36.95% |
vendor/select2/select2/docs/pages/images/flags/az.png | 5.32KB | 2.66KB | ▼ 50.00% |
vendor/select2/select2/docs/pages/images/flags/al.png | 2.56KB | 1.39KB | ▼ 45.71% |
vendor/select2/select2/docs/pages/images/flags/wi.png | 8.34KB | 3.82KB | ▼ 54.19% |