Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.93MB] [CPU: ▲2.07ms] Passed 4 tests
Analyzing server-side resources used by Media Library Organizer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.11 ▲0.64 | 45.04 ▲7.79 |
Dashboard /wp-admin | 4.34 ▲1.04 | 50.82 ▲3.26 |
Posts /wp-admin/edit.php | 4.39 ▲1.03 | 50.56 ▲6.80 |
Add New Post /wp-admin/post-new.php | 6.95 ▲1.06 | 89.03 ▼9.58 |
Media Library /wp-admin/upload.php | 4.24 ▲1.01 | 47.62 ▲13.48 |
Settings /wp-admin/admin.php?page=media-library-organizer | 4.24 | 39.85 |
Import & Export /wp-admin/admin.php?page=media-library-organizer-import-export | 4.19 | 39.53 |
Media Categories /wp-admin/edit-tags.php?taxonomy=mlo-category&post_type=attachment | 4.20 | 40.04 |
Server storage [IO: ▲1.64MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 442 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
media-library-organizer-version |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
media-library-organizer-review-request |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Media Library Organizer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.20 ▼1.39 | 2.02 ▲0.31 | 43.98 ▲6.22 |
Dashboard /wp-admin | 2,239 ▲47 | 4.87 ▼0.03 | 100.59 ▼10.17 | 37.95 ▼5.19 |
Posts /wp-admin/edit.php | 2,122 ▲36 | 1.99 ▼0.05 | 37.04 ▲1.38 | 35.36 ▲2.37 |
Add New Post /wp-admin/post-new.php | 1,556 ▲12 | 17.44 ▼0.47 | 662.78 ▲41.05 | 62.52 ▲8.61 |
Media Library /wp-admin/upload.php | 1,660 ▲272 | 5.31 ▲1.10 | 117.38 ▲16.92 | 44.03 ▲0.09 |
Settings /wp-admin/admin.php?page=media-library-organizer | 1,628 | 2.24 | 32.92 | 49.00 |
Import & Export /wp-admin/admin.php?page=media-library-organizer-import-export | 1,011 | 2.25 | 27.09 | 36.52 |
Media Categories /wp-admin/edit-tags.php?taxonomy=mlo-category&post_type=attachment | 1,298 | 2.14 | 25.64 | 26.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- media-library-organizer-review-request
- widget_recent-posts
- media-library-organizer-version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/media-library-organizer/views/admin/media-views.php
- 43× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/media-library-organizer/views/admin/settings.php:15
- > PHP Notice
Undefined variable: addon_tabs in wp-content/plugins/media-library-organizer/views/admin/settings-general.php on line 32
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/media-library-organizer/media-library-organizer.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/media-library-organizer/addons/tree-view/class-media-library-organizer-tree-view.php:62
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/media-library-organizer/views/admin/import-filebird.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/media-library-organizer/views/admin/tinymce/fields/row.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/media-library-organizer/views/admin/import-wicked-folders.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/media-library-organizer/addons/tree-view/views/admin/settings.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/media-library-organizer/views/admin/tinymce/modal-missing.php:15
- > PHP Notice
Undefined variable: field in wp-content/plugins/media-library-organizer/views/admin/tinymce/fields/field.php on line 32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: images, media categories, media library, organizer, media tags
media-library-organizer/media-library-organizer.php Passed 13 tests
The principal PHP file in "Media Library Organizer" v. 1.6.0 is loaded by WordPress automatically on each request
59 characters long description:
Organize and Search your Media Library, quicker and easier.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin24,071 lines of code in 437 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 62 | 2,246 | 5,189 | 14,531 |
PHP | 67 | 2,103 | 5,452 | 5,661 |
Sass | 8 | 302 | 0 | 2,672 |
SVG | 293 | 0 | 0 | 614 |
PO File | 1 | 187 | 275 | 559 |
XML | 1 | 9 | 11 | 29 |
CSS | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 17.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 34 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 313 | |
▷ Static methods | 2 | 0.64% |
▷ Public methods | 272 | 86.90% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 41 | 13.10% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected