Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.33MB] [CPU: ▼3.42ms] Passed 4 tests
An overview of server-side resources used by Easy Video Publisher
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 42.78 ▼2.20 |
Dashboard /wp-admin | 3.66 ▲0.35 | 50.14 ▼0.90 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 53.40 ▲3.14 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 90.24 ▼13.41 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 38.14 ▲2.83 |
Add Channel /wp-admin/admin.php?page=evp-add-channel | 3.75 | 37.09 |
YouTube /wp-admin/admin.php?page=evp-youtube | 3.67 | 41.77 |
Channel Import /wp-admin/admin.php?page=evp-channel-import | 3.76 | 37.23 |
API Setup /wp-admin/admin.php?page=evp-api-setup | 3.61 | 35.88 |
Settings /wp-admin/admin.php?page=evp-video-publisher | 3.70 | 33.14 |
Server storage [IO: ▲1.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 301 new files
Database: 3 new tables, 10 new options
New tables |
---|
wp_evp_videos |
wp_queue_failures |
wp_queue_jobs |
New WordPress options |
---|
evp_channels |
evp_youtube_api |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
evp_version |
evp_restricted_categories |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Easy Video Publisher: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 13.26 ▼1.14 | 1.82 ▲0.08 | 40.86 ▼1.08 |
Dashboard /wp-admin | 2,247 ▲56 | 5.85 ▼0.03 | 99.20 ▼9.33 | 40.40 ▼0.84 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.05 ▲0.06 | 38.93 ▼3.16 | 35.98 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,561 ▲47 | 23.29 ▲5.71 | 676.48 ▼9.36 | 56.91 ▼2.73 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.25 ▼0.00 | 99.52 ▼6.12 | 44.56 ▼2.21 |
Add Channel /wp-admin/admin.php?page=evp-add-channel | 956 | 2.20 | 30.50 | 59.58 |
YouTube /wp-admin/admin.php?page=evp-youtube | 1,483 | 5.58 | 109.68 | 61.97 |
Channel Import /wp-admin/admin.php?page=evp-channel-import | 1,271 | 1.90 | 25.14 | 39.16 |
API Setup /wp-admin/admin.php?page=evp-api-setup | 952 | 2.06 | 24.06 | 41.30 |
Settings /wp-admin/admin.php?page=evp-video-publisher | 970 | 2.22 | 24.72 | 39.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_queue_failures
- wp_queue_jobs
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/easy-video-publisher/vendor/symfony/translation/Resources/bin/translation-status.php
- 83× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Translation\\Dumper\\DumperInterface' not found in wp-content/plugins/easy-video-publisher/vendor/symfony/translation/Dumper/FileDumper.php:26
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/easy-video-publisher/vendor/a5hleyrich/wp-queue/tests/TestWorker.php:8
- > PHP Fatal error
Uncaught Error: Class 'VideoPublisherlite\\Database\\WPDb' not found in wp-content/plugins/easy-video-publisher/src/Database/VideosTable.php:5
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Loader\\FileLoader' not found in wp-content/plugins/easy-video-publisher/vendor/symfony/translation/Loader/PhpFileLoader.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_Queue\\Job' not found in wp-content/plugins/easy-video-publisher/src/Post/ChannelImport.php:10
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Dumper\\FileDumper' not found in wp-content/plugins/easy-video-publisher/vendor/symfony/translation/Dumper/CsvFileDumper.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Translation\\TranslatorInterface' not found in wp-content/plugins/easy-video-publisher/vendor/symfony/translation/Translator.php:32
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpKernel\\DataCollector\\DataCollector' not found in wp-content/plugins/easy-video-publisher/vendor/symfony/translation/DataCollector/TranslationDataCollector.php:26
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Extractor\\AbstractFileExtractor' not found in wp-content/plugins/easy-video-publisher/vendor/symfony/translation/Extractor/PhpExtractor.php:22
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Dumper\\FileDumper' not found in wp-content/plugins/easy-video-publisher/vendor/symfony/translation/Dumper/XliffFileDumper.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: youtube, youtube channel, post, thumbnail, youtube embed...
easy-video-publisher/video-publisher.php 69% from 13 tests
The principal PHP file in "Easy Video Publisher" v. 4.0.13 is loaded by WordPress automatically on each request
You should first fix the following items:
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "3.4")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-video-publisher.php" instead of "video-publisher.php")
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Please fix the following items
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/easy-video-publisher/vendor/nesbot/carbon/bin/upgrade-carbon.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 245 | 3,731 | 9,501 | 18,001 |
XSD | 3 | 92 | 48 | 2,803 |
JSON | 9 | 0 | 0 | 917 |
Markdown | 12 | 213 | 0 | 711 |
CSS | 3 | 17 | 2 | 223 |
HTML | 5 | 0 | 0 | 42 |
YAML | 4 | 9 | 0 | 39 |
XML | 2 | 1 | 0 | 35 |
DOS Batch | 1 | 0 | 0 | 4 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please tend to the following items
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 159)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 14.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 263.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 159.00 |
Code structure | ||
---|---|---|
Namespaces | 37 | |
Interfaces | 20 | |
Traits | 3 | |
Classes | 128 | |
▷ Abstract classes | 7 | 5.47% |
▷ Concrete classes | 121 | 94.53% |
▷ Final classes | 5 | 4.13% |
Methods | 1,178 | |
▷ Static methods | 254 | 21.56% |
▷ Public methods | 1,000 | 84.89% |
▷ Protected methods | 95 | 8.06% |
▷ Private methods | 83 | 7.05% |
Functions | 82 | |
▷ Named functions | 53 | 64.63% |
▷ Anonymous functions | 29 | 35.37% |
Constants | 86 | |
▷ Global constants | 3 | 3.49% |
▷ Class constants | 83 | 96.51% |
▷ Public constants | 83 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin