Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'blsdd_plugin_registration_hook' not found or invalid function name
Server metrics [RAM: ▲0.02MB] [CPU: ▲12.21ms] Passed 4 tests
Analyzing server-side resources used by Blowhorn Logistics Same Day Delivery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 57.23 ▲10.01 |
Dashboard /wp-admin | 3.33 ▲0.02 | 70.99 ▲20.20 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 64.98 ▲14.61 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 107.38 ▲6.73 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 52.43 ▲17.47 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_bh_logistics |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
jal_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for Blowhorn Logistics Same Day Delivery
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 14.74 ▲0.31 | 1.86 ▼0.53 | 41.79 ▼6.19 |
Dashboard /wp-admin | 2,212 ▲27 | 5.86 ▲0.01 | 109.49 ▼8.05 | 43.06 ▼1.15 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.05 ▲0.05 | 40.71 ▲2.39 | 39.39 ▲0.67 |
Add New Post /wp-admin/post-new.php | 1,520 ▼8 | 17.57 ▼0.45 | 597.33 ▼10.78 | 63.95 ▲11.00 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.28 ▲0.12 | 100.59 ▼6.52 | 44.21 ▲1.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_bh_logistics
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- jal_db_version
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
blowhorn-logistics-same-day-delivery/init.php 92% from 13 tests
The entry point to "Blowhorn Logistics Same Day Delivery" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("blowhorn-logistics-same-day-delivery.php" instead of "init.php")
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
Success! There were no dangerous files found in this plugin599 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 194 | 69 | 599 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 46.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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 were not PNG files found in your plugin