Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.71ms] Passed 4 tests
This is a short check of server-side resources used by Video SEO, Youtube SEO Sitemap
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 40.70 ▼0.42 |
Dashboard /wp-admin | 3.38 ▲0.07 | 45.53 ▼2.28 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.43 ▼4.73 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 94.71 ▲0.60 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.46 ▲0.91 |
WP Video Sitemap /wp-admin/tools.php?page=pvsg-video-sitemap-generate-page | 3.24 | 30.74 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Video SEO, Youtube SEO Sitemap
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 14.74 ▲0.36 | 2.20 ▼0.22 | 44.55 ▼3.65 |
Dashboard /wp-admin | 2,207 ▲16 | 5.83 ▼0.07 | 97.22 ▼4.84 | 39.64 ▼5.06 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.00 | 41.10 ▼5.38 | 35.02 ▼3.32 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.23 ▲4.98 | 664.27 ▲57.58 | 65.90 ▲4.95 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.17 ▼0.04 | 99.89 ▼2.96 | 44.16 ▲0.73 |
WP Video Sitemap /wp-admin/tools.php?page=pvsg-video-sitemap-generate-page | 946 | 2.05 | 23.58 | 46.27 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% 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
- > GET request to /wp-admin/tools.php?page=pvsg-video-sitemap-generate-page
- > Warning in wp-content/plugins/xml-sitemap-generator-for-videos/video-sitemap-generator.php+54
session_start(): Cannot start session when headers already sent
- > GET request to /wp-admin/tools.php?page=pvsg-video-sitemap-generate-page
- > Notice in wp-content/plugins/xml-sitemap-generator-for-videos/video-sitemap-generator.php+56
Undefined index: submit
- > GET request to /wp-admin/tools.php?page=pvsg-video-sitemap-generate-page
- > Notice in wp-content/plugins/xml-sitemap-generator-for-videos/video-sitemap-generator.php+62
Undefined index: update
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xml-sitemap-generator-for-videos/video-sitemap-generator.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Click the button to generate your video sitemap.), #2 (This is how the XML sitemap should look like in your web browser.)
xml-sitemap-generator-for-videos/video-sitemap-generator.php 85% from 13 tests
The main PHP file in "Video SEO, Youtube SEO Sitemap" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("xml-sitemap-generator-for-videos.php" instead of "video-sitemap-generator.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 190 characters long)
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
No dangerous file extensions were detected459 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 70 | 26 | 391 |
XSLT | 1 | 4 | 0 | 68 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.28MB with 0.16MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 45.53KB | 26.85KB | ▼ 41.02% |
screenshot-2.png | 245.41KB | 76.22KB | ▼ 68.94% |