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.00MB] [CPU: ▼6.68ms] Passed 4 tests
This is a short check of server-side resources used by CLUEVO LMS Extension: Video Tutorial Manager for YouTube (and other oEmbed providers)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.55 ▲2.11 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.78 ▼12.53 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.38 ▼4.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.51 ▼7.65 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.41 ▼2.17 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CLUEVO LMS Extension: Video Tutorial Manager for YouTube (and other oEmbed providers)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.19 ▼0.56 | 1.68 ▲0.08 | 39.07 ▼3.26 |
Dashboard /wp-admin | 2,195 ▲18 | 5.59 ▼0.10 | 109.18 ▲17.68 | 41.98 ▼1.58 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.02 ▼0.09 | 33.69 ▼9.38 | 28.80 ▼11.50 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.35 ▼0.15 | 686.62 ▼9.71 | 61.22 ▲7.47 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.23 ▲0.01 | 101.83 ▼8.51 | 43.05 ▼5.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cluevo-lms-extension-oembed-modules/cluevo-lms-extension-oembed-modules.php:300
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
cluevo-lms-extension-oembed-modules/cluevo-lms-extension-oembed-modules.php 77% from 13 tests
The main file in "CLUEVO LMS Extension: Video Tutorial Manager for YouTube (and other oEmbed providers)" v. 1.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("4.6" instead of "1.11.0")
- Plugin Name: A shorter plugin name is better (currently 85 characters long instead of max. 70)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected490 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 14 | 277 |
PO File | 2 | 44 | 76 | 128 |
JavaScript | 1 | 4 | 1 | 85 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 48.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 4.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 14 | 100.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/WordPress-EXTENSION_VTM_ICON_256x256.png | 5.38KB | 3.65KB | ▼ 32.12% |