Benchmarks
Plugin footprint 30% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.96MB] [CPU: ▼0.37ms] Passed 4 tests
A check of server-side resources used by BMLT-Workflow
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.38 ▲0.92 | 46.68 ▲1.32 |
Dashboard /wp-admin | 4.28 ▲0.98 | 52.97 ▼5.01 |
Posts /wp-admin/edit.php | 4.33 ▲0.98 | 53.76 ▲4.85 |
Add New Post /wp-admin/post-new.php | 6.90 ▲1.01 | 88.72 ▼2.63 |
Media Library /wp-admin/upload.php | 4.21 ▲0.98 | 44.63 ▲8.84 |
Service Bodies /wp-admin/admin.php?page=bmltwf-service-bodies | 4.18 | 39.67 |
Workflow Submissions /wp-admin/admin.php?page=bmltwf-submissions | 5.41 | 46.09 |
Configuration /wp-admin/admin.php?page=bmltwf-settings | 4.22 | 41.78 |
Server storage [IO: ▲2.29MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 195 new files
Database: 3 new tables, 22 new options
New tables |
---|
wp_bmltwf_service_bodies_access |
wp_bmltwf_submissions |
wp_bmltwf_service_bodies |
New WordPress options |
---|
bmltwf_optional_postcode |
bmltwf_optional_location_sub_province_displayname |
bmltwf_submitter_email_template |
bmltwf_optional_location_province_displayname |
bmltwf_optional_postcode_displayname |
widget_theysaidso_widget |
bmltwf_optional_location_sub_province |
theysaidso_admin_options |
bmltwf_optional_location_nation_displayname |
db_upgraded |
... |
Browser metrics Passed 4 tests
BMLT-Workflow: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲74 | 14.27 ▼0.07 | 1.81 ▼0.10 | 46.76 ▲2.23 |
Dashboard /wp-admin | 2,226 ▲46 | 5.49 ▼0.16 | 97.77 ▲3.87 | 41.89 ▼5.68 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.01 ▲0.01 | 40.91 ▼0.91 | 35.85 ▼2.22 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.13 ▲0.13 | 679.40 ▲71.81 | 60.56 ▲6.76 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.19 ▼0.05 | 95.58 ▼1.58 | 40.91 ▼1.82 |
Service Bodies /wp-admin/admin.php?page=bmltwf-service-bodies | 702 | 1.51 | 6.34 | 18.72 |
Workflow Submissions /wp-admin/admin.php?page=bmltwf-submissions | 1,469 | 2.28 | 49.91 | 28.12 |
Configuration /wp-admin/admin.php?page=bmltwf-settings | 2,361 | 7.51 | 193.05 | 125.59 |
Uninstaller [IO: ▲2.29MB] [DB: ▲0.01MB] 0% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attentionZombie tables were found after uninstall: 3 tables Zombie WordPress options were found after uninstall: 23 options
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/bmlt-workflow/config.php+2
Constant BMLTWF_DEBUG already defined
- Incomplete uninstall procedure, leaving 195 files (2.29MB) in the plugin directory
- (new file) LICENSE
- (new file) admin/admin_submissions.php
- (new file) README.md
- (new file) bmlt-workflow.php
- (new file) admin/admin_service_bodies.php
- (new file) TRANSLATION.md
- (new file) admin/admin_options.php
- (new file) CHANGELOG.md
- (new file) css/admin_options.css
- (new file) config.php
- ...
- wp_bmltwf_submissions
- wp_bmltwf_service_bodies_access
- wp_bmltwf_service_bodies
- bmltwf_fso_email_address
- bmltwf_delete_closed_meetings
- bmltwf_submitter_email_template
- bmltwf_optional_location_nation_displayname
- widget_theysaidso_widget
- bmltwf_optional_location_nation
- bmltwf_db_version
- bmltwf_optional_location_province
- theysaidso_admin_options
- bmltwf_email_from_address
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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 take a closer look at the following
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bmlt-workflow/public/meeting_update_form.php:22
- > PHP Fatal error
Trait 'bmltwf\\BMLTWF_Debug' not found in wp-content/plugins/bmlt-workflow/src/REST/Handlers/BMLTServerHandler.php on line 25
- > PHP Fatal error
Trait 'bmltwf\\BMLTWF_Debug' not found in wp-content/plugins/bmlt-workflow/src/REST/Handlers/SubmissionsHandler.php on line 27
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bmlt-workflow/config.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bmlt-workflow/config.php:3
- > PHP Fatal error
Trait 'bmltwf\\BMLTWF_Debug' not found in wp-content/plugins/bmlt-workflow/src/BMLTWF_WP_User.php on line 21
- > PHP Fatal error
Trait 'bmltwf\\BMLTWF_Debug' not found in wp-content/plugins/bmlt-workflow/src/REST/Handlers/ServiceBodiesHandler.php on line 24
- > PHP Fatal error
Trait 'bmltwf\\BMLTWF_Debug' not found in wp-content/plugins/bmlt-workflow/src/BMLTWF_Database.php on line 21
- > PHP Fatal error
Trait 'bmltwf\\BMLTWF_Debug' not found in wp-content/plugins/bmlt-workflow/src/BMLT/Integration.php on line 23
- > PHP Fatal error
Trait 'bmltwf\\BMLTWF_Debug' not found in wp-content/plugins/bmlt-workflow/src/REST/Handlers/OptionsHandler.php on line 26
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=bmltwf-submissions
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: bmltwf_gmaps_key is not defined" "ReferenceError: bmltwf_gmaps_key is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/bmlt-workflow/js/admin_submissions.js?ver=1700803806:87:62)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=bmltwf-submissions
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught ReferenceError: bmltwf_gmaps_key is not defined
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
2 plugin tags: bmlt, workflow
bmlt-workflow/bmlt-workflow.php Passed 13 tests
The main PHP file in "BMLT-Workflow" ver. 1.1.10 adds more information about the plugin and also serves as the entry point for this plugin
38 characters long description:
Workflows for BMLT meeting management!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected26,591 lines of code in 176 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 75 | 3,098 | 8,287 | 12,818 |
CSS | 60 | 308 | 205 | 6,564 |
PHP | 19 | 1,021 | 860 | 4,681 |
PO File | 2 | 717 | 839 | 1,791 |
Markdown | 3 | 76 | 0 | 306 |
Sass | 2 | 57 | 8 | 264 |
Bourne Shell | 2 | 20 | 16 | 88 |
HTML | 2 | 1 | 0 | 54 |
JSON | 11 | 0 | 0 | 25 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 43.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 182.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 4 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 179 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 134 | 74.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 45 | 25.14% |
Functions | 8 | |
▷ Named functions | 2 | 25.00% |
▷ Anonymous functions | 6 | 75.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 compressed PNG files occupy 0.15MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
thirdparty/DataTables/DataTables-1.12.1/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
thirdparty/DataTables/DataTables-1.12.1/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
images/Workflow_Banner.png | 47.59KB | 21.26KB | ▼ 55.33% |
thirdparty/DataTables/DataTables-1.12.1/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
thirdparty/DataTables/DataTables-1.12.1/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |