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.01MB] [CPU: ▼9.00ms] Passed 4 tests
A check of server-side resources used by Vimeo Everywhere
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.51 ▼3.67 |
Dashboard /wp-admin | 3.33 ▼0.02 | 41.25 ▼19.87 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.84 ▲3.50 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 78.49 ▼15.95 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.35 ▲3.78 |
Vimeo Videos /wp-admin/upload.php?page=vimeovideos-display | 3.22 | 26.55 |
Vimeo Everywhere /wp-admin/options-general.php?page=vimeovideos-settings | 3.22 | 30.83 |
Server storage [IO: ▲1.98MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_pyd_vimeo_videos_widget |
widget_theysaidso_widget |
pyd_vimeo_videos |
db_upgraded |
Browser metrics Passed 4 tests
Vimeo Everywhere: 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,820 ▲74 | 13.18 ▼1.20 | 1.58 ▲0.05 | 38.13 ▼1.53 |
Dashboard /wp-admin | 2,224 ▲35 | 4.86 ▼0.08 | 112.39 ▼7.63 | 42.66 ▼4.91 |
Posts /wp-admin/edit.php | 2,114 ▲28 | 2.07 ▲0.05 | 40.82 ▲5.22 | 36.14 ▲1.70 |
Add New Post /wp-admin/post-new.php | 1,532 ▲7 | 23.19 ▼0.01 | 644.00 ▼37.28 | 55.92 ▼2.42 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.26 ▲0.04 | 115.20 ▲12.26 | 47.42 ▲0.07 |
Vimeo Videos /wp-admin/upload.php?page=vimeovideos-display | 775 | 2.04 | 24.02 | 21.69 |
Vimeo Everywhere /wp-admin/options-general.php?page=vimeovideos-settings | 953 | 2.17 | 26.89 | 25.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_pyd_vimeo_videos_widget
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/vimeo-everywhere/includes/pyd-shortcode.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vimeo-everywhere/includes/pyd-widgets.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/vimeo-everywhere/includes/pyd-shortcode.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vimeo-everywhere/includes/pyd-admin_videos.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vimeo-everywhere/includes/pyd-settings.php:174
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: vimeo shortcode, vimeo, video dashboard, vimeo sidebar, vimeo display...
vimeo-everywhere/pyd-vimeo_everywhere.php 85% from 13 tests
The primary PHP file in "Vimeo Everywhere" version 2.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("vimeo-everywhere.php" instead of "pyd-vimeo_everywhere.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 331 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin895 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 201 | 72 | 799 |
CSS | 2 | 24 | 6 | 96 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 1.92MB with 1.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 328.60KB | 120.08KB | ▼ 63.46% |
screenshot-1.png | 119.79KB | 38.99KB | ▼ 67.45% |
screenshot-2.png | 331.58KB | 110.41KB | ▼ 66.70% |
screenshot-7.png | 502.78KB | 174.20KB | ▼ 65.35% |
screenshot-6.png | 42.71KB | 11.08KB | ▼ 74.06% |