Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.67MB] [CPU: ▲1.54ms] Passed 4 tests
A check of server-side resources used by Enhanced Media Library
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 39.13 ▼7.85 |
Dashboard /wp-admin | 4.11 ▲0.81 | 46.46 ▲0.15 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 51.58 ▲7.88 |
Add New Post /wp-admin/post-new.php | 6.66 ▲0.77 | 99.01 ▲6.66 |
Media Library /wp-admin/upload.php | 3.98 ▲0.75 | 43.18 ▲7.19 |
MIME Types /wp-admin/options-general.php?page=mime-types | 4.03 | 38.95 |
Media Categories /wp-admin/edit-tags.php?taxonomy=media_category&post_type=attachment | 3.96 | 38.57 |
Media Taxonomies /wp-admin/options-general.php?page=media-taxonomies | 3.95 | 34.95 |
/wp-admin/admin.php?page=media | 3.94 | 33.29 |
Media /wp-admin/options-general.php?page=media | 3.94 | 35.85 |
Media Library /wp-admin/options-general.php?page=media-library | 3.94 | 35.08 |
EML Utilities /wp-admin/options-general.php?page=eml-settings | 3.94 | 35.22 |
Server storage [IO: ▲0.47MB] [DB: ▲0.04MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_theysaidso_widget |
wpuxss_eml_tax_options |
wpuxss_eml_lib_options |
widget_recent-comments |
wpuxss_eml_taxonomies |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
wpuxss_eml_mimes |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Enhanced Media Library
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 13.82 ▼0.48 | 1.70 ▼0.47 | 38.01 ▼6.21 |
Dashboard /wp-admin | 2,247 ▲59 | 5.12 ▲0.21 | 111.97 ▲1.21 | 40.63 ▼0.48 |
Posts /wp-admin/edit.php | 2,132 ▲46 | 2.32 ▲0.28 | 40.51 ▲1.56 | 35.84 ▲2.79 |
Add New Post /wp-admin/post-new.php | 1,563 ▲35 | 23.63 ▲5.30 | 673.36 ▲12.18 | 37.51 ▼19.63 |
Media Library /wp-admin/upload.php | 1,521 ▲133 | 4.77 ▲0.54 | 118.59 ▲9.52 | 58.33 ▲13.40 |
MIME Types /wp-admin/options-general.php?page=mime-types | 4,371 | 2.15 | 31.83 | 59.13 |
Media Categories /wp-admin/edit-tags.php?taxonomy=media_category&post_type=attachment | 1,308 | 2.08 | 31.75 | 28.84 |
Media Taxonomies /wp-admin/options-general.php?page=media-taxonomies | 1,532 | 2.13 | 29.06 | 30.26 |
/wp-admin/admin.php?page=media | 985 | 1.98 | 29.62 | 31.88 |
Media /wp-admin/options-general.php?page=media | 989 | 1.97 | 29.72 | 28.27 |
Media Library /wp-admin/options-general.php?page=media-library | 1,368 | 2.19 | 30.18 | 35.30 |
EML Utilities /wp-admin/options-general.php?page=eml-settings | 1,084 | 2.24 | 29.09 | 36.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 11 options in the database
- wpuxss_eml_tax_options
- wpuxss_eml_taxonomies
- wpuxss_eml_lib_options
- db_upgraded
- wpuxss_eml_version
- widget_recent-posts
- can_compress_scripts
- wpuxss_eml_mimes
- widget_recent-comments
- widget_theysaidso_widget
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The SRP test was a success
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in enhanced-media-library/assets to your readme.txt
- Tags: Too many tags (27 tag instead of maximum 10); only the first 5 tags are used in your directory listing
enhanced-media-library/enhanced-media-library.php Passed 13 tests
The main PHP file in "Enhanced Media Library" ver. 2.8.9 adds more information about the plugin and also serves as the entry point for this plugin
76 characters long description:
This plugin will be handy for those who need to manage a lot of media files.
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
Good job! No executable or dangerous file extensions detected7,369 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 1,721 | 704 | 3,372 |
JavaScript | 12 | 1,090 | 319 | 2,489 |
CSS | 4 | 258 | 52 | 1,486 |
SVG | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 3.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 85 | |
▷ Named functions | 83 | 97.65% |
▷ Anonymous functions | 2 | 2.35% |
Constants | 2 | |
▷ Global constants | 2 | 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