Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.26MB] [CPU: ▼4.01ms] Passed 4 tests
Analyzing server-side resources used by Bulk edit image alt tag, caption & description - WordPress Media Library Helper by Codexin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 42.30 ▲5.32 |
Dashboard /wp-admin | 3.60 ▲0.26 | 50.12 ▼8.16 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 45.35 ▼1.97 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 89.77 ▼11.23 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 37.44 ▲6.31 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
cdxn_mlh_plugin_activation_time |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bulk edit image alt tag, caption & description - WordPress Media Library Helper by Codexin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▼0.37 | 1.70 ▲0.12 | 44.59 ▲2.14 |
Dashboard /wp-admin | 2,198 ▲20 | 5.61 ▲0.04 | 93.94 ▼5.91 | 44.72 ▲4.61 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.03 | 36.74 ▲2.29 | 33.91 ▼4.48 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.28 ▲0.30 | 577.88 ▼76.13 | 44.01 ▼12.48 |
Media Library /wp-admin/upload.php | 1,426 ▲29 | 4.57 ▲0.36 | 97.49 ▼4.44 | 41.38 ▼2.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- can_compress_scripts
- cdxn_mlh_plugin_activation_time
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-media-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/media-library-helper/lib/Admin/Extended_Media_List_Table.php on line 14
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/media-library-helper/lib/Admin/Extended_Media_List_Table.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/media-library-helper/templates/extended-upload.php:11
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-media-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/media-library-helper/lib/Admin/Extended_Media_List_Table.php on line 14
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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 undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: seo, bulk edit, image caption, alt tag, media library
media-library-helper/media-library-helper.php Passed 13 tests
The principal PHP file in "Bulk edit image alt tag, caption & description - WordPress Media Library Helper by Codexin" v. 1.3.0 is loaded by WordPress automatically on each request
139 characters long description:
Add or edit or Bulk edit image ALT tag, caption & description with one click straight from WordPress media library to boost your SEO score.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected2,113 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 299 | 911 | 1,636 |
CSS | 2 | 52 | 5 | 306 |
JavaScript | 2 | 4 | 46 | 171 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 7 | 10.45% |
▷ Public methods | 61 | 91.04% |
▷ Protected methods | 1 | 1.49% |
▷ Private methods | 5 | 7.46% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There are no PNG files in this plugin