Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.23ms] Passed 4 tests
An overview of server-side resources used by Revo Video
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.99 ▲1.55 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.58 ▲1.03 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.93 ▲2.46 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.99 ▼13.96 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 41.33 ▲8.84 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Revo Video
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,290 ▲555 | 19.37 ▲4.74 | 94.17 ▲92.47 | 244.28 ▲197.35 |
Dashboard /wp-admin | 2,204 ▲16 | 4.94 ▼0.92 | 98.45 ▼6.49 | 75.56 ▲29.89 |
Posts /wp-admin/edit.php | 2,108 ▲16 | 1.98 ▼0.03 | 35.01 ▼6.84 | 32.57 ▼3.28 |
Add New Post /wp-admin/post-new.php | 1,679 ▲160 | 21.71 ▼1.39 | 705.89 ▲49.99 | 57.66 ▲6.34 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.21 ▲0.02 | 98.01 ▼3.94 | 78.96 ▲32.21 |
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 were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/revo-video/templates/error.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'PhpCsFixer\\Finder' not found in wp-content/plugins/revo-video/vendor/curl/curl/.php-cs-fixer.dist.php:3
- > PHP Fatal error
Uncaught Error: Class 'RevoVideo\\RevoApiCall' not found in wp-content/plugins/revo-video/templates/admin.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: revo, revo-video, shoppable video
revo-video/revo-video.php Passed 13 tests
The primary PHP file in "Revo Video" version 2.0.0 is used by WordPress to initiate all plugin functionality
54 characters long description:
This plugin helps you connect your store to Revo Video
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,868 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 380 | 876 | 1,499 |
JSON | 3 | 0 | 0 | 128 |
Markdown | 2 | 47 | 0 | 123 |
CSS | 1 | 19 | 13 | 118 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 11.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 103 | |
▷ Static methods | 26 | 25.24% |
▷ Public methods | 92 | 89.32% |
▷ Protected methods | 3 | 2.91% |
▷ Private methods | 8 | 7.77% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 21 | |
▷ Global constants | 14 | 66.67% |
▷ Class constants | 7 | 33.33% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin