Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼3.31ms] Passed 4 tests
This is a short check of server-side resources used by Meks Video Importer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.09 ▲0.85 |
Dashboard /wp-admin | 3.61 ▲0.31 | 51.32 ▼0.07 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 50.52 ▼0.37 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 88.77 ▼13.64 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 47.06 ▲12.74 |
Meks Video Importer /wp-admin/tools.php?page=meks_video_importer | 3.37 | 251.51 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Meks Video Importer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.14 | 2.06 ▲0.04 | 43.59 ▲2.57 |
Dashboard /wp-admin | 2,202 ▲28 | 5.57 ▼0.10 | 92.68 ▲5.48 | 39.49 ▼5.26 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.07 | 40.39 ▲1.99 | 35.15 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.99 ▼0.53 | 658.78 ▲21.14 | 59.91 ▲0.97 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.22 ▲0.01 | 100.21 ▲0.65 | 46.43 ▼1.93 |
Meks Video Importer /wp-admin/tools.php?page=meks_video_importer | 913 | 2.06 | 23.87 | 29.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 take a closer look at the following
- 17× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/meks-video-importer/includes/class.meks-video-importer-list-table.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/meks-video-importer/partials/fetch.php:1
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/meks-video-importer/includes/class.meks-video-importer-list-table.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function meks_video_importer_get_import_options() in wp-content/plugins/meks-video-importer/partials/vimeo.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/meks-video-importer/includes/class.meks-video-importer-import.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/meks-video-importer/partials/templates.php:1
- > PHP Fatal error
Uncaught Error: Class 'Meks_Video_Importer_Youtube' not found in wp-content/plugins/meks-video-importer/partials/youtube-settings.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/meks-video-importer/partials/tabs.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/meks-video-importer/partials/title.php:3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/image.php): failed to open stream: No such file or directory in wp-content/plugins/meks-video-importer/includes/class.meks-video-importer-import.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in meks-video-importer/assets to your readme.txt
meks-video-importer/meks-video-importer.php Passed 13 tests
"Meks Video Importer" version 1.0.11's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
92 characters long description:
Easily import YouTube and Vimeo videos in bulk to your posts, pages or any custom post type.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin2,353 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 468 | 719 | 1,830 |
JavaScript | 2 | 135 | 176 | 408 |
CSS | 1 | 20 | 3 | 100 |
PO File | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 2 | 25.00% |
Methods | 84 | |
▷ Static methods | 7 | 8.33% |
▷ Public methods | 51 | 60.71% |
▷ Protected methods | 2 | 2.38% |
▷ Private methods | 31 | 36.90% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 are no PNG files in this plugin