Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.98ms] Passed 4 tests
Server-side resources used by WPMU Database Reset
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.43 ▲0.30 |
Dashboard /wp-admin | 3.33 ▼0.01 | 50.92 ▼17.85 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 53.40 ▲2.45 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 99.63 ▲4.64 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.60 ▲3.18 |
Database Reset /wp-admin/tools.php?page=wpmu-database-reset | 3.22 | 33.25 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/wpmu-database-reset/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WPMU Database Reset
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.23 ▼1.12 | 1.86 ▲0.13 | 43.37 ▲3.14 |
Dashboard /wp-admin | 2,225 ▲25 | 4.87 ▼0.98 | 107.66 ▲1.01 | 41.65 ▼2.81 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.98 ▼0.07 | 40.22 ▼2.79 | 36.65 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.31 ▲0.21 | 680.79 ▼33.16 | 53.20 ▼1.52 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.26 ▲0.04 | 97.26 ▼3.46 | 46.03 ▼0.71 |
Database Reset /wp-admin/tools.php?page=wpmu-database-reset | 815 | 2.01 | 26.47 | 24.75 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: default, developer, database, reset, restore
wpmu-database-reset/wpmu-database-reset.php 92% from 13 tests
The principal PHP file in "WPMU Database Reset" v. 0.2.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Everything looks great! No dangerous files found in this plugin129 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 23 | 30 | 129 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected