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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.80ms] Passed 4 tests
Server-side resources used by Video Thumbnailer for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.67 ▼0.08 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.36 ▼6.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.67 ▼3.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.66 ▼1.44 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.40 ▲2.19 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Video Thumbnailer for Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.48 ▲0.10 | 1.94 ▼0.06 | 43.95 ▼0.52 |
Dashboard /wp-admin | 2,206 ▲18 | 4.87 ▲0.01 | 99.44 ▼10.77 | 38.99 ▼3.44 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▼0.01 | 40.16 ▼3.59 | 36.88 ▼1.08 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.24 ▲0.21 | 644.63 ▼17.73 | 52.85 ▼9.67 |
Media Library /wp-admin/upload.php | 1,379 ▼9 | 4.35 ▲0.23 | 97.26 ▼22.90 | 40.06 ▼10.62 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/video-thumbnailer-for-elementor/includes/settings.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/video-thumbnailer-for-elementor/includes/plugin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/video-thumbnailer-for-elementor/video-thumbnailer-for-elementor.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (screenshot-1.png shows the automatically thumbnailed videos in situ.) image not found
video-thumbnailer-for-elementor/video-thumbnailer-for-elementor.php Passed 13 tests
This is the main PHP file of "Video Thumbnailer for Elementor" version 1.2.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
49 characters long description:
Automatically add thumbnails to Elementor videos.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin319 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 87 | 30 | 190 |
JavaScript | 1 | 180 | 40 | 73 |
CSS | 1 | 51 | 2 | 44 |
XML | 3 | 0 | 0 | 12 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.75MB with 0.19MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 754.06KB | 580.69KB | ▼ 22.99% |
assets/images/bg.png | 9.71KB | 6.88KB | ▼ 29.09% |