Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.38MB] [CPU: ▲1.02ms] Passed 4 tests
Analyzing server-side resources used by Automatic Youtube Video Posts Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 37.00 ▼2.25 |
Dashboard /wp-admin | 3.75 ▲0.44 | 48.45 ▼1.36 |
Posts /wp-admin/edit.php | 3.80 ▲0.44 | 50.64 ▲8.54 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 93.35 ▼0.87 |
Media Library /wp-admin/upload.php | 3.60 ▲0.37 | 41.40 ▲8.83 |
Import Videos /wp-admin/admin.php?page=ayvpp-import-videos | 3.57 | 33.45 |
Video Posts /wp-admin/admin.php?page=ayvpp-video-posts | 3.62 | 33.09 |
Channels/Playlists /wp-admin/admin.php?page=ayvpp-channels | 3.63 | 37.92 |
Settings /wp-admin/admin.php?page=ayvpp-settings | 3.59 | 34.04 |
Duplicate Post Cleanup /wp-admin/admin.php?page=ayvpp-dups | 3.57 | 30.55 |
Reset /wp-admin/admin.php?page=ayvpp-reset | 3.58 | 32.25 |
Trouble Shooting /wp-admin/admin.php?page=ayvpp-trouble | 3.58 | 33.47 |
Server storage [IO: ▲0.35MB] [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: 82 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
ayvpp_settings |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Automatic Youtube Video Posts Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲103 | 13.20 ▼1.18 | 1.68 ▼0.17 | 39.82 ▼4.93 |
Dashboard /wp-admin | 2,255 ▲67 | 4.87 ▼0.99 | 111.11 ▲4.85 | 54.71 ▲11.81 |
Posts /wp-admin/edit.php | 2,146 ▲54 | 2.02 ▼0.03 | 40.24 ▼4.49 | 49.13 ▲12.91 |
Add New Post /wp-admin/post-new.php | 1,573 ▲50 | 23.19 ▼0.04 | 604.13 ▼32.25 | 35.06 ▼19.34 |
Media Library /wp-admin/upload.php | 1,434 ▲46 | 4.14 ▼0.09 | 95.72 ▼3.50 | 39.68 ▼1.38 |
Import Videos /wp-admin/admin.php?page=ayvpp-import-videos | 812 | 2.06 | 27.28 | 43.04 |
Video Posts /wp-admin/admin.php?page=ayvpp-video-posts | 995 | 2.06 | 22.40 | 42.43 |
Channels/Playlists /wp-admin/admin.php?page=ayvpp-channels | 1,316 | 2.24 | 27.39 | 39.09 |
Settings /wp-admin/admin.php?page=ayvpp-settings | 3,094 | 2.34 | 39.80 | 53.73 |
Duplicate Post Cleanup /wp-admin/admin.php?page=ayvpp-dups | 828 | 2.06 | 25.03 | 34.07 |
Reset /wp-admin/admin.php?page=ayvpp-reset | 896 | 2.18 | 24.65 | 39.00 |
Trouble Shooting /wp-admin/admin.php?page=ayvpp-trouble | 889 | 2.06 | 24.66 | 39.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- ayvpp_settings
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ayvpp-channels
- > Notice in wp-content/plugins/automatic-youtube-video-posts/admin/view/channel_add_free.php+60
Trying to get property 'taxonomy' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ayvpp-channels
- > Notice in wp-content/plugins/automatic-youtube-video-posts/admin/view/channel_add_free.php+60
Trying to get property 'term_id' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ayvpp-channels
- > Notice in wp-content/plugins/automatic-youtube-video-posts/admin/view/channel_add_free.php+60
Trying to get property 'name' of non-object
SRP 0% 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 fix the following items
- 30× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/automatic-youtube-video-posts/admin/class/reset.php
- > /wp-content/plugins/automatic-youtube-video-posts/common/class/internal.php
- > /wp-content/plugins/automatic-youtube-video-posts/vendor/ternstyle/wordpress/src/class/menu.php
- > /wp-content/plugins/automatic-youtube-video-posts/common/init.php
- > /wp-content/plugins/automatic-youtube-video-posts/admin/class/menu.php
- > /wp-content/plugins/automatic-youtube-video-posts/admin/class/settings.php
- > /wp-content/plugins/automatic-youtube-video-posts/admin/class/import.php
- > /wp-content/plugins/automatic-youtube-video-posts/admin/view/settings-import.php
- > /wp-content/plugins/automatic-youtube-video-posts/vendor/ternstyle/wordpress/src/class/option.php
- > /wp-content/plugins/automatic-youtube-video-posts/admin/class/list.php
- 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/automatic-youtube-video-posts/admin/view/meta.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/automatic-youtube-video-posts/admin/view/meta.php:9
- > PHP Notice
Undefined variable: meta in wp-content/plugins/automatic-youtube-video-posts/admin/view/meta.php on line 4
- > PHP Notice
Undefined variable: meta in wp-content/plugins/automatic-youtube-video-posts/admin/view/meta.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/automatic-youtube-video-posts/admin/view/reset.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/automatic-youtube-video-posts/admin/view/channels_free.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/automatic-youtube-video-posts/admin/view/channel_add.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/automatic-youtube-video-posts/admin/view/list.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/automatic-youtube-video-posts/admin/view/trouble.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/automatic-youtube-video-posts/admin/view/import_free.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: youtube, youtube channel, videos, embed youtube videos, youtube videos...
automatic-youtube-video-posts/init.php 92% from 13 tests
Analyzing the main PHP file in "Automatic Youtube Video Posts Plugin" version 5.2.2
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("automatic-youtube-video-posts.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected5,101 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 54 | 930 | 1,129 | 4,469 |
LESS | 9 | 24 | 1 | 366 |
JavaScript | 7 | 57 | 186 | 251 |
CSS | 4 | 3 | 23 | 10 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 19.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 279 | |
▷ Static methods | 19 | 6.81% |
▷ Public methods | 188 | 67.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 91 | 32.62% |
Functions | 10 | |
▷ Named functions | 3 | 30.00% |
▷ Anonymous functions | 7 | 70.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
PNG images were not found in this plugin