Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.73ms] Passed 4 tests
An overview of server-side resources used by Easy Video Gallery
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.80 ▼1.27 |
Dashboard /wp-admin | 3.38 ▲0.07 | 47.51 ▲0.59 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.20 ▲6.19 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 88.55 ▼12.58 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.08 ▲2.33 |
Help /wp-admin/edit.php?post_type=ev_gallery&page=evg-help | 3.27 | 32.31 |
Add New /wp-admin/post-new.php?post_type=ev_gallery | 3.34 | 44.30 |
All Videos /wp-admin/edit.php?post_type=ev_gallery | 3.34 | 37.97 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Video Gallery
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲185 | 13.89 ▼0.55 | 9.36 ▲7.62 | 42.79 ▲2.30 |
Dashboard /wp-admin | 2,243 ▲58 | 5.82 ▼0.08 | 93.63 ▼12.12 | 37.79 ▼7.80 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.01 ▼0.04 | 36.14 ▲0.17 | 30.79 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,565 ▲51 | 23.33 ▲5.93 | 672.57 ▼27.36 | 52.06 ▼1.69 |
Media Library /wp-admin/upload.php | 1,425 ▲34 | 4.23 ▲0.09 | 95.99 ▼5.23 | 42.99 ▲1.58 |
Help /wp-admin/edit.php?post_type=ev_gallery&page=evg-help | 850 | 2.01 | 23.80 | 27.01 |
Add New /wp-admin/post-new.php?post_type=ev_gallery | 1,476 | 2.52 | 48.86 | 56.56 |
All Videos /wp-admin/edit.php?post_type=ev_gallery | 1,087 | 2.01 | 29.37 | 28.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
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 | 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 take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-video-gallery/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-video-gallery/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-video-gallery/admin.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Add a galley in he post type editor. I only 1 video is entered just a player will show.), #2 (Use he page editor tool to enter the shortcode. Video can be entered in the shortcode or the posttype editor)
easy-video-gallery/easy-video-gallery.php Passed 13 tests
Analyzing the main PHP file in "Easy Video Gallery" version 2.0
67 characters long description:
Easily create video player and gallery for vimeo and youtube videos
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
No dangerous file extensions were detected472 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 55 | 22 | 345 |
JavaScript | 2 | 5 | 0 | 78 |
CSS | 1 | 1 | 0 | 49 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 16.05KB | 8.01KB | ▼ 50.09% |
screenshot-2.png | 14.45KB | 7.87KB | ▼ 45.53% |