Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼1.60ms] Passed 4 tests
Analyzing server-side resources used by Media Commander - WordPress Folders Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 40.96 ▼0.38 |
Dashboard /wp-admin | 3.56 ▲0.26 | 53.62 ▲4.79 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 52.04 ▼1.99 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 96.19 ▼8.81 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 44.31 ▲8.57 |
Media Commander /wp-admin/options-general.php?page=mediacommander-settings | 3.47 | 34.29 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 31 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_mediacommander_folders |
wp_mediacommander_attachments |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Media Commander - WordPress Folders Manager: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,083 ▲312 | 13.85 ▼0.18 | 9.51 ▲7.54 | 40.32 ▼0.29 |
Dashboard /wp-admin | 2,309 ▲121 | 5.18 ▲0.30 | 117.49 ▲13.93 | 37.60 ▼10.35 |
Posts /wp-admin/edit.php | 2,191 ▲102 | 2.16 ▲0.15 | 44.69 ▲3.71 | 34.73 ▼3.16 |
Add New Post /wp-admin/post-new.php | 1,603 ▲84 | 23.51 ▲0.40 | 676.77 ▲43.21 | 38.15 ▼22.68 |
Media Library /wp-admin/upload.php | 1,826 ▲444 | 4.51 ▲0.31 | 126.06 ▲24.79 | 49.24 ▲2.22 |
Media Commander /wp-admin/options-general.php?page=mediacommander-settings | 1,631 | 2.57 | 54.04 | 30.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 tables detected upon uninstall: 2 tables
- wp_mediacommander_folders
- wp_mediacommander_attachments
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive 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 Passed 29 tests
readme.txt Passed 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
7 plugin tags: wp file manager, media library folders, media library, wp media folders, organizer...
mediacommander/mediacommander.php Passed 13 tests
The main PHP file in "Media Commander - WordPress Folders Manager" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
131 characters long description:
Improve your WordPress media library with a more intuitive way. Simply drag & drop items into folders for effortless accessibility.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,343 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 161 | 32 | 1,331 |
JavaScript | 8 | 0 | 0 | 8 |
CSS | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 3.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 11 | 25.00% |
▷ Public methods | 30 | 68.18% |
▷ Protected methods | 3 | 6.82% |
▷ Private methods | 11 | 25.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/chess.png | 0.13KB | 0.09KB | ▼ 31.85% |