Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/speed-up-page-cache/include/config-manager.php+110
file_put_contents(wp-content/cache/speed-up-page-cache/config.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.28MB] [CPU: ▼8.05ms] Passed 4 tests
Server-side resources used by Speed Up - Page Cache
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 43.70 ▼3.00 |
Dashboard /wp-admin | 3.58 ▲0.28 | 49.29 ▼5.58 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 46.61 ▼0.52 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.39 | 79.09 ▼22.22 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 34.54 ▼1.38 |
Page Cache /wp-admin/options-general.php?page=speed-up-page-cache | 3.44 | 33.58 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- Illegal file modification detected: 3 files (5.86KB) outside of "wp-content/plugins/speed-up-page-cache/" and "wp-content/uploads/"
- (modified) .htaccess
- (new file) wp-content/advanced-cache.php
- (modified) wp-config.php
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Speed Up - Page Cache
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲100 | 14.61 ▲0.28 | 2.07 ▲0.32 | 43.58 ▼4.39 |
Dashboard /wp-admin | 2,222 ▲51 | 5.65 ▲0.03 | 84.49 ▼17.84 | 44.78 ▲4.52 |
Posts /wp-admin/edit.php | 2,124 ▲21 | 2.01 ▼0.02 | 37.32 ▼2.75 | 34.70 ▼2.31 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.07 ▼0.54 | 698.34 ▲47.60 | 55.65 ▼24.28 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.22 ▲0.04 | 101.04 ▼2.15 | 44.48 ▼4.39 |
Page Cache /wp-admin/options-general.php?page=speed-up-page-cache | 962 | 2.16 | 22.76 | 30.19 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 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
10 plugin tags: optimize, performance, front-end optimization, cache, caching...
speed-up-page-cache/speed-up-page-cache.php Passed 13 tests
"Speed Up - Page Cache" version 1.0.20's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
29 characters long description:
A simple page caching plugin.
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 plugin1,128 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 291 | 739 | 1,128 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 21.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 29 | 38.67% |
▷ Public methods | 56 | 74.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 25.33% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 13 | |
▷ Global constants | 1 | 7.69% |
▷ Class constants | 12 | 92.31% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected