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.03MB] [CPU: ▼5.48ms] Passed 4 tests
Analyzing server-side resources used by Reset Meta Box Positions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.17 ▼4.21 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.36 ▼3.10 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.05 ▼7.37 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 96.04 ▼7.22 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.69 ▼2.13 |
Reset Meta Box Positions /wp-admin/options-general.php?page=reset-meta-box-positions/reset-meta-box-positions.php | 3.23 | 42.02 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Reset Meta Box Positions
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.18 ▼1.25 | 2.33 ▲0.12 | 46.15 ▲3.24 |
Dashboard /wp-admin | 2,210 ▲22 | 5.88 ▲0.94 | 106.61 ▲3.48 | 41.39 ▼2.56 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 1.97 ▼0.04 | 40.56 ▲1.00 | 36.41 ▼5.65 |
Add New Post /wp-admin/post-new.php | 1,517 ▼18 | 17.75 ▼5.52 | 612.86 ▼68.48 | 67.50 ▲13.09 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.21 ▲0.00 | 100.77 ▼14.04 | 42.10 ▼6.40 |
Reset Meta Box Positions /wp-admin/options-general.php?page=reset-meta-box-positions/reset-meta-box-positions.php | 880 | 2.19 | 23.33 | 48.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/reset-meta-box-positions/reset-meta-box-positions.php:36
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: reset, position, meta box, admin, editor
reset-meta-box-positions/reset-meta-box-positions.php Passed 13 tests
Analyzing the main PHP file in "Reset Meta Box Positions" version 0.1.2
105 characters long description:
Reset the meta box positions on admin post editor screen for all post types, including custom post types.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin157 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 41 | 129 |
JavaScript | 1 | 12 | 3 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
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 | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 1 | 10.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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/facebook.png | 1.89KB | 1.10KB | ▼ 41.73% |
images/info.png | 0.52KB | 0.46KB | ▼ 10.55% |
images/twitter.png | 2.09KB | 1.30KB | ▼ 38.02% |
images/yt.png | 1.38KB | 1.10KB | ▼ 20.55% |