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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▼0.36ms] Passed 4 tests
Server-side resources used by WP SpeedUp
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 47.70 ▲8.31 |
Dashboard /wp-admin | 3.58 ▲0.24 | 53.05 ▼9.79 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 53.72 ▲3.43 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 96.14 ▲0.81 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 40.30 ▲4.11 |
WP SpeedUp (1.4.7) /wp-admin/options-general.php?page=wp_su | 3.52 | 40.91 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
WP SpeedUp: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲232 | 14.69 ▲0.40 | 1.96 ▲0.45 | 43.69 ▲0.67 |
Dashboard /wp-admin | 2,346 ▲165 | 6.19 ▲0.48 | 104.77 ▲10.83 | 37.90 ▼6.54 |
Posts /wp-admin/edit.php | 2,280 ▲180 | 3.40 ▲1.38 | 47.05 ▲1.51 | 31.38 ▼5.73 |
Add New Post /wp-admin/post-new.php | 1,693 ▲157 | 22.14 ▼0.65 | 614.16 ▼9.31 | 27.48 ▼26.72 |
Media Library /wp-admin/upload.php | 1,414 ▲11 | 4.15 ▼0.01 | 78.60 ▼27.67 | 40.77 ▼6.64 |
WP SpeedUp (1.4.7) /wp-admin/options-general.php?page=wp_su | 1,613 | 3.12 | 38.38 | 62.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 13 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp_su
- > Notice in wp-content/plugins/wp-speedup/inc/wpsu_css_settings.php+95
Undefined property: WPSUCSS::$nspace
SRP 50% 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
Almost there! Just fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-speedup/inc/wpsu_settings.php
- > /wp-content/plugins/wp-speedup/inc/functions.php
- > /wp-content/plugins/wp-speedup/index.php
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)
No browser errors were detected
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
8 plugin tags: css speedup, css compress, js speedup, js compress, wp speedup...
wp-speedup/index.php 92% from 13 tests
Analyzing the main PHP file in "WP SpeedUp" version 1.4.7
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-speedup.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin2,662 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 872 | 333 | 1,453 |
PO File | 3 | 273 | 273 | 764 |
CSS | 2 | 39 | 3 | 308 |
JavaScript | 2 | 47 | 8 | 137 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 93.00 |
▷ Minimum class complexity | 93.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/mechanic_with_board.png | 30.96KB | 13.51KB | ▼ 56.36% |