Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.97ms] Passed 4 tests
This is a short check of server-side resources used by WP Uninstaller by Azed
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.06 ▼4.59 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.35 ▼7.45 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.36 ▲2.94 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.09 ▼10.79 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.92 ▲3.63 |
Uninstall Wordpress /wp-admin/options-general.php?page=AzedWordpressUninstaller | 3.24 | 32.90 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Uninstaller by Azed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.21 ▼1.18 | 1.59 ▼0.61 | 40.81 ▼5.37 |
Dashboard /wp-admin | 2,210 ▲22 | 5.84 ▲0.93 | 109.45 ▲1.27 | 41.61 ▼3.11 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▲0.00 | 40.29 ▲1.72 | 37.41 ▲1.55 |
Add New Post /wp-admin/post-new.php | 1,536 ▼3 | 23.07 ▼0.24 | 665.22 ▼11.12 | 52.94 ▼2.32 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.16 ▼0.06 | 111.93 ▲3.18 | 47.91 ▲3.04 |
Uninstall Wordpress /wp-admin/options-general.php?page=AzedWordpressUninstaller | 861 | 2.02 | 22.88 | 27.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means 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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-uninstaller-by-azed/wp-uninstaller-by-azed.php:138
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: safe, wordpress, uninstall, delete, clean
wp-uninstaller-by-azed/wp-uninstaller-by-azed.php Passed 13 tests
Analyzing the main PHP file in "WP Uninstaller by Azed" version 0.3.1
67 characters long description:
This plugin allow you to delete your wordpress installation safely.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected207 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 12 | 113 |
PO File | 2 | 22 | 24 | 74 |
CSS | 1 | 12 | 2 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.29MB with 0.18MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 87.47KB | 29.71KB | ▼ 66.03% |
assets/screenshot-4.png | 18.73KB | 7.03KB | ▼ 62.46% |
assets/screenshot-3.png | 23.15KB | 9.32KB | ▼ 59.75% |
assets/screenshot-1.png | 168.36KB | 59.92KB | ▼ 64.41% |