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
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.76ms] Passed 4 tests
Analyzing server-side resources used by Video Block with Ads
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.99 ▼0.60 |
Dashboard /wp-admin | 3.37 ▲0.07 | 50.05 ▼5.00 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 55.62 ▲0.66 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.52 ▼12.00 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.54 ▼1.45 |
Video Player /wp-admin/options-general.php?page=vbwa_settings | 3.26 | 34.82 |
Server storage [IO: ▲2.44MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Video Block with Ads: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.24 ▲0.03 | 1.67 ▼0.30 | 45.67 ▼2.37 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▼0.01 | 90.65 ▼7.57 | 38.04 ▼5.89 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▲0.02 | 45.14 ▲3.25 | 35.47 ▲0.16 |
Add New Post /wp-admin/post-new.php | 6,195 ▲4,660 | 19.06 ▲0.88 | 946.38 ▲260.44 | 51.42 ▼9.97 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.25 ▼0.04 | 112.59 ▲9.47 | 48.27 ▲4.44 |
Video Player /wp-admin/options-general.php?page=vbwa_settings | 953 | 2.13 | 22.56 | 33.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: block, vast, ads, video, vpaid...
video-block-with-ads/plugin.php 92% from 13 tests
"Video Block with Ads" version 0.71's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("video-block-with-ads.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin38,054 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 9,631 | 17,672 | 30,591 |
JSON | 2 | 0 | 0 | 6,885 |
PHP | 4 | 60 | 29 | 333 |
CSS | 8 | 46 | 6 | 232 |
Sass | 2 | 1 | 1 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin