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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.97MB] [CPU: ▲5.62ms] Passed 4 tests
Server-side resources used by Zoom for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.47 ▲1.01 | 52.28 ▲10.28 |
Dashboard /wp-admin | 4.30 ▲1.00 | 60.60 ▲11.08 |
Posts /wp-admin/edit.php | 4.35 ▲1.00 | 53.43 ▲1.52 |
Add New Post /wp-admin/post-new.php | 6.84 ▲0.96 | 98.92 ▲1.27 |
Media Library /wp-admin/upload.php | 4.16 ▲0.94 | 47.07 ▲9.42 |
Zoom for WordPress /wp-admin/options-general.php?page=wp-zoom | 4.13 | 38.74 |
Server storage [IO: ▲1.86MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 322 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Zoom for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲128 | 13.81 ▼0.63 | 16.26 ▲14.54 | 41.58 ▲0.84 |
Dashboard /wp-admin | 2,204 ▲30 | 5.65 ▲0.01 | 90.29 ▲2.05 | 38.29 ▼7.36 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.03 ▲0.07 | 34.26 ▼4.60 | 35.29 ▼4.49 |
Add New Post /wp-admin/post-new.php | 1,531 ▼0 | 23.33 ▲0.27 | 661.36 ▼10.09 | 55.16 ▲1.77 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.28 ▲0.05 | 104.21 ▲0.14 | 46.78 ▼1.15 |
Zoom for WordPress /wp-admin/options-general.php?page=wp-zoom | 796 | 2.02 | 24.53 | 23.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 166× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/wp-zoom/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:12
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wp-zoom/vendor/monolog/monolog/src/Monolog/Handler/GelfHandler.php:27
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wp-zoom/vendor/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php:41
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wp-zoom/vendor/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-zoom/includes/wp-zoom-enqueue-scripts.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-zoom/templates/settings/registration.php:10
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/wp-zoom/vendor/guzzlehttp/guzzle/src/Exception/SeekException.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-zoom/includes/shortcodes/wp-zoom-list-shortcode.php:58
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wp-zoom/vendor/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wp-zoom/vendor/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were 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
4 plugin tags: zoom, meetings, webinars, woocommerce
wp-zoom/wp-zoom.php Passed 13 tests
Analyzing the main PHP file in "Zoom for WordPress" version 1.5.4
62 characters long description:
Simple Zoom integration with WordPress makes anything possible
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin38,977 lines of code in 313 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 297 | 4,719 | 12,910 | 36,937 |
Markdown | 1 | 234 | 0 | 969 |
JSON | 1 | 0 | 0 | 927 |
YAML | 4 | 25 | 0 | 87 |
XML | 1 | 0 | 0 | 19 |
SVG | 1 | 0 | 0 | 11 |
Dockerfile | 1 | 8 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
Bourne Shell | 1 | 2 | 0 | 3 |
JavaScript | 3 | 0 | 1 | 3 |
CSS | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 11.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 179.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 34 | |
Interfaces | 29 | |
Traits | 13 | |
Classes | 206 | |
▷ Abstract classes | 9 | 4.37% |
▷ Concrete classes | 197 | 95.63% |
▷ Final classes | 24 | 12.18% |
Methods | 1,500 | |
▷ Static methods | 202 | 13.47% |
▷ Public methods | 1,100 | 73.33% |
▷ Protected methods | 206 | 13.73% |
▷ Private methods | 194 | 12.93% |
Functions | 249 | |
▷ Named functions | 134 | 53.82% |
▷ Anonymous functions | 115 | 46.18% |
Constants | 223 | |
▷ Global constants | 47 | 21.08% |
▷ Class constants | 176 | 78.92% |
▷ Public constants | 176 | 100.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
No PNG files were detected