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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▼1.38ms] Passed 4 tests
Server-side resources used by Интеграция со службой доставки Boxberry
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 41.55 ▼0.71 |
Dashboard /wp-admin | 3.49 ▲0.19 | 44.55 ▼6.10 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 47.93 ▲4.00 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 89.08 ▼2.17 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 37.44 ▲3.48 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 88 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Интеграция со службой доставки Boxberry
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.47 ▲0.09 | 2.01 ▼0.29 | 44.19 ▼6.22 |
Dashboard /wp-admin | 2,206 ▲18 | 4.83 ▼0.09 | 111.56 ▼8.23 | 43.21 ▼1.22 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.02 | 40.42 ▲3.36 | 34.99 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.24 ▼0.09 | 608.24 ▼31.52 | 49.48 ▼2.07 |
Media Library /wp-admin/upload.php | 1,382 ▼0 | 4.39 ▲0.15 | 97.33 ▲0.63 | 41.51 ▲0.30 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 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 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
The following issues need your attention
- 59× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Boxberry\\Requests\\Request' not found in wp-content/plugins/boxberry/Boxberry/src/Requests/PointsByPostcodeRequest.php:23
- > PHP Fatal error
Uncaught Error: Class 'boxberry\\Requests\\Request' not found in wp-content/plugins/boxberry/Boxberry/src/Requests/DadataSuggestionsRequest.php:5
- > PHP Fatal error
Uncaught Error: Class 'boxberry\\Collections\\Collection' not found in wp-content/plugins/boxberry/Boxberry/src/Collections/DadataSuggestionsCollection.php:8
- > PHP Fatal error
Uncaught Error: Class 'Boxberry\\Requests\\Request' not found in wp-content/plugins/boxberry/Boxberry/src/Requests/GetKeyIntegrationRequest.php:23
- > PHP Fatal error
Uncaught Error: Class 'Boxberry\\Models\\AbstractModel' not found in wp-content/plugins/boxberry/Boxberry/src/Models/Status.php:23
- > PHP Fatal error
Uncaught Error: Class 'Boxberry\\Collections\\Collection' not found in wp-content/plugins/boxberry/Boxberry/src/Collections/ImgIdsCollection.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boxberry/boxberry-for-woocommerce.php:24
- > PHP Fatal error
Uncaught Error: Class 'Boxberry\\Collections\\Collection' not found in wp-content/plugins/boxberry/Boxberry/src/Collections/ListServiceCollection.php:26
- > PHP Fatal error
Uncaught Error: Class 'boxberry\\Collections\\Collection' not found in wp-content/plugins/boxberry/Boxberry/src/Collections/DeliveryCalculationCollection.php:8
- > PHP Fatal error
Uncaught Error: Class 'Boxberry\\Requests\\Request' not found in wp-content/plugins/boxberry/Boxberry/src/Requests/ZipCheckRequest.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: boxberry shipping, boxberry, woocommerce, wordpress
boxberry/boxberry-for-woocommerce.php 92% from 13 tests
The primary PHP file in "Интеграция со службой доставки Boxberry" version 2.20 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("boxberry.php" instead of "boxberry-for-woocommerce.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
Everything looks great! No dangerous files found in this plugin5,165 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 78 | 1,166 | 3,838 | 4,835 |
JavaScript | 2 | 27 | 0 | 195 |
PO File | 1 | 40 | 24 | 95 |
CSS | 1 | 0 | 0 | 40 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 3.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 1.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 81 | |
▷ Abstract classes | 3 | 3.70% |
▷ Concrete classes | 78 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 605 | |
▷ Static methods | 25 | 4.13% |
▷ Public methods | 598 | 98.84% |
▷ Protected methods | 1 | 0.17% |
▷ Private methods | 6 | 0.99% |
Functions | 27 | |
▷ Named functions | 25 | 92.59% |
▷ Anonymous functions | 2 | 7.41% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.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