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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.21ms] Passed 4 tests
This is a short check of server-side resources used by Unsortable Meta Box
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.81 ▼4.20 |
Dashboard /wp-admin | 3.37 ▲0.07 | 55.01 ▼2.25 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 52.91 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 89.45 ▼13.47 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.24 ▼0.90 |
Unsortable Meta Box /wp-admin/options-general.php?page=unsortable-meta-box | 3.27 | 33.18 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
unsortable-meta-box |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
umb-display-activation-message |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Unsortable Meta Box
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,733 ▼28 | 10.75 ▼3.60 | 1.69 ▼0.10 | 42.02 ▼3.37 |
Dashboard /wp-admin | 2,136 ▼38 | 2.62 ▼3.04 | 56.53 ▼41.34 | 40.47 ▼4.23 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.05 | 34.74 ▼1.81 | 34.46 ▼3.84 |
Add New Post /wp-admin/post-new.php | 1,525 ▼3 | 22.91 ▼0.25 | 672.86 ▲26.96 | 36.87 ▼29.22 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.17 ▼0.01 | 94.94 ▼4.68 | 46.32 ▲1.47 |
Unsortable Meta Box /wp-admin/options-general.php?page=unsortable-meta-box | 907 | 2.01 | 26.11 | 28.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/unsortable-meta-box/admin/views/admin.php:20
- > PHP Fatal error
Uncaught Error: Class 'Unsortable_Meta_Box' not found in wp-content/plugins/unsortable-meta-box/admin/includes/settings.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: disable-dragging, reset-positions, meta-box, unsort
unsortable-meta-box/unsortable-meta-box.php Passed 13 tests
Analyzing the main PHP file in "Unsortable Meta Box" version 0.9.0
56 characters long description:
Disable dragging of meta boxes and reset their positions
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected373 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 154 | 341 | 314 |
PO File | 1 | 10 | 15 | 42 |
JavaScript | 1 | 4 | 1 | 11 |
CSS | 1 | 1 | 1 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 8 | 29.63% |
▷ Public methods | 21 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 22.22% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected