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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.41ms] Passed 4 tests
A check of server-side resources used by Furgonetka.pl: Integracja z WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.07 | 42.30 ▲2.93 |
Dashboard /wp-admin | 3.40 ▲0.02 | 52.01 ▼11.75 |
Posts /wp-admin/edit.php | 3.52 ▲0.12 | 48.10 ▼2.27 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.06 | 86.76 ▼12.48 |
Media Library /wp-admin/upload.php | 3.33 ▲0.06 | 37.02 ▲0.88 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 65 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Furgonetka.pl: Integracja z WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.00 | 1.57 ▼0.42 | 41.14 ▼0.75 |
Dashboard /wp-admin | 2,192 ▲15 | 5.62 ▼0.05 | 83.55 ▼3.93 | 41.05 ▼2.05 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.99 ▲0.03 | 35.52 ▼1.09 | 36.70 ▲2.98 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 18.09 ▼5.47 | 659.93 ▼13.72 | 68.42 ▲17.41 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.16 ▼0.02 | 96.34 ▼7.78 | 41.35 ▼4.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Furgonetka_Endpoint_Abstract' not found in wp-content/plugins/furgonetka/includes/rest_api/endpoint_controllers/returns/class-furgonetka-endpoint-get-return-info.php:21
- > PHP Fatal error
Uncaught Error: Class 'Furgonetka_Admin_Tabs' not found in wp-content/plugins/furgonetka/includes/admin_tabs/class-furgonetka-advanced-settings-tab.php:21
- > PHP Fatal error
Uncaught Error: Class 'Furgonetka_Endpoint_Abstract' not found in wp-content/plugins/furgonetka/includes/rest_api/endpoint_controllers/returns/class-furgonetka-endpoint-update-return-info.php:21
- > PHP Fatal error
Uncaught Error: Class 'Furgonetka_Endpoint_Abstract' not found in wp-content/plugins/furgonetka/includes/rest_api/endpoint_controllers/returns/class-furgonetka-endpoint-post-return-info.php:21
- > PHP Fatal error
Uncaught Error: Class 'Furgonetka_Admin_Tabs' not found in wp-content/plugins/furgonetka/includes/admin_tabs/class-furgonetka-attach-map-tab.php:21
- > PHP Fatal error
Uncaught Error: Class 'Furgonetka_Endpoint_Abstract' not found in wp-content/plugins/furgonetka/includes/rest_api/endpoint_controllers/returns/class-furgonetka-endpoint-delete-return-info.php:21
- > PHP Fatal error
Uncaught Error: Class 'Furgonetka_Admin_Tabs' not found in wp-content/plugins/furgonetka/includes/admin_tabs/class-furgonetka-admin-nav.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/furgonetka/public/class-furgonetka-public.php:3
- > PHP Fatal error
Uncaught Error: Class 'Furgonetka_Endpoint_Abstract' not found in wp-content/plugins/furgonetka/includes/rest_api/endpoint_controllers/class-furgonetka-endpoint-update-orders-information.php:21
- > PHP Fatal error
Uncaught Error: Class 'Furgonetka_Admin_Tabs' not found in wp-content/plugins/furgonetka/includes/admin_tabs/class-furgonetka-api-settings-tab.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: courier, paczki, delivery, kurier
furgonetka/furgonetka.php 85% from 13 tests
The primary PHP file in "Furgonetka.pl: Integracja z WooCommerce" version 1.2.17 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("3.0.1" instead of "3.4.7")
- Description: The description should be shorter than 140 characters (currently 182 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin4,581 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 48 | 691 | 2,569 | 4,133 |
PO File | 1 | 77 | 52 | 169 |
JavaScript | 4 | 30 | 33 | 155 |
CSS | 3 | 16 | 15 | 94 |
SVG | 2 | 1 | 0 | 29 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 170.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 2 | 4.76% |
▷ Concrete classes | 40 | 95.24% |
▷ Final classes | 0 | 0.00% |
Methods | 252 | |
▷ Static methods | 58 | 23.02% |
▷ Public methods | 210 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 42 | 16.67% |
Functions | 10 | |
▷ Named functions | 7 | 70.00% |
▷ Anonymous functions | 3 | 30.00% |
Constants | 21 | |
▷ Global constants | 6 | 28.57% |
▷ Class constants | 15 | 71.43% |
▷ Public constants | 15 | 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