Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲1.28MB] [CPU: ▼0.98ms] Passed 4 tests
Analyzing server-side resources used by Media Library Folders
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.74 ▲1.28 | 42.07 ▼0.25 |
Dashboard /wp-admin | 4.59 ▲1.25 | 51.21 ▼5.65 |
Posts /wp-admin/edit.php | 4.64 ▲1.29 | 58.37 ▲12.17 |
Add New Post /wp-admin/post-new.php | 7.18 ▲1.29 | 90.01 ▼7.33 |
Media Library /wp-admin/upload.php | 4.52 ▲1.29 | 42.92 ▲9.31 |
Settings /wp-admin/admin.php?page=mlf-settings8 | 4.44 | 41.47 |
Upgrade to Pro /wp-admin/admin.php?page=mlp-upgrade-to-pro | 4.42 | 37.83 |
Search Library /wp-admin/admin.php?page=search-library | 4.43 | 38.61 |
Folders & Files /wp-admin/admin.php?page=mlf-folders8 | 4.60 | 44.30 |
Image SEO /wp-admin/admin.php?page=mlf-image-seo | 4.43 | 40.46 |
Support /wp-admin/admin.php?page=mlf-support8 | 4.46 | 37.51 |
Thumbnails /wp-admin/admin.php?page=mlf-thumbnails | 4.47 | 39.25 |
Server storage [IO: ▲9.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 251 new files
Database: 3 new tables, 14 new options
New tables |
---|
wp_mgmlp_blocked_ips |
wp_mgmlp_folders |
wp_mgmlp_block_access |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
mlf-folder-check |
mgmlp_upload_folder_id |
maxgalleria_media_library_version |
mgmlp_upload_folder_name |
mgmlp_src_fix |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Media Library Folders
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲67 | 14.22 ▼0.04 | 1.62 ▼0.00 | 37.71 ▼6.12 |
Dashboard /wp-admin | 2,237 ▲63 | 5.56 ▼0.13 | 94.58 ▼0.61 | 41.52 ▲0.29 |
Posts /wp-admin/edit.php | 2,142 ▲39 | 2.01 ▲0.03 | 40.45 ▼0.20 | 34.57 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,572 ▲46 | 24.87 ▲1.63 | 596.22 ▼74.81 | 62.78 ▲2.78 |
Media Library /wp-admin/upload.php | 1,450 ▲47 | 4.20 ▲0.03 | 103.84 ▲2.19 | 42.04 ▼0.00 |
Settings /wp-admin/admin.php?page=mlf-settings8 | 1,022 | 2.21 | 27.19 | 31.63 |
Upgrade to Pro /wp-admin/admin.php?page=mlp-upgrade-to-pro | 1,298 | 2.11 | 25.23 | 104.22 |
Search Library /wp-admin/admin.php?page=search-library | 900 | 2.20 | 28.26 | 39.56 |
Folders & Files /wp-admin/admin.php?page=mlf-folders8 | 1,491 | 2.38 | 49.17 | 59.84 |
Image SEO /wp-admin/admin.php?page=mlf-image-seo | 971 | 2.08 | 24.26 | 28.40 |
Support /wp-admin/admin.php?page=mlf-support8 | 1,052 | 2.19 | 24.61 | 29.07 |
Thumbnails /wp-admin/admin.php?page=mlf-thumbnails | 964 | 2.07 | 27.82 | 26.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables were found after uninstall: 3 tables
- wp_mgmlp_folders
- wp_mgmlp_blocked_ips
- wp_mgmlp_block_access
- The uninstall procedure has failed, leaving 14 options in the database
- mgmlp_move_or_copy
- mgmlp_src_fix
- mgmlp_upload_folder_id
- widget_theysaidso_widget
- mlf_sort_order_type
- mgmlp_sort_order
- mgmlp_upload_folder_name
- widget_recent-comments
- mlf-folder-check
- theysaidso_admin_options
- ...
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/media-library-plus/includes/mlf-support-articles.php
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/media-library-plus/includes/mlf-image-seo.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/media-library-plus/media-library-plus.php:80
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/media-library-plus/includes/mlf-settings.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/media-library-plus/includes/mlfp-bda-options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/media-library-plus/includes/mlf-support-tips.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/media-library-plus/includes/media-folders.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/media-library-plus/includes/mlf-support-sys-info.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/media-library-plus/includes/mlf-support.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/media-library-plus/includes/media-library.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/media-library-plus/mlp-reset.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: organize media library, media library folders
media-library-plus/media-library-plus.php Passed 13 tests
The main PHP file in "Media Library Folders" ver. 8.1.6 adds more information about the plugin and also serves as the entry point for this plugin
84 characters long description:
Gives you the ability to adds folders and move files in the WordPress Media Library.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin56,831 lines of code in 160 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 70 | 2,885 | 3,036 | 16,747 |
CSS | 28 | 5,576 | 267 | 16,486 |
PHP | 16 | 2,254 | 385 | 7,617 |
Sass | 19 | 551 | 71 | 6,314 |
LESS | 18 | 548 | 71 | 6,244 |
PO File | 8 | 980 | 1,113 | 3,406 |
Markdown | 1 | 4 | 0 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 970.00 |
▷ Minimum class complexity | 970.00 |
▷ Maximum class complexity | 970.00 |
Average method complexity | 6.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 88.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 | 189 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 171 | 90.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 9.52% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 71 | |
▷ Global constants | 71 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
55 PNG files occupy 5.34MB with 3.84MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/jstree/themes/default/40px.png | 2.16KB | 1.84KB | ▼ 15.12% |
images/mlfp-help.png | 2.56KB | 0.42KB | ▼ 83.78% |
images/get-mlp-pro.png | 570.84KB | 0.50KB | ▼ 99.91% |
images/assets/block-direct-access.png | 414.81KB | 124.40KB | ▼ 70.01% |
images/closedimage.png | 4.54KB | 0.42KB | ▼ 90.69% |