Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/all-in-one-performance-accelerator/includes/smack_cache_disk.php+429
file_put_contents(wp-content/settings/smack-cache/wp.com.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.76MB] [CPU: ▼335.43ms] Passed 4 tests
Server-side resources used by All-in-one Performance Accelerator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.12 ▲1.61 | 22.30 ▼46.11 |
Dashboard /wp-admin | 5.14 ▲1.73 | 20.52 ▼15.78 |
Posts /wp-admin/edit.php | 5.15 ▲1.51 | 20.70 ▼18.23 |
Add New Post /wp-admin/post-new.php | 5.15 ▼1.82 | 21.16 ▼1,261.58 |
Media Library /wp-admin/upload.php | 5.15 ▲1.85 | 19.38 ▼6.51 |
Server storage [IO: ▲9.00MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- Illegal file modification found: 3 files (6.02KB) outside of "wp-content/plugins/all-in-one-performance-accelerator/" and "wp-content/uploads/"
- (modified) .htaccess
- (modified) wp-config.php
- (new file) wp-content/advanced-smack-cache.php
Filesystem: 273 new files
Database: no new tables, 1 new option
New WordPress options |
---|
smack_cache_enhancer |
Browser metrics Passed 4 tests
Checking browser requirements for All-in-one Performance Accelerator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,865 ▲111 | 15.69 ▼0.05 | 5.79 ▼0.86 | 2.86 ▼0.46 |
Dashboard /wp-admin | 2,948 ▲95 | 5.87 ▼0.29 | 118.97 ▼6.17 | 177.62 ▲16.54 |
Posts /wp-admin/edit.php | 2,735 ▲41 | 2.85 ▼0.38 | 57.29 ▼8.44 | 142.10 ▼5.18 |
Add New Post /wp-admin/post-new.php | 1,677 ▼40 | 20.56 ▼0.63 | 399.56 ▼53.03 | 154.39 ▼6.99 |
Media Library /wp-admin/upload.php | 1,747 ▲49 | 5.48 ▼0.06 | 127.64 ▼34.22 | 212.40 ▲17.88 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/all-in-one-performance-accelerator/all-in-one-performance-accelerator.php+85
Undefined index: action
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 54× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/all-in-one-performance-accelerator/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php:7
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/all-in-one-performance-accelerator/vendor/matthiasmullie/minify/src/JS.php:24
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/all-in-one-performance-accelerator/vendor/guzzlehttp/guzzle/src/Exception/SeekException.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/all-in-one-performance-accelerator/vendor/guzzlehttp/psr7/src/AppendStream.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/all-in-one-performance-accelerator/vendor/guzzlehttp/psr7/src/CachingStream.php:10
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/all-in-one-performance-accelerator/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:7
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/all-in-one-performance-accelerator/vendor/guzzlehttp/promises/src/TaskQueue.php:13
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/all-in-one-performance-accelerator/vendor/matthiasmullie/minify/src/Exceptions/BasicException.php:21
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/all-in-one-performance-accelerator/vendor/matthiasmullie/path-converter/src/NoConverter.php:14
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/all-in-one-performance-accelerator/classes/Gzip-compression.php on line 9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (Site informations.), #2 (site status.), #3 (File Optimization.), #4 (Media Section.), #5 (Database Optimization.), #6 (Preload), #7 (Image Optimization.), #8 (Cache), #9 (Advanced Rules), #10 (Tools)
all-in-one-performance-accelerator/all-in-one-performance-accelerator.php 92% from 13 tests
The main PHP script in "All-in-one Performance Accelerator" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin31,501 lines of code in 203 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 162 | 5,766 | 9,966 | 24,790 |
Markdown | 16 | 1,084 | 0 | 3,375 |
CSS | 5 | 260 | 116 | 1,935 |
JSON | 12 | 0 | 0 | 1,053 |
JavaScript | 4 | 34 | 225 | 287 |
YAML | 1 | 0 | 0 | 31 |
Dockerfile | 2 | 10 | 0 | 21 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 27.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 259.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 16 | |
Traits | 2 | |
Classes | 121 | |
▷ Abstract classes | 4 | 3.31% |
▷ Concrete classes | 117 | 96.69% |
▷ Final classes | 16 | 13.68% |
Methods | 1,421 | |
▷ Static methods | 338 | 23.79% |
▷ Public methods | 1,126 | 79.24% |
▷ Protected methods | 83 | 5.84% |
▷ Private methods | 212 | 14.92% |
Functions | 225 | |
▷ Named functions | 112 | 49.78% |
▷ Anonymous functions | 113 | 50.22% |
Constants | 144 | |
▷ Global constants | 66 | 45.83% |
▷ Class constants | 78 | 54.17% |
▷ Public constants | 78 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
43 PNG files occupy 1.42MB with 0.42MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/file/application.png | 0.45KB | 0.52KB | 0.00% |
assets/css/images/formula.png | 0.84KB | 1.00KB | 0.00% |
assets/css/images/file/old/folder_open.png | 0.57KB | 0.60KB | 0.00% |
screenshot-2.png | 181.29KB | 47.10KB | ▼ 74.02% |
screenshot-4.png | 76.32KB | 20.89KB | ▼ 72.63% |