Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.95ms] Passed 4 tests
Server-side resources used by oEmbed External Video
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.03 ▼0.39 |
Dashboard /wp-admin | 3.35 ▲0.05 | 54.11 ▲1.93 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 53.22 ▲2.25 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 99.73 ▼8.27 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.27 ▼1.07 |
oEmbed Video /wp-admin/options-general.php?page=oembed-external-video-settings | 3.24 | 33.31 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wp_oev_settings |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for oEmbed External Video
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.27 ▲0.00 | 1.87 ▼0.03 | 43.71 ▲3.68 |
Dashboard /wp-admin | 2,199 ▲28 | 5.54 ▲0.03 | 86.27 ▼8.87 | 41.88 ▲0.05 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.02 | 39.60 ▲2.52 | 35.36 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 22.92 ▼0.15 | 678.99 ▲5.71 | 55.64 ▲3.69 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.17 ▲0.07 | 100.64 ▼1.82 | 44.79 ▲0.51 |
oEmbed Video /wp-admin/options-general.php?page=oembed-external-video-settings | 921 | 2.02 | 23.93 | 26.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- wp_oev_settings
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
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 | 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_embed_register_handler() in wp-content/plugins/oembed-external-video/oEmbed-external-video.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: mp4, video, oembed, html5, external video
oembed-external-video/oEmbed-external-video.php 85% from 13 tests
Analyzing the main PHP file in "oEmbed External Video" version 2.3.0
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("oembed-external-video.php" instead of "oEmbed-external-video.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 163 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin261 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 55 | 37 | 175 |
PO File | 2 | 24 | 30 | 86 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 17.22KB | 7.64KB | ▼ 55.66% |
screenshot-2.png | 19.97KB | 8.25KB | ▼ 58.68% |
screenshot-3.png | 141.39KB | 57.96KB | ▼ 59.01% |