Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼0.37ms] Passed 4 tests
A check of server-side resources used by My WP Fast
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 50.09 ▲12.86 |
Dashboard /wp-admin | 3.57 ▲0.22 | 57.14 ▼6.00 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 51.84 ▲6.75 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 92.04 ▼10.73 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 42.43 ▲8.52 |
Server storage [IO: ▲0.44MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 50 new files
Database: 1 new table, 6 new options
New tables |
---|
make_faster |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by My WP Fast
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲55 | 14.34 ▼0.01 | 1.87 ▲0.16 | 42.29 ▼0.34 |
Dashboard /wp-admin | 2,207 ▲27 | 5.62 ▼0.05 | 95.95 ▲7.11 | 44.00 ▲3.65 |
Posts /wp-admin/edit.php | 2,112 ▲33 | 2.02 ▼0.01 | 37.26 ▲1.45 | 33.49 ▼5.79 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.73 ▲0.30 | 615.78 ▲21.57 | 59.47 ▲0.29 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.25 ▲0.07 | 103.74 ▲0.40 | 42.19 ▼8.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- make_faster
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/my-wp-fast/index.php
- > /wp-content/plugins/my-wp-fast/templates/config.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/my-wp-fast/vendor/matthiasmullie/minify/src/Exceptions/FileImportException.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/my-wp-fast/vendor/matthiasmullie/minify/src/CSS.php:29
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/my-wp-fast/vendor/matthiasmullie/path-converter/src/NoConverter.php:14
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/my-wp-fast/vendor/matthiasmullie/minify/src/Exceptions/IOException.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/my-wp-fast/vendor/matthiasmullie/minify/src/JS.php:24
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/my-wp-fast/vendor/matthiasmullie/minify/src/Exceptions/BasicException.php:21
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/my-wp-fast/vendor/matthiasmullie/path-converter/src/Converter.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in my-wp-fast/assets to your readme.txt
- Contributors: Plugin contributors field is missing
my-wp-fast/index.php 92% from 13 tests
Analyzing the main PHP file in "My WP Fast" version 1.0.0
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("my-wp-fast.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected3,023 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 460 | 1,225 | 2,173 |
JavaScript | 3 | 114 | 258 | 386 |
CSS | 2 | 1 | 0 | 198 |
JSON | 4 | 0 | 0 | 186 |
Markdown | 1 | 21 | 0 | 38 |
YAML | 1 | 0 | 0 | 31 |
Dockerfile | 1 | 2 | 0 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 17.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 3 | 23.08% |
▷ Concrete classes | 10 | 76.92% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 3 | 2.86% |
▷ Public methods | 67 | 63.81% |
▷ Protected methods | 37 | 35.24% |
▷ Private methods | 1 | 0.95% |
Functions | 31 | |
▷ Named functions | 10 | 32.26% |
▷ Anonymous functions | 21 | 67.74% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.25MB with 0.14MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/clear.png | 39.59KB | 16.80KB | ▼ 57.56% |
assets/space.png | 61.23KB | 25.81KB | ▼ 57.85% |
assets/loading.png | 56.63KB | 23.07KB | ▼ 59.26% |
assets/files.png | 97.04KB | 41.07KB | ▼ 57.67% |