Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/vmv-preloader/vmv/vmv-activate.php+32
Undefined index: previewIdPage
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.09ms] Passed 4 tests
A check of server-side resources used by VMV Preloader
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.98 ▲2.62 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.81 ▼2.21 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.43 ▼4.14 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.16 ▼19.22 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.08 ▲1.23 |
Server storage [IO: ▲0.66MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
vmv_preloader_settings |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
VMV Preloader: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 13.34 ▼1.09 | 1.87 ▲0.01 | 44.35 ▼0.97 |
Dashboard /wp-admin | 2,221 ▲30 | 5.86 ▲0.94 | 101.96 ▲1.92 | 38.34 ▼5.38 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.06 ▲0.05 | 36.06 ▼5.49 | 33.63 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,555 ▲13 | 18.48 ▲0.44 | 638.56 ▼8.15 | 57.02 ▼4.28 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.28 ▲0.05 | 98.64 ▼9.55 | 44.05 ▼4.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- vmv_preloader_settings
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Jaybizzle\\CrawlerDetect\\Fixtures\\AbstractProvider' not found in wp-content/plugins/vmv-preloader/CrawlerDetect/src/Fixtures/Exclusions.php:14
- > PHP Fatal error
Uncaught Error: Class 'Jaybizzle\\CrawlerDetect\\Fixtures\\AbstractProvider' not found in wp-content/plugins/vmv-preloader/CrawlerDetect/src/Fixtures/Headers.php:14
- > PHP Fatal error
Uncaught Error: Class 'Jaybizzle\\CrawlerDetect\\Fixtures\\AbstractProvider' not found in wp-content/plugins/vmv-preloader/CrawlerDetect/src/Fixtures/Crawlers.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: preloader, site preloader, preload, svg, light...
vmv-preloader/vmv-preloader.php Passed 13 tests
The principal PHP file in "VMV Preloader" v. 1.3.1 is loaded by WordPress automatically on each request
54 characters long description:
Add to your site modern preloader with cool animation.
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
Good job! No executable or dangerous file extensions detected3,070 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 136 | 192 | 2,132 |
JSON | 13 | 0 | 0 | 882 |
JavaScript | 5 | 9 | 0 | 54 |
CSS | 1 | 0 | 0 | 1 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 3.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 5 | 29.41% |
▷ Class constants | 12 | 70.59% |
▷ Public constants | 12 | 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