Benchmarks
Plugin footprint 82% 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.71MB] [CPU: ▲1.18ms] 75% from 4 tests
Analyzing server-side resources used by Advanced WordPress Reset - Debug, Recover & Reset WP
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 535.86ms on /wp-admin/tools.php?page=awr_full_reset)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.18 ▲0.71 | 40.72 ▲1.35 |
Dashboard /wp-admin | 4.01 ▲0.71 | 48.60 ▼0.26 |
Posts /wp-admin/edit.php | 4.13 ▲0.77 | 53.54 ▲7.08 |
Add New Post /wp-admin/post-new.php | 6.60 ▲0.71 | 85.00 ▼1.20 |
Media Library /wp-admin/upload.php | 3.94 ▲0.71 | 37.59 ▲4.81 |
Advanced WP Reset /wp-admin/tools.php?page=awr_full_reset | 4.12 | 535.86 |
Server storage [IO: ▲1.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 104 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
awr_stp_rtg |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
awr_show_notifications |
awr_inst_time |
awr_stp_top_notice |
theysaidso_admin_options |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Advanced WordPress Reset - Debug, Recover & Reset WP: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲88 | 14.67 ▲0.43 | 1.52 ▼0.16 | 36.86 ▼9.57 |
Dashboard /wp-admin | 2,240 ▲63 | 5.56 ▼0.00 | 94.52 ▼8.75 | 98.54 ▲48.68 |
Posts /wp-admin/edit.php | 2,164 ▲64 | 2.08 ▲0.12 | 39.20 ▲1.94 | 35.84 ▼2.68 |
Add New Post /wp-admin/post-new.php | 1,581 ▲55 | 23.24 ▼0.37 | 683.68 ▲88.47 | 56.00 ▲8.55 |
Media Library /wp-admin/upload.php | 1,454 ▲51 | 4.16 ▲0.02 | 96.17 ▼0.75 | 67.97 ▲26.93 |
Advanced WP Reset /wp-admin/tools.php?page=awr_full_reset | 7,330 | 2.85 | 79.40 | 124.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 11 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- awr_show_notifications
- theysaidso_admin_options
- awr_inst_time
- awr_stp_news
- widget_recent-comments
- awr_stp_top_notice
- awr_stp_rtg
- can_compress_scripts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/advanced-wp-reset/assets/templates/sidebar-template.php
- > /wp-content/plugins/advanced-wp-reset/assets/templates/snapshots-template.php
- > /wp-content/plugins/advanced-wp-reset/assets/templates/activation-template.php
- 51× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
in_array() expects parameter 2 to be array, null given in wp-content/plugins/advanced-wp-reset/assets/templates/snapshots-template.php on line 170
- > PHP Warning
Use of undefined constant AWR_IS_PRO_VERSION - assumed 'AWR_IS_PRO_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/advanced-wp-reset/assets/templates/snapshots-template.php on line 192
- > PHP Warning
Use of undefined constant AWR_YOUTUBE_CHANNEL - assumed 'AWR_YOUTUBE_CHANNEL' (this will throw an Error in a future version of PHP) in wp-content/plugins/advanced-wp-reset/assets/templates/sidebar-template.php on line 64
- > PHP Warning
Use of undefined constant AWR_PLUGIN_SUPPORT - assumed 'AWR_PLUGIN_SUPPORT' (this will throw an Error in a future version of PHP) in wp-content/plugins/advanced-wp-reset/assets/templates/sidebar-template.php on line 37
- > PHP Warning
Use of undefined constant AWR_PLUGIN_FAQ - assumed 'AWR_PLUGIN_FAQ' (this will throw an Error in a future version of PHP) in wp-content/plugins/advanced-wp-reset/assets/templates/sidebar-template.php on line 69
- > PHP Fatal error
Uncaught Error: Class 'awr\\services_pro\\LicenseService' not found in wp-content/plugins/advanced-wp-reset/assets/templates/home.inc.php:14
- > PHP Fatal error
Uncaught Error: Class 'awr\\endpoints\\AbstractController' not found in wp-content/plugins/advanced-wp-reset/includes/endpoints/tools-reset-controller.class.php:8
- > PHP Warning
in_array() expects parameter 2 to be array, null given in wp-content/plugins/advanced-wp-reset/assets/templates/snapshots-template.php on line 23
- > PHP Notice
Undefined variable: hidden_videos in wp-content/plugins/advanced-wp-reset/assets/templates/tools-template.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function print_deals_with_files_db() in wp-content/plugins/advanced-wp-reset/assets/templates/switcher-template.php:105
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: clean, database, reset database, restore, reset
advanced-wp-reset/advanced-wp-reset.php 85% from 13 tests
"Advanced WordPress Reset - Debug, Recover & Reset WP" version 2.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 143 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/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 plugin8,414 lines of code in 91 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 46 | 2,164 | 1,266 | 6,593 |
JavaScript | 10 | 296 | 171 | 834 |
CSS | 5 | 1 | 42 | 644 |
SVG | 30 | 13 | 1 | 343 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 18.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 4 | 11.43% |
▷ Concrete classes | 31 | 88.57% |
▷ Final classes | 0 | 0.00% |
Methods | 295 | |
▷ Static methods | 20 | 6.78% |
▷ Public methods | 249 | 84.41% |
▷ Protected methods | 5 | 1.69% |
▷ Private methods | 41 | 13.90% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 55 | |
▷ Global constants | 54 | 98.18% |
▷ Class constants | 1 | 1.82% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/banner-man-img.png | 47.99KB | 15.82KB | ▼ 67.05% |