Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.66MB] [CPU: ▼1.61ms] Passed 4 tests
An overview of server-side resources used by WP Reset - Most Advanced WordPress Reset Tool
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.07 ▲0.61 | 41.87 ▼3.60 |
Dashboard /wp-admin | 4.02 ▲0.71 | 50.70 ▲4.60 |
Posts /wp-admin/edit.php | 4.07 ▲0.71 | 51.78 ▲3.40 |
Add New Post /wp-admin/post-new.php | 6.56 ▲0.67 | 90.52 ▼10.83 |
Media Library /wp-admin/upload.php | 3.88 ▲0.65 | 38.95 ▲5.04 |
WP Reset /wp-admin/tools.php?page=wp-reset | 4.09 | 63.08 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 43 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
wp-reset |
Browser metrics Passed 4 tests
A check of browser resources used by WP Reset - Most Advanced WordPress Reset Tool
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲109 | 13.69 ▼0.69 | 1.62 ▼0.07 | 40.91 ▼1.67 |
Dashboard /wp-admin | 2,261 ▲70 | 5.12 ▲0.22 | 102.52 ▲3.62 | 42.02 ▲1.43 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.31 ▲0.29 | 43.23 ▲3.56 | 32.32 ▼5.02 |
Add New Post /wp-admin/post-new.php | 1,529 ▼13 | 23.32 ▲5.18 | 647.01 ▲29.16 | 50.66 ▼4.51 |
Media Library /wp-admin/upload.php | 1,437 ▲52 | 4.38 ▲0.20 | 99.30 ▼6.09 | 45.55 ▲3.32 |
WP Reset /wp-admin/tools.php?page=wp-reset | 4,746 | 4.80 | 100.89 | 118.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-reset/wp-reset-utility.php
- > /wp-content/plugins/wp-reset/wp-reset.php
- > /wp-content/plugins/wp-reset/wp-reset-cli.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
wp-reset/wp-reset.php Passed 13 tests
Analyzing the main PHP file in "WP Reset - Most Advanced WordPress Reset Tool" version 1.98
99 characters long description:
Reset the entire site or just selected parts while reserving the option to undo by using snapshots.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin7,062 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 878 | 1,388 | 4,534 |
JavaScript | 5 | 200 | 68 | 1,289 |
CSS | 4 | 252 | 41 | 1,226 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 25.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 284.00 |
Average method complexity | 4.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 3 | 12.50% |
▷ Concrete classes | 21 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 178 | |
▷ Static methods | 15 | 8.43% |
▷ Public methods | 153 | 85.96% |
▷ Protected methods | 3 | 1.69% |
▷ Private methods | 22 | 12.36% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/wp-reset-icon.png | 3.11KB | 2.28KB | ▼ 26.85% |
img/wp-force-ssl-logo.png | 23.38KB | 12.25KB | ▼ 47.59% |
wf-flyout/icons/ucp.png | 16.30KB | 2.35KB | ▼ 85.58% |
wf-flyout/icons/301-logo.png | 6.33KB | 3.09KB | ▼ 51.22% |
wf-flyout/icons/wp-reset.png | 3.11KB | 2.28KB | ▼ 26.85% |