Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/vimeo-channel-gallery/vimeo-channel-gallery.php+361
Function create_function() is deprecated
Server metrics [RAM: ▼2.39MB] [CPU: ▼354.74ms] Passed 4 tests
Analyzing server-side resources used by Vimeo Channel Gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.98 ▼1.54 | 4.48 ▼55.44 |
Dashboard /wp-admin | 1.99 ▼1.41 | 4.52 ▼28.43 |
Posts /wp-admin/edit.php | 2.00 ▼1.64 | 5.17 ▼33.19 |
Add New Post /wp-admin/post-new.php | 1.99 ▼4.97 | 4.50 ▼1,286.42 |
Media Library /wp-admin/upload.php | 1.99 ▼1.30 | 4.42 ▼43.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_vimeochannelgallery_widget |
Browser metrics Passed 4 tests
Vimeo Channel Gallery: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,781 ▲24 | 15.70 ▼0.05 | 5.73 ▼0.80 | 3.23 ▲0.77 |
Dashboard /wp-admin | 2,881 ▲23 | 6.11 ▼0.13 | 143.79 ▲9.67 | 160.37 ▼6.25 |
Posts /wp-admin/edit.php | 2,657 ▼34 | 3.24 ▲0.01 | 68.55 ▲1.64 | 140.03 ▼47.01 |
Add New Post /wp-admin/post-new.php | 1,690 ▼94 | 20.68 ▲1.37 | 449.06 ▲36.22 | 183.12 ▲10.72 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.48 ▼0.06 | 143.89 ▼8.62 | 239.81 ▲48.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/vimeo-channel-gallery/vimeo-channel-gallery.php+361
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_vimeochannelgallery_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/vimeo-channel-gallery/vimeo-channel-gallery.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: vimeo, gallery, channel, video, user...
vimeo-channel-gallery/vimeo-channel-gallery.php Passed 13 tests
The primary PHP file in "Vimeo Channel Gallery" version 1.5.3 is used by WordPress to initiate all plugin functionality
67 characters long description:
Show a Vimeo video and a gallery of thumbnails for a Vimeo channel.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin379 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 75 | 68 | 220 |
CSS | 1 | 5 | 1 | 54 |
PO File | 1 | 19 | 101 | 54 |
JavaScript | 1 | 13 | 9 | 51 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 55.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 44.44% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin