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.05MB] [CPU: ▼3.65ms] Passed 4 tests
An overview of server-side resources used by Ultimate WordPress Reset
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.53 ▼1.39 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.01 ▼0.52 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 42.37 ▼11.94 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.61 ▼0.73 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.19 ▲0.36 |
WordPress Reset /wp-admin/tools.php?page=ultimate-wordpress-reset | 3.25 | 31.68 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Ultimate WordPress Reset: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲50 | 14.17 ▼0.10 | 1.70 ▼0.14 | 44.07 ▼1.74 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▲0.04 | 86.71 ▼14.99 | 39.27 ▼5.63 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.00 ▼0.01 | 33.55 ▼2.62 | 34.43 ▼1.52 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.05 ▼0.56 | 665.63 ▼2.16 | 65.72 ▲6.69 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.23 ▲0.02 | 104.02 ▼2.65 | 45.92 ▼2.95 |
WordPress Reset /wp-admin/tools.php?page=ultimate-wordpress-reset | 870 | 1.99 | 29.31 | 27.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/ultimate-wp-reset/ultimate-wordpress-reset.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: clean, wordpress-reset, reset theme, reset, wordpress...
ultimate-wp-reset/ultimate-wordpress-reset.php 85% from 13 tests
The main file in "Ultimate WordPress Reset" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 153 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ultimate-wp-reset.php" instead of "ultimate-wordpress-reset.php")
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
Success! There were no dangerous files found in this plugin205 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 52 | 205 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 5.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/hosting-wp-button.png | 26.03KB | 9.36KB | ▼ 64.05% |