Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.03MB] [CPU: ▼144.84ms] Passed 4 tests
Analyzing server-side resources used by AIO Cache & Performance
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.54 ▼0.18 | 14.47 ▼4.25 |
Dashboard /wp-admin | 3.09 ▲0.03 | 34.99 ▼11.62 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 41.97 ▲0.37 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 89.34 ▼563.85 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 33.08 ▲0.90 |
PHP Expires Headers /wp-admin/admin.php?page=aio-cache-phpexpheaders | 2.98 | 23.38 |
AIO Cache /wp-admin/admin.php?page=aio-cache-menu | 3.00 | 29.56 |
PRO VERSION /wp-admin/admin.php?page=aio-cache-go-pro | 3.00 | 31.31 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
AIO Cache & Performance: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,741 ▲145 | 15.83 ▲0.22 | 11.38 ▲0.03 | 48.57 ▲2.52 |
Dashboard /wp-admin | 3,001 ▲67 | 5.93 ▼0.03 | 131.89 ▼7.56 | 129.64 ▲19.66 |
Posts /wp-admin/edit.php | 2,778 ▲39 | 2.60 ▼0.12 | 59.01 ▼5.93 | 91.23 ▼13.69 |
Add New Post /wp-admin/post-new.php | 1,712 ▲42 | 18.73 ▼0.42 | 361.68 ▼19.24 | 113.61 ▲1.29 |
Media Library /wp-admin/upload.php | 1,860 ▲53 | 5.03 ▼0.03 | 124.28 ▼17.59 | 148.60 ▲39.35 |
PHP Expires Headers /wp-admin/admin.php?page=aio-cache-phpexpheaders | 1,096 | 2.09 | 48.07 | 66.96 |
AIO Cache /wp-admin/admin.php?page=aio-cache-menu | 1,094 | 2.09 | 49.74 | 69.36 |
PRO VERSION /wp-admin/admin.php?page=aio-cache-go-pro | 1,101 | 2.06 | 51.72 | 75.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=aio-cache-phpexpheaders
- > Notice in wp-content/plugins/aio-cache/resources/cachehead/aio-cachehead.php+31
Undefined index: phpch_value
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
Almost there! Just fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aio-cache/aio.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aio-cache/resources/cachehead/aio-cachehead.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aio-cache/resources/compression/aio-compression.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aio-cache/resources/footscripts/aio-footscripts.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aio-cache-go-pro
- > Network (severe)
http://www.adamsassets.com/paypal-donate.jpg - Failed to load resource: the server responded with a status of 404 (Not 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:
- Tags: Please delete some tags, you are using 57 tag instead of maximum 10
aio-cache/aio.php 92% from 13 tests
The main PHP script in "AIO Cache & Performance" version 2.5 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("aio-cache.php" instead of "aio.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Please fix the following items
- Do not distribute dangerous files with your plugin
- .url - Internet Shortcut in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/aio-cache/CLICK HERE TO DONATE.url
- .url - Internet Shortcut in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 24 | 20 | 109 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin