Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/sidevideoembed/sidevideoembed.php+142
Function create_function() is deprecated
Server metrics [RAM: ▼1.89MB] [CPU: ▼189.43ms] Passed 4 tests
This is a short check of server-side resources used by SideVideoEmbed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.74 ▼0.98 | 6.05 ▼12.93 |
Dashboard /wp-admin | 1.76 ▼1.29 | 5.68 ▼37.32 |
Posts /wp-admin/edit.php | 1.76 ▼1.35 | 4.97 ▼40.04 |
Add New Post /wp-admin/post-new.php | 1.76 ▼3.67 | 5.19 ▼647.32 |
Media Library /wp-admin/upload.php | 1.76 ▼1.25 | 5.96 ▼33.05 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_syt_plugin |
Browser metrics Passed 4 tests
A check of browser resources used by SideVideoEmbed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲102 | 15.76 ▲0.12 | 8.13 ▼0.56 | 48.59 ▲1.24 |
Dashboard /wp-admin | 2,973 ▲39 | 5.87 ▼0.14 | 131.61 ▼35.62 | 115.11 ▲5.46 |
Posts /wp-admin/edit.php | 2,742 ▲3 | 2.70 ▲0.01 | 62.00 ▼5.72 | 96.31 ▲8.04 |
Add New Post /wp-admin/post-new.php | 1,502 ▼181 | 18.57 ▼0.24 | 362.86 ▼12.57 | 120.99 ▲9.59 |
Media Library /wp-admin/upload.php | 1,813 ▲3 | 5.05 ▲0.06 | 144.23 ▼10.32 | 117.93 ▼2.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/sidevideoembed/sidevideoembed.php+142
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 1 option
- widget_syt_plugin
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sidevideoembed/sidevideoembed.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: iframe, sidebar, simple, vimeo, youtube...
sidevideoembed/sidevideoembed.php Passed 13 tests
The entry point to "SideVideoEmbed" version 1.1.0 is a PHP file that has certain tags in its header comment area
26 characters long description:
Sidebar Video embed plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin275 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 14 | 27 | 104 |
PO File | 3 | 48 | 105 | 93 |
CSS | 2 | 0 | 0 | 78 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.15MB with 0.10MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 153.34KB | 49.47KB | ▼ 67.74% |