Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.84MB] [CPU: ▲0.44ms] Passed 4 tests
This is a short check of server-side resources used by Aruba HiSpeed Cache
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.32 ▲0.86 | 45.16 ▲1.23 |
Dashboard /wp-admin | 4.15 ▲0.81 | 53.46 ▼2.61 |
Posts /wp-admin/edit.php | 4.20 ▲0.85 | 60.96 ▲15.21 |
Add New Post /wp-admin/post-new.php | 6.75 ▲0.86 | 96.30 ▼7.90 |
Media Library /wp-admin/upload.php | 4.08 ▲0.85 | 46.08 ▲11.04 |
Aruba HiSpeed Cache /wp-admin/options-general.php?page=aruba-hispeed-cache | 4.08 | 79.08 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 78 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Aruba HiSpeed Cache
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲113 | 13.21 ▼1.12 | 1.57 ▼0.70 | 41.15 ▼1.45 |
Dashboard /wp-admin | 2,251 ▲60 | 4.88 ▼0.99 | 101.42 ▼4.80 | 39.05 ▼3.04 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.02 ▼0.04 | 39.83 ▼1.00 | 35.81 ▼3.80 |
Add New Post /wp-admin/post-new.php | 1,566 ▲43 | 18.09 ▼5.02 | 634.68 ▲41.25 | 55.46 ▲3.14 |
Media Library /wp-admin/upload.php | 1,433 ▲45 | 4.24 ▼0.07 | 99.87 ▲4.51 | 43.22 ▲1.61 |
Aruba HiSpeed Cache /wp-admin/options-general.php?page=aruba-hispeed-cache | 1,113 | 8.21 | 181.97 | 47.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/aruba-hispeed-cache/app/views/admin/partials/admin-tab-speedTest.php
- > /wp-content/plugins/aruba-hispeed-cache/app/views/admin/partials/admin-tab-custom.php
- 39× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Trait 'ArubaSPA\\HiSpeedCache\\Traits\\Instance' not found in wp-content/plugins/aruba-hispeed-cache/app/src/Admin/SiteHealth.php on line 24
- > PHP Fatal error
Trait 'ArubaSPA\\HiSpeedCache\\Traits\\HasContainer' not found in wp-content/plugins/aruba-hispeed-cache/app/src/Events/AbstractEvents.php on line 25
- > PHP Fatal error
Uncaught Error: Class 'ArubaSPA\\HiSpeedCache\\Events\\AbstractEvents' not found in wp-content/plugins/aruba-hispeed-cache/app/src/Events/Deferred/PurgeProxyCacheInDeferredMode.php:37
- > PHP Fatal error
Uncaught Error: Class 'ArubaSPA\\HiSpeedCache\\Events\\Plugins\\AbstractPluginEvent' not found in wp-content/plugins/aruba-hispeed-cache/app/src/Events/Plugins/PurgeProxyCacheOnActivatedPlugin.php:39
- > PHP Fatal error
Trait 'ArubaSPA\\HiSpeedCache\\Traits\\Instance' not found in wp-content/plugins/aruba-hispeed-cache/app/src/Admin/AdminNotice.php on line 25
- > PHP Fatal error
Uncaught Error: Class 'ArubaSPA\\HiSpeedCache\\Events\\AbstractEvents' not found in wp-content/plugins/aruba-hispeed-cache/app/src/Events/Term/PurgeProxyCacheOnDeleteTerm.php:37
- > PHP Fatal error
Trait 'ArubaSPA\\HiSpeedCache\\Traits\\Instance' not found in wp-content/plugins/aruba-hispeed-cache/app/src/CacheWarmer/Ajax/CacheWarmer.php on line 26
- > PHP Fatal error
Trait 'ArubaSPA\\HiSpeedCache\\Traits\\Instance' not found in wp-content/plugins/aruba-hispeed-cache/app/src/Core/Requirements.php on line 27
- > PHP Fatal error
Uncaught Error: Class 'ArubaSPA\\HiSpeedCache\\Events\\AbstractEvents' not found in wp-content/plugins/aruba-hispeed-cache/app/src/Events/Term/PurgeProxyCacheOnEditTerm.php:37
- > PHP Fatal error
Uncaught Error: Class 'ArubaSPA\\HiSpeedCache\\Events\\AbstractEvents' not found in wp-content/plugins/aruba-hispeed-cache/app/src/Events/BulkActionManager.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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
10 plugin tags: pagespeed, cache, optimize, caching, wp cache...
aruba-hispeed-cache/aruba-hispeed-cache.php 85% from 13 tests
The main file in "Aruba HiSpeed Cache" v. 2.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin4,141 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 63 | 1,138 | 3,589 | 3,937 |
JavaScript | 3 | 23 | 3 | 143 |
CSS | 3 | 12 | 0 | 61 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 44 | |
▷ Abstract classes | 3 | 6.82% |
▷ Concrete classes | 41 | 93.18% |
▷ Final classes | 4 | 9.76% |
Methods | 294 | |
▷ Static methods | 27 | 9.18% |
▷ Public methods | 274 | 93.20% |
▷ Protected methods | 4 | 1.36% |
▷ Private methods | 16 | 5.44% |
Functions | 26 | |
▷ Named functions | 14 | 53.85% |
▷ Anonymous functions | 12 | 46.15% |
Constants | 25 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 25 | 100.00% |
▷ Public constants | 25 | 100.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.05MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
app/assets/imgs/icon-256x256.png | 55.21KB | 30.81KB | ▼ 44.20% |