Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲7.93MB] [CPU: ▲62.04ms] 50% from 4 tests
This is a short check of server-side resources used by BAKKBONE Florist Companion
Please take the time to fix the following items
- RAM: Total memory usage must be kept under 10MB (currently 11.32MB on /wp-admin/edit.php?post_type=acf-field-group)
- Extra RAM: The extra memory usage should kept under 5MB (currently 7.93MB on /wp-admin/edit.php?post_type=acf-field-group)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.98 ▲7.52 | 106.80 ▲64.76 |
Dashboard /wp-admin | 11.35 ▲8.05 | 116.53 ▲71.40 |
Posts /wp-admin/edit.php | 11.42 ▲8.06 | 101.51 ▲56.14 |
Add New Post /wp-admin/post-new.php | 14.16 ▲8.28 | 170.96 ▲84.16 |
Media Library /wp-admin/upload.php | 11.33 ▲8.10 | 100.49 ▲55.85 |
Taxonomies /wp-admin/edit.php?post_type=acf-taxonomy | 11.34 | 98.33 |
Post Types /wp-admin/edit.php?post_type=acf-post-type | 11.34 | 92.14 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 11.46 | 87.30 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 11.32 | 88.21 |
Server storage [IO: ▲32.46MB] [DB: ▲0.01MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- Total filesystem usage should be limited to 25MB (currently using 32.46MB)
Filesystem: 1,236 new files
Database: 4 new tables, 26 new options
New tables |
---|
wp_actionscheduler_groups |
wp_actionscheduler_logs |
wp_actionscheduler_actions |
wp_actionscheduler_claims |
New WordPress options |
---|
bkf_dd_full |
bkf_dm_setting |
bkf_dd_setting |
action_scheduler_lock_async-request-runner |
bkf_options_setting |
bkf_localisation_setting |
action_scheduler_hybrid_store_demarkation |
bkf_ddi_setting |
recovery_mode_email_last_sent |
acf_version |
... |
Browser metrics Passed 4 tests
Checking browser requirements for BAKKBONE Florist Companion
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,234 ▼501 | 12.42 ▼1.95 | 2.51 ▲0.87 | 45.93 ▲8.20 |
Dashboard /wp-admin | 1,618 ▼571 | 1.38 ▼3.63 | 15.34 ▼92.58 | 43.45 ▲2.92 |
Posts /wp-admin/edit.php | 2,132 ▲46 | 2.01 ▼0.01 | 43.99 ▲8.43 | 50.98 ▲19.24 |
Add New Post /wp-admin/post-new.php | 6,918 ▲5,494 | 24.79 ▲4.53 | 1,238.92 ▲611.07 | 139.62 ▲96.17 |
Media Library /wp-admin/upload.php | 1,981 ▲599 | 8.34 ▲4.13 | 225.97 ▲57.95 | 49.12 ▼27.70 |
Taxonomies /wp-admin/edit.php?post_type=acf-taxonomy | 1,681 | 2.28 | 35.61 | 65.53 |
Post Types /wp-admin/edit.php?post_type=acf-post-type | 1,683 | 2.28 | 36.80 | 39.73 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,277 | 1.85 | 25.30 | 31.70 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,650 | 2.18 | 40.32 | 44.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure failed, leaving 4 tables in the database
- wp_actionscheduler_groups
- wp_actionscheduler_actions
- wp_actionscheduler_logs
- wp_actionscheduler_claims
- Zombie WordPress options were found after uninstall: 26 options
- bkf_dd_closed
- schema-ActionScheduler_StoreSchema
- db_upgraded
- widget_theysaidso_widget
- action_scheduler_lock_async-request-runner
- can_compress_scripts
- bkf_localisation_setting
- schema-ActionScheduler_LoggerSchema
- bkf_advanced_setting
- bkf_dd_ds_fees
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 42× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/bakkbone-florist-companion/src/core.php
- > /wp-content/plugins/bakkbone-florist-companion/src/dd/fees/date-specific.php
- > /wp-content/plugins/bakkbone-florist-companion/src/petals/petals.php
- > /wp-content/plugins/bakkbone-florist-companion/src/pickup.php
- > /wp-content/plugins/bakkbone-florist-companion/src/pdf/actions.php
- > /wp-content/plugins/bakkbone-florist-companion/src/dd/fees/index.php
- > /wp-content/plugins/bakkbone-florist-companion/src/ajax.php
- > /wp-content/plugins/bakkbone-florist-companion/src/dd/blocks.php
- > /wp-content/plugins/bakkbone-florist-companion/src/dd/calendar.php
- > /wp-content/plugins/bakkbone-florist-companion/src/dd/dd-options.php
- 260× 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 _e() in wp-content/plugins/bakkbone-florist-companion/lib/acf/includes/admin/views/upgrade/upgrade.php:26
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\Table\\Table' not found in wp-content/plugins/bakkbone-florist-companion/lib/dompdf/vendor/phenx/php-font-lib/src/FontLib/Table/Type/os2.php:17
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Renderer\\AbstractRenderer' not found in wp-content/plugins/bakkbone-florist-companion/lib/dompdf/vendor/dompdf/dompdf/src/Renderer.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_idify() in wp-content/plugins/bakkbone-florist-companion/lib/acf/includes/admin/views/acf-field-group/conditional-logic.php:25
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Value\\CSSFunction' not found in wp-content/plugins/bakkbone-florist-companion/lib/dompdf/vendor/sabberworm/php-css-parser/src/Value/CalcFunction.php:9
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Renderer\\AbstractRenderer' not found in wp-content/plugins/bakkbone-florist-companion/lib/dompdf/vendor/dompdf/dompdf/src/Renderer/Text.php:17
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/bakkbone-florist-companion/lib/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php:10
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\TrueType\\File' not found in wp-content/plugins/bakkbone-florist-companion/lib/dompdf/vendor/phenx/php-font-lib/src/FontLib/EOT/File.php:16
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Positioner\\AbstractPositioner' not found in wp-content/plugins/bakkbone-florist-companion/lib/dompdf/vendor/dompdf/dompdf/src/Positioner/TableCell.php:17
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bakkbone-florist-companion/lib/acf/includes/admin/views/acf-field-group/location-rule.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
5 plugin tags: woocommerce, ecommerce, florist, package, filters
bakkbone-florist-companion/bakkbone-florist-companion.php Passed 13 tests
"BAKKBONE Florist Companion" version 3.0.7.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
54 characters long description:
Provides standardized features for floristry websites.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected334,568 lines of code in 1,022 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 45 | 44,304 | 67,605 | 106,278 |
PHP | 534 | 21,404 | 44,680 | 87,875 |
JavaScript | 281 | 8,791 | 11,055 | 81,677 |
JSON | 14 | 0 | 0 | 42,061 |
CSS | 22 | 870 | 1,578 | 13,548 |
Markdown | 16 | 463 | 0 | 1,489 |
HTML | 14 | 140 | 0 | 1,271 |
SVG | 95 | 0 | 0 | 334 |
YAML | 1 | 9 | 0 | 35 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 24.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 811.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 40 | |
Interfaces | 12 | |
Traits | 0 | |
Classes | 429 | |
▷ Abstract classes | 30 | 6.99% |
▷ Concrete classes | 399 | 93.01% |
▷ Final classes | 2 | 0.50% |
Methods | 4,269 | |
▷ Static methods | 223 | 5.22% |
▷ Public methods | 3,616 | 84.70% |
▷ Protected methods | 543 | 12.72% |
▷ Private methods | 110 | 2.58% |
Functions | 640 | |
▷ Named functions | 584 | 91.25% |
▷ Anonymous functions | 56 | 8.75% |
Constants | 272 | |
▷ Global constants | 23 | 8.46% |
▷ Class constants | 249 | 91.54% |
▷ Public constants | 244 | 97.99% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
45 PNG files occupy 0.87MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/acf/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |
lib/acf/assets/images/field-type-previews/field-preview-clone.png | 44.19KB | 20.25KB | ▼ 54.17% |
lib/acf/assets/images/field-type-previews/field-preview-repeater.png | 56.77KB | 26.74KB | ▼ 52.90% |
lib/acf/assets/inc/select2/3/select2.png | 0.51KB | 0.99KB | 0.00% |
lib/acf/assets/images/field-type-previews/field-preview-radio-button.png | 15.22KB | 6.14KB | ▼ 59.69% |