Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲0.85ms] Passed 4 tests
An overview of server-side resources used by Better Customizer Reset
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.05 | 42.40 ▼2.74 |
Dashboard /wp-admin | 48.47 ▲45.12 | 9,284,459.33 ▲9,284,406.01 |
Posts /wp-admin/edit.php | 3.52 ▲0.12 | 53.12 ▲6.09 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.06 | 93.76 ▼2.73 |
Media Library /wp-admin/upload.php | 3.33 ▲0.06 | 43.44 ▲2.78 |
Better Customizer Reset /wp-admin/tools.php?page=better-customizer-reset | 3.30 | 36.50 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Better Customizer Reset
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.24 ▼0.11 | 1.69 ▲0.04 | 44.01 ▼3.38 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▲0.06 | 86.31 ▼5.91 | 38.72 ▼0.17 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.00 ▼0.02 | 35.14 ▼6.23 | 34.69 ▲0.04 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.67 ▲0.58 | 680.40 ▼33.27 | 54.76 ▼4.23 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.19 ▼0.02 | 98.41 ▼17.81 | 45.43 ▼0.72 |
Better Customizer Reset /wp-admin/tools.php?page=better-customizer-reset | 902 | 1.99 | 24.01 | 36.88 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 11 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=better-customizer-reset
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 11 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=better-customizer-reset
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: reset customizer, theme mods, reset theme, customizer reset, customizer...
better-customizer-reset/better-customizer-reset.php 85% from 13 tests
"Better Customizer Reset" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected495 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 99 | 146 | 249 |
CSS | 1 | 56 | 4 | 246 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 13.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ilovewp-logo-dark.png | 2.63KB | 1.05KB | ▼ 59.97% |
assets/images/bcr-logo-dark.png | 4.88KB | 1.67KB | ▼ 65.87% |