Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼292.77ms] Passed 4 tests
Server-side resources used by Admin Select Box To Select2
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 61.63 ▲9.61 |
Dashboard /wp-admin | 3.41 ▲0.01 | 32.59 ▲0.39 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.57 ▼1.15 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 92.77 ▼1,170.83 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 22.88 ▲0.53 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Admin Select Box To Select2
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,770 ▲16 | 15.99 ▼0.00 | 6.89 ▲1.32 | 2.46 ▼0.17 |
Dashboard /wp-admin | 2,894 ▲33 | 6.48 ▲0.29 | 118.14 ▼11.15 | 152.88 ▼0.63 |
Posts /wp-admin/edit.php | 2,875 ▲218 | 3.41 ▲0.17 | 76.78 ▲12.37 | 144.58 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,666 ▲5 | 16.28 ▲0.25 | 421.89 ▼4.29 | 157.80 ▲1.43 |
Media Library /wp-admin/upload.php | 1,704 ▲3 | 5.67 ▲0.14 | 142.29 ▲8.23 | 185.24 ▲7.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Requires php: Version not formatted correctly
admin-select-box-to-select2/admin-select-box-to-select2.php Passed 13 tests
The entry point to "Admin Select Box To Select2" version 1.0.0 is a PHP file that has certain tags in its header comment area
66 characters long description:
This plugin is used to convert all simple Select boxes to Select2.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected29 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 0 | 3 | 17 |
PHP | 1 | 3 | 11 | 11 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There were not PNG files found in your plugin