Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/flower-delivery-by-florist-one/public/flower-delivery.php+16
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.20MB] [CPU: ▼12.49ms] Passed 4 tests
An overview of server-side resources used by Flower Delivery by Florist One
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 41.96 ▲2.85 |
Dashboard /wp-admin | 3.51 ▲0.17 | 50.95 ▼16.01 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 45.75 ▼5.12 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 85.53 ▼26.91 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 36.02 ▼1.90 |
Server storage [IO: ▲0.99MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 44 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
florist-one-flower-delivery |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Flower Delivery by Florist One
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,992 ▲246 | 14.32 ▼0.03 | 21.25 ▲19.42 | 46.08 ▲4.98 |
Dashboard /wp-admin | 2,228 ▲47 | 5.99 ▲0.37 | 87.41 ▼17.59 | 42.32 ▼2.21 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.35 ▲0.37 | 37.30 ▼0.11 | 36.43 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.25 ▼0.21 | 674.19 ▼40.13 | 37.57 ▼14.69 |
Media Library /wp-admin/upload.php | 1,437 ▲34 | 4.34 ▲0.23 | 96.47 ▼12.51 | 43.03 ▼3.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- florist-one-flower-delivery
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% 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 0% 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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/flower-delivery-by-florist-one/public/partials/recipient-state-list.php
- > /wp-content/plugins/flower-delivery-by-florist-one/public/partials/florist-one-flower-delivery-cart-body.php
- 213× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: autopop in wp-content/plugins/flower-delivery-by-florist-one/public/partials/recipient-state-list.php on line 11
- > PHP Notice
Undefined variable: autopop in wp-content/plugins/flower-delivery-by-florist-one/public/partials/recipient-state-list.php on line 43
- > PHP Notice
Undefined variable: _SESSION in wp-content/plugins/flower-delivery-by-florist-one/public/partials/recipient-state-list.php on line 30
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/flower-delivery-by-florist-one/public/partials/recipient-state-list.php on line 32
- > PHP Notice
Undefined variable: autopop in wp-content/plugins/flower-delivery-by-florist-one/public/partials/recipient-state-list.php on line 45
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/flower-delivery-by-florist-one/public/partials/recipient-state-list.php on line 49
- > PHP Notice
Undefined variable: autopop in wp-content/plugins/flower-delivery-by-florist-one/public/partials/recipient-state-list.php on line 21
- > PHP Notice
Undefined variable: _SESSION in wp-content/plugins/flower-delivery-by-florist-one/public/partials/recipient-state-list.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/flower-delivery-by-florist-one/public/partials/recipient-state-list.php on line 67
- > PHP Notice
Undefined variable: autopop in wp-content/plugins/flower-delivery-by-florist-one/public/partials/recipient-state-list.php on line 61
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 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
9 plugin tags: flower delivery, flower shop, flowershop, florist, affiliate program...
flower-delivery-by-florist-one/florist-one-flower-delivery.php 85% from 13 tests
The main PHP script in "Flower Delivery by Florist One" version 3.7 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("flower-delivery-by-florist-one.php" instead of "florist-one-flower-delivery.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected15,038 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 68 | 60 | 9,490 |
PHP | 28 | 447 | 601 | 2,985 |
JavaScript | 7 | 486 | 180 | 2,563 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 5.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 23 | 79.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 20.69% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin