Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲5.07MB] [CPU: ▲21.53ms] 75% from 4 tests
An overview of server-side resources used by VidSEO | Wordpress Video SEO embedder with transcripts (Youtube & Vimeo)
It is recommended to improve the following
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.07MB on /wp-admin/post-new.php?post_type=vidseo)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.93 ▲5.47 | 60.65 ▲17.12 |
Dashboard /wp-admin | 8.95 ▲5.65 | 71.97 ▲22.17 |
Posts /wp-admin/edit.php | 8.96 ▲5.60 | 81.30 ▲32.53 |
Add New Post /wp-admin/post-new.php | 9.43 ▲3.55 | 110.63 ▲17.78 |
Media Library /wp-admin/upload.php | 8.96 ▲5.73 | 64.45 ▲29.06 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.96 | 57.92 |
Settings /wp-admin/edit.php?post_type=vidseo&page=settings | 8.96 | 65.66 |
All Items /wp-admin/edit.php?post_type=vidseo | 8.96 | 62.17 |
Add New /wp-admin/post-new.php?post_type=vidseo | 8.96 | 68.05 |
Server storage [IO: ▲5.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 283 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
fs_debug_mode |
fs_accounts |
theysaidso_admin_options |
fs_active_plugins |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by VidSEO | Wordpress Video SEO embedder with transcripts (Youtube & Vimeo)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲208 | 14.00 ▼0.40 | 5.40 ▲3.58 | 28.98 ▼14.01 |
Dashboard /wp-admin | 2,252 ▲64 | 5.82 ▲0.73 | 114.05 ▼4.38 | 45.06 ▲1.04 |
Posts /wp-admin/edit.php | 2,135 ▲43 | 2.05 ▼0.01 | 40.90 ▲4.62 | 38.61 ▲4.89 |
Add New Post /wp-admin/post-new.php | 1,542 ▼2 | 23.04 ▼0.32 | 651.96 ▼21.45 | 57.05 ▼3.38 |
Media Library /wp-admin/upload.php | 1,437 ▲49 | 4.23 ▲0.02 | 100.90 ▼8.46 | 49.60 ▲3.96 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,109 | 1.71 | 22.57 | 25.55 |
Settings /wp-admin/edit.php?post_type=vidseo&page=settings | 1,250 | 3.48 | 49.15 | 75.00 |
All Items /wp-admin/edit.php?post_type=vidseo | 1,289 | 3.44 | 48.87 | 30.19 |
Add New /wp-admin/post-new.php?post_type=vidseo | 3,492 | 5.18 | 111.43 | 138.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/vidseo/vendor/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- fs_active_plugins
- fs_debug_mode
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- fs_accounts
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 44× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/vidseo/admin/views/inc/sidebar.view.php:6
- > PHP Notice
Undefined variable: data in wp-content/plugins/vidseo/admin/views/shortcode/video.view.php on line 4
- > PHP Notice
Undefined variable: data in wp-content/plugins/vidseo/admin/views/shortcode/video.view.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/vidseo/admin/views/shortcode/video.view.php on line 30
- > PHP Notice
Undefined variable: data in wp-content/plugins/vidseo/admin/views/shortcode/video.view.php on line 33
- > PHP Notice
Undefined variable: data in wp-content/plugins/vidseo/admin/views/shortcode/video.view.php on line 27
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/vidseo/admin/views/inc/top.view.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/vidseo/admin/views/inc/step-1.view.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/vidseo/admin/views/inc/step-2-3.view.php:1
- > PHP Notice
Undefined variable: data in wp-content/plugins/vidseo/admin/views/shortcode/video.view.php on line 17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=vidseo
- > Javascript (severe) in unknown
/wp-content/plugins/vidseo/admin/assets/app.min.js?ver=1640137044 0:69 Uncaught ReferenceError: meta is not defined
Optimizations
Plugin configuration 90% 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: Please add descriptions for these screenshots #3, #4, #5, #6, #7 in vidseo/assets to your readme.txt
vidseo/video-seo-transcription-embedder.php 85% from 13 tests
The principal PHP file in "VidSEO | Wordpress Video SEO embedder with transcripts (Youtube & Vimeo)" v. 1.2.6 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("vidseo.php" instead of "video-seo-transcription-embedder.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 171 characters long)
Code Analysis 97% from 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 detected53,727 lines of code in 197 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 152 | 8,648 | 17,498 | 35,374 |
JavaScript | 9 | 1,528 | 1,761 | 11,028 |
PO File | 20 | 1,980 | 2,100 | 6,673 |
CSS | 15 | 44 | 14 | 644 |
JSON | 1 | 0 | 0 | 8 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
These items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 74.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 2 | 3.23% |
▷ Concrete classes | 60 | 96.77% |
▷ Final classes | 0 | 0.00% |
Methods | 1,317 | |
▷ Static methods | 215 | 16.32% |
▷ Public methods | 927 | 70.39% |
▷ Protected methods | 17 | 1.29% |
▷ Private methods | 373 | 28.32% |
Functions | 105 | |
▷ Named functions | 103 | 98.10% |
▷ Anonymous functions | 2 | 1.90% |
Constants | 147 | |
▷ Global constants | 100 | 68.03% |
▷ Class constants | 47 | 31.97% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
15 PNG files occupy 0.44MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/imgs/pro.png | 185.86KB | 78.27KB | ▼ 57.89% |
admin/assets/imgs/5.png | 28.95KB | 8.79KB | ▼ 69.64% |
vendor/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
admin/assets/imgs/3.png | 7.70KB | 3.50KB | ▼ 54.56% |
admin/assets/imgs/p11.png | 25.15KB | 11.84KB | ▼ 52.91% |