Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.00ms] Passed 4 tests
An overview of server-side resources used by Advanced WPPerformance
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 30.35 ▼13.90 |
Dashboard /wp-admin | 3.41 ▲0.10 | 44.57 ▼12.09 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 45.56 ▼0.37 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 87.29 ▼1.63 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.50 ▲4.46 |
Asset Delivery /wp-admin/admin.php?page=awpp-assets | 3.30 | 33.72 |
Basics /wp-admin/admin.php?page=advanced-wpperformance | 3.30 | 33.04 |
Server Settings /wp-admin/admin.php?page=awpp-server | 3.30 | 33.08 |
Server storage [IO: ▲0.30MB] [DB: ▲0.08MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- There were 29 files (550.73KB) illegally modified outside of "wp-content/plugins/advanced-wpperformance/" and "wp-content/uploads/"
- (new file) wp-content/cache/awpp/css/8f6f69a0.css
- (new file) wp-content/cache/awpp/css/9cf648b8.css
- (new file) wp-content/cache/awpp/css/76171687.css
- (new file) wp-content/cache/awpp/css/78f4485e.css
- (new file) wp-content/cache/awpp/css/b73fc866.css
- (new file) wp-content/cache/awpp/critical/.empty
- (new file) wp-content/cache/awpp/css/abe2a7eb.css
- (new file) wp-content/cache/awpp/css/a4f7005c.css
- (new file) wp-content/cache/awpp/css/a547c212.css
- (new file) wp-content/cache/awpp/css/3295e119.css
- ...
Filesystem: 59 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
awpp_data |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced WPPerformance
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,996 ▲261 | 13.79 ▼0.60 | 7.81 ▲6.13 | 32.97 ▼13.51 |
Dashboard /wp-admin | 2,294 ▲106 | 5.05 ▼0.86 | 113.67 ▲6.12 | 43.36 ▲1.25 |
Posts /wp-admin/edit.php | 2,175 ▲86 | 2.15 ▲0.15 | 38.31 ▲3.21 | 34.19 ▲1.99 |
Add New Post /wp-admin/post-new.php | 1,323 ▼224 | 13.70 ▼4.75 | 351.10 ▼285.61 | 49.77 ▼17.34 |
Media Library /wp-admin/upload.php | 1,477 ▲89 | 4.40 ▲0.19 | 107.26 ▲4.08 | 48.01 ▲3.68 |
Asset Delivery /wp-admin/admin.php?page=awpp-assets | 924 | 2.17 | 29.28 | 31.24 |
Basics /wp-admin/admin.php?page=advanced-wpperformance | 907 | 2.16 | 25.68 | 28.81 |
Server Settings /wp-admin/admin.php?page=awpp-server | 972 | 2.22 | 26.99 | 32.56 |
Uninstaller [IO: ▲0.54MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-includes/plugin.php+1006
Undefined offset: 1
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-wpperformance/advanced-wpperformance.php:26
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/advanced-wpperformance/Classes/Libs/minify/src/CSS.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/advanced-wpperformance/Classes/Libs/minify/src/Exceptions/FileImportException.php:8
- > PHP Fatal error
Uncaught Error: Class 'nicomartin\\CriticalAPI\\Init' not found in wp-content/plugins/advanced-wpperformance/Classes/critical-api/class-adminpage.php:5
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/advanced-wpperformance/Classes/Libs/path-converter/src/NoConverter.php:14
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/advanced-wpperformance/Classes/Libs/minify/src/JS.php:15
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/advanced-wpperformance/Classes/Libs/minify/src/Exceptions/BasicException.php:10
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/advanced-wpperformance/Classes/Libs/path-converter/src/Converter.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/advanced-wpperformance/Classes/Libs/minify/src/Exceptions/IOException.php:8
- > PHP Fatal error
Uncaught Error: Class 'nicomartin\\CriticalAPI\\Init' not found in wp-content/plugins/advanced-wpperformance/Classes/critical-api/class-settings.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: pagespeed, scriptloading, critical css api, optimize, preload...
advanced-wpperformance/advanced-wpperformance.php 92% from 13 tests
Analyzing the main PHP file in "Advanced WPPerformance" version 1.6.2
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin5,036 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 823 | 1,141 | 3,114 |
CSS | 4 | 31 | 0 | 957 |
JavaScript | 8 | 149 | 161 | 543 |
PO File | 2 | 104 | 122 | 362 |
Markdown | 1 | 1 | 0 | 55 |
JSON | 1 | 0 | 0 | 3 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 17.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 3 | 13.04% |
▷ Concrete classes | 20 | 86.96% |
▷ Final classes | 0 | 0.00% |
Methods | 186 | |
▷ Static methods | 2 | 1.08% |
▷ Public methods | 134 | 72.04% |
▷ Protected methods | 44 | 23.66% |
▷ Private methods | 8 | 4.30% |
Functions | 25 | |
▷ Named functions | 12 | 48.00% |
▷ Anonymous functions | 13 | 52.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.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
No PNG images were found in this plugin