Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼0.86ms] Passed 4 tests
This is a short check of server-side resources used by APG Google Video Sitemap Feed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 42.65 ▲2.41 |
Dashboard /wp-admin | 3.45 ▲0.15 | 50.87 ▲2.51 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 54.96 ▲1.21 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 95.60 ▼8.53 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.69 ▲1.48 |
Google Video Sitemap Feed /wp-admin/options-general.php?page=xml-sitemap-video | 3.83 | 496.00 |
Server storage [IO: ▲2.69MB] [DB: ▲0.10MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 137 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
APG Google Video Sitemap Feed: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.37 | 1.61 ▼0.09 | 39.98 ▼4.24 |
Dashboard /wp-admin | 2,202 ▲22 | 5.65 ▲0.03 | 91.09 ▲0.26 | 40.16 ▼3.48 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.03 ▲0.01 | 45.30 ▲7.78 | 37.30 ▲1.45 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 18.27 ▼4.77 | 616.02 ▼40.15 | 62.11 ▲3.25 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.21 ▼0.02 | 96.56 ▼6.26 | 43.60 ▼3.24 |
Google Video Sitemap Feed /wp-admin/options-general.php?page=xml-sitemap-video | 950 | 1.99 | 26.25 | 38.48 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- 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
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 46× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/google-video-sitemap-feed-with-multisite-support/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php:6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/google-video-sitemap-feed-with-multisite-support/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_RecurringSchedule' not found in wp-content/plugins/google-video-sitemap-feed-with-multisite-support/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_CronSchedule.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/google-video-sitemap-feed-with-multisite-support/includes/admin/funciones-apg.php:20
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/google-video-sitemap-feed-with-multisite-support/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfWeekField.php:18
- > PHP Fatal error
Uncaught Error: Class 'Action_Scheduler\\Migration\\LogMigrator' not found in wp-content/plugins/google-video-sitemap-feed-with-multisite-support/vendor/woocommerce/action-scheduler/classes/migration/DryRun_LogMigrator.php:13
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_FinishedAction' not found in wp-content/plugins/google-video-sitemap-feed-with-multisite-support/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_CanceledAction.php:9
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_LogEntry' not found in wp-content/plugins/google-video-sitemap-feed-with-multisite-support/vendor/woocommerce/action-scheduler/classes/ActionScheduler_NullLogEntry.php:6
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Schedule' not found in wp-content/plugins/google-video-sitemap-feed-with-multisite-support/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Schedule_Deprecated.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/google-video-sitemap-feed-with-multisite-support/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php:15
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: google video sitemap, youtube, sitemap-videoxml, sitemap, vimeo...
google-video-sitemap-feed-with-multisite-support/apg-xml-sitemap.php 85% from 13 tests
The main PHP file in "APG Google Video Sitemap Feed" ver. 2.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 788 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("google-video-sitemap-feed-with-multisite-support.php" instead of "apg-xml-sitemap.php")
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
No dangerous file extensions were detected8,658 lines of code in 107 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 97 | 1,765 | 5,335 | 7,247 |
CSS | 2 | 10 | 22 | 660 |
Markdown | 3 | 118 | 0 | 299 |
SVG | 2 | 0 | 0 | 270 |
PO File | 1 | 28 | 53 | 128 |
JSON | 2 | 0 | 0 | 54 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 11.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 80 | |
▷ Abstract classes | 15 | 18.75% |
▷ Concrete classes | 65 | 81.25% |
▷ Final classes | 0 | 0.00% |
Methods | 641 | |
▷ Static methods | 88 | 13.73% |
▷ Public methods | 480 | 74.88% |
▷ Protected methods | 136 | 21.22% |
▷ Private methods | 25 | 3.90% |
Functions | 41 | |
▷ Named functions | 31 | 75.61% |
▷ Anonymous functions | 10 | 24.39% |
Constants | 34 | |
▷ Global constants | 1 | 2.94% |
▷ Class constants | 33 | 97.06% |
▷ Public constants | 33 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin