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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.19ms] Passed 4 tests
A check of server-side resources used by Simple Easy YouTube Embed Video
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.69 ▼4.44 |
Dashboard /wp-admin | 3.44 ▲0.13 | 40.45 ▼6.26 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.73 ▼3.44 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 81.83 ▼14.61 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.83 ▲0.93 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Easy YouTube Embed Video
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.21 ▼1.14 | 1.68 ▼0.11 | 37.75 ▼6.28 |
Dashboard /wp-admin | 2,216 ▲25 | 4.86 ▼1.03 | 110.68 ▲3.27 | 43.63 ▼0.79 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.05 ▲0.02 | 39.16 ▲5.24 | 35.88 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 23.24 ▲0.43 | 663.37 ▲3.87 | 60.74 ▲6.69 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.22 ▲0.04 | 94.47 ▼2.91 | 40.29 ▼4.33 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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 output text when accessed directly:
- > /wp-content/plugins/simple-easy-youtube-embed-video/public/partials/simple-easy-youtube-embed-video-public-display.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: seyev in wp-content/plugins/simple-easy-youtube-embed-video/public/partials/simple-easy-youtube-embed-video-public-display.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/simple-easy-youtube-embed-video/admin/partials/simple-easy-youtube-embed-video-admin-display.php:19
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simple-easy-youtube-embed-video/public/partials/simple-easy-youtube-embed-video-public-display.php on line 18
- > PHP Fatal error
Trait 'Simple_Easy_Youtube_Embed_Video_Config' not found in wp-content/plugins/simple-easy-youtube-embed-video/public/class-simple-easy-youtube-embed-video-public.php on line 23
- > PHP Fatal error
Trait 'Simple_Easy_Youtube_Embed_Video_Config' not found in wp-content/plugins/simple-easy-youtube-embed-video/admin/class-simple-easy-youtube-embed-video-admin.php on line 23
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: youtube embed video, youtube, youtube embed
simple-easy-youtube-embed-video/simple-easy-youtube-embed-video.php Passed 13 tests
The principal PHP file in "Simple Easy YouTube Embed Video" v. 1.0.0 is loaded by WordPress automatically on each request
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected761 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 172 | 606 | 508 |
JavaScript | 2 | 50 | 0 | 253 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 1.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 2 | 4.55% |
▷ Public methods | 30 | 68.18% |
▷ Protected methods | 9 | 20.45% |
▷ Private methods | 5 | 11.36% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin