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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.34MB] [CPU: ▼6.24ms] Passed 4 tests
An overview of server-side resources used by Bulk Media Register
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 36.64 ▲0.29 |
Dashboard /wp-admin | 3.66 ▲0.31 | 49.78 ▼5.88 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 45.71 ▼2.12 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 81.12 ▼17.26 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 36.49 ▲3.14 |
Cron Event /wp-admin/admin.php?page=bulkmediaregister-wpcron | 3.55 | 30.58 |
Select Register /wp-admin/admin.php?page=bulkmediaregister-selectregister | 3.58 | 41.32 |
Bulk Media Register /wp-admin/admin.php?page=bulkmediaregister | 3.55 | 31.69 |
Settings /wp-admin/admin.php?page=bulkmediaregister-settings | 3.55 | 32.56 |
Bulk Register /wp-admin/admin.php?page=bulkmediaregister-register | 3.56 | 33.08 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
bulkmediaregister_notice |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Bulk Media Register
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.17 ▼0.18 | 1.72 ▲0.10 | 42.02 ▲1.06 |
Dashboard /wp-admin | 2,237 ▲60 | 5.65 ▼0.01 | 95.42 ▲8.93 | 42.73 ▲3.18 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.02 ▼0.02 | 34.21 ▼1.97 | 33.89 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.29 ▲0.31 | 672.50 ▲38.07 | 60.54 ▲0.23 |
Media Library /wp-admin/upload.php | 1,436 ▲39 | 4.18 ▲0.02 | 95.21 ▼1.49 | 42.05 ▼1.64 |
Cron Event /wp-admin/admin.php?page=bulkmediaregister-wpcron | 831 | 2.03 | 22.71 | 24.90 |
Select Register /wp-admin/admin.php?page=bulkmediaregister-selectregister | 1,758 | 2.13 | 23.03 | 39.34 |
Bulk Media Register /wp-admin/admin.php?page=bulkmediaregister | 868 | 2.03 | 24.04 | 30.95 |
Settings /wp-admin/admin.php?page=bulkmediaregister-settings | 1,577 | 2.27 | 38.96 | 25.93 |
Bulk Register /wp-admin/admin.php?page=bulkmediaregister-register | 1,499 | 2.00 | 23.70 | 27.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-screen.php' (include_path='.:/usr/share/php') in wp-content/plugins/bulk-media-register/lib/class-tt-bulkmediaregister-list-table.php on line 26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-media-register/lib/class-bulkmediaregisteradmin.php:36
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-screen.php): failed to open stream: No such file or directory in wp-content/plugins/bulk-media-register/lib/class-tt-bulkmediaregister-list-table.php on line 26
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/bulk-media-register/lib/class-bulkmediaregister.php:1046
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/bulk-media-register/lib/class-bulkmediaregister.php:1046
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-media-register/lib/class-tt-bulkmediaregister-list-table.php on line 26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 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
6 plugin tags: files, ftp, sync, import, uploads...
bulk-media-register/bulkmediaregister.php 92% from 13 tests
The entry point to "Bulk Media Register" version 1.36 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bulk-media-register.php" instead of "bulkmediaregister.php")
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 detected3,630 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 270 | 555 | 1,852 |
JavaScript | 4 | 204 | 101 | 1,481 |
CSS | 1 | 8 | 1 | 297 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 85.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 6.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 57.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 42.86% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin