Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.00ms] Passed 4 tests
Server-side resources used by ScaleEngine Virtual Usher
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 47.80 ▲1.88 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.29 ▼4.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.92 ▲3.20 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.14 ▼4.80 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.09 ▼0.39 |
SEVU /wp-admin/options-general.php?page=sevu | 3.20 | 31.44 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
sevu_api_address |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by ScaleEngine Virtual Usher
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.33 ▼1.21 | 1.78 ▼0.25 | 42.01 ▼9.55 |
Dashboard /wp-admin | 2,207 ▲19 | 4.86 ▼0.02 | 110.22 ▼2.19 | 41.62 ▼6.17 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▼0.02 | 40.21 ▼1.17 | 35.58 ▼0.33 |
Add New Post /wp-admin/post-new.php | 1,537 ▲3 | 23.08 ▼0.02 | 637.87 ▼51.35 | 72.25 ▲4.05 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.19 ▼0.06 | 94.73 ▼21.36 | 42.46 ▼7.23 |
SEVU /wp-admin/options-general.php?page=sevu | 845 | 2.06 | 23.49 | 31.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- sevu_api_address
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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scaleengine-sevu-video-security/sevu_options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scaleengine-sevu-video-security/scaleengine-sevu-video-security.php:25
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: security, sevu, video, scaleengine, virtual usher
scaleengine-sevu-video-security/scaleengine-sevu-video-security.php Passed 13 tests
The principal PHP file in "ScaleEngine Virtual Usher" v. 1.3.0 is loaded by WordPress automatically on each request
62 characters long description:
Embeds video player using the ScaleEngine Virtual Usher system
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 plugin172 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 31 | 56 | 172 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.67 |
▷ 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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 33.33% |
Functions | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin