Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.40ms] Passed 4 tests
This is a short check of server-side resources used by Fast WP Speed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.49 ▼2.67 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.48 ▲1.21 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.08 ▲2.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.51 ▼13.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.47 ▲1.04 |
Server storage [IO: ▲11.75MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 108 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Fast WP Speed: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.14 ▼1.24 | 4.99 ▲3.12 | 43.31 ▲0.99 |
Dashboard /wp-admin | 2,218 ▲30 | 5.88 ▲0.97 | 104.54 ▼13.46 | 37.22 ▼8.81 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.01 ▲0.00 | 36.05 ▼0.97 | 34.18 ▼1.13 |
Add New Post /wp-admin/post-new.php | 1,529 ▲12 | 23.21 ▲5.52 | 643.55 ▲3.85 | 46.20 ▼6.85 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.25 ▲0.05 | 91.99 ▼6.34 | 42.18 ▼2.33 |
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
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
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
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/fast-wp-speed/section-mobile.php
- > /wp-content/plugins/fast-wp-speed/header.php
- > /wp-content/plugins/fast-wp-speed/form.php
- > /wp-content/plugins/fast-wp-speed/index.php
- > /wp-content/plugins/fast-wp-speed/footer.php
- > /wp-content/plugins/fast-wp-speed/section-desktop.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: fwps_google_api in wp-content/plugins/fast-wp-speed/footer.php on line 2
- > PHP Notice
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 83% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: first input delay, largest contentful paint, cumulative layout shift, core web vitals, wp rocket
fast-wp-speed/fastwpspeed.php 62% from 13 tests
The main file in "Fast WP Speed" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Requires PHP: The required version number did not match the one declared in readme.txt ("5.2.4" instead of "7.2")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("fast-wp-speed.php" instead of "fastwpspeed.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.6" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin77,352 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 33 | 11,802 | 203 | 42,993 |
JavaScript | 12 | 7,252 | 5,059 | 24,309 |
SVG | 11 | 0 | 0 | 9,649 |
PHP | 8 | 44 | 24 | 401 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.17MB with 0.11MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/wpfast_screenshot.png | 176.77KB | 67.35KB | ▼ 61.90% |