Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▲7.85ms] Passed 4 tests
Analyzing server-side resources used by Fast Velocity Minify
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.47 ▲1.01 | 54.69 ▲11.58 |
Dashboard /wp-admin | 3.78 ▲0.48 | 61.51 ▲11.42 |
Posts /wp-admin/edit.php | 3.87 ▲0.51 | 64.22 ▲11.49 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 96.96 ▼1.37 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 46.28 ▲9.86 |
Fast Velocity Minify /wp-admin/options-general.php?page=fvm | 3.79 | 45.71 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please try to fix the following items
- The plugin illegally modified 1 file (0.00KB) outside of "wp-content/plugins/fast-velocity-minify/" and "wp-content/uploads/"
- (new file) wp-content/cache/fvm/min/.empty
Filesystem: 53 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_fvm_cache |
wp_fvm_logs |
New WordPress options |
---|
fvm_plugin_meta |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Fast Velocity Minify
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲38 | 14.72 ▼0.01 | 1.71 ▼0.10 | 45.24 ▲4.62 |
Dashboard /wp-admin | 2,216 ▲42 | 5.50 ▼0.15 | 88.82 ▼1.48 | 40.71 ▼1.69 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.05 ▲0.03 | 38.93 ▼2.76 | 33.81 ▼8.57 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 23.36 ▲0.30 | 648.08 ▲5.54 | 52.47 ▼2.94 |
Media Library /wp-admin/upload.php | 1,424 ▲27 | 4.16 ▼0.01 | 112.93 ▼1.96 | 48.70 ▲6.28 |
Fast Velocity Minify /wp-admin/options-general.php?page=fvm | 1,666 | 1.77 | 31.75 | 54.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/fast-velocity-minify/inc/common.php+677
rmdir(wp-content/cache/fvm/min): Directory not empty
- The uninstall procedure has failed, leaving 7 options in the database
- fvm_plugin_meta
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'FVM\\MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/fast-velocity-minify/libs/matthiasmullie/path-converter/src/NoConverter.php:14
- > PHP Fatal error
Uncaught Error: Class 'FVM\\MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/fast-velocity-minify/libs/matthiasmullie/minify/src/Exceptions/BasicException.php:22
- > PHP Notice
Undefined variable: active_tab in wp-content/plugins/fast-velocity-minify/layout/admin-layout-help.php on line 1
- > PHP Notice
Undefined variable: active_tab in wp-content/plugins/fast-velocity-minify/layout/admin-layout-status.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'FVM\\MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/fast-velocity-minify/libs/matthiasmullie/minify/src/Exceptions/FileImportException.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fast-velocity-minify/layout/admin-layout.php:11
- > PHP Notice
Undefined variable: active_tab in wp-content/plugins/fast-velocity-minify/layout/admin-layout-upgrade.php on line 1
- > PHP Notice
Undefined variable: active_tab in wp-content/plugins/fast-velocity-minify/layout/admin-layout-settings.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'FVM\\MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/fast-velocity-minify/libs/matthiasmullie/minify/src/JS.php:25
- > PHP Fatal error
Uncaught Error: Interface 'FVM\\MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/fast-velocity-minify/libs/matthiasmullie/path-converter/src/Converter.php:19
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
fast-velocity-minify/fvm.php 77% from 13 tests
The main file in "Fast Velocity Minify" v. 3.4.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("fast-velocity-minify.php" instead of "fvm.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 192 characters long)
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.2" instead of "7.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin6,124 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 1,839 | 2,258 | 6,057 |
CSS | 1 | 2 | 3 | 48 |
JavaScript | 1 | 7 | 5 | 16 |
Markdown | 1 | 0 | 0 | 3 |
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.56 |
Average class complexity | 38.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 250.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 3 | 25.00% |
▷ Concrete classes | 9 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 144 | |
▷ Static methods | 2 | 1.39% |
▷ Public methods | 93 | 64.58% |
▷ Protected methods | 51 | 35.42% |
▷ Private methods | 0 | 0.00% |
Functions | 109 | |
▷ Named functions | 95 | 87.16% |
▷ Anonymous functions | 14 | 12.84% |
Constants | 25 | |
▷ Global constants | 24 | 96.00% |
▷ Class constants | 1 | 4.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ui-icons_555555_256x240.png | 6.84KB | 4.18KB | ▼ 38.84% |
assets/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |
assets/images/ui-icons_ffffff_256x240.png | 6.17KB | 4.18KB | ▼ 32.17% |