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.02MB] [CPU: ▼2.43ms] Passed 4 tests
An overview of server-side resources used by Delovye Linii for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.30 ▼0.11 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.88 ▼0.76 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.24 ▲1.95 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.35 ▼10.81 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 36.63 ▲3.19 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Delovye Linii for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.51 ▼0.07 | 1.69 ▲0.14 | 43.83 ▲3.58 |
Dashboard /wp-admin | 2,195 ▲18 | 5.60 ▲0.00 | 94.44 ▲10.62 | 43.06 ▲0.49 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.00 | 35.99 ▲0.74 | 35.73 ▲1.80 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.36 ▼4.72 | 633.69 ▼39.74 | 64.26 ▲10.24 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.27 ▲0.09 | 92.24 ▼4.00 | 41.07 ▼0.73 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please take a closer look at the following
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
include(DELLIN_PLUGIN_DIR/inc/dellinClasses/DellinLogger.php): failed to open stream: No such file or directory in wp-content/plugins/delovye-linii-for-woocommerce/inc/dellinClasses/ApiCore.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'DellinLogger' not found in wp-content/plugins/delovye-linii-for-woocommerce/inc/dellinClasses/ApiCore.php:3
- > PHP Fatal error
Uncaught Error: Class 'DellinLogger' not found in wp-content/plugins/delovye-linii-for-woocommerce/inc/dellinClasses/ApiCore.php:3
- > PHP Warning
include(): Failed opening 'DELLIN_PLUGIN_DIR/inc/dellinClasses/DellinLogger.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/delovye-linii-for-woocommerce/inc/dellinClasses/ApiCore.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/delovye-linii-for-woocommerce/inc/dellin_ajax.php:4
- > PHP Warning
Use of undefined constant DELLIN_PLUGIN_DIR - assumed 'DELLIN_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/delovye-linii-for-woocommerce/inc/dellinClasses/ApiCore.php on line 2
- > PHP Warning
include(): Failed opening 'DELLIN_PLUGIN_DIR/inc/dellinClasses/DellinLogger.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/delovye-linii-for-woocommerce/inc/dellinClasses/ApiCore.php on line 2
- > PHP Warning
include(DELLIN_PLUGIN_DIR/inc/dellinClasses/DellinLogger.php): failed to open stream: No such file or directory in wp-content/plugins/delovye-linii-for-woocommerce/inc/dellinClasses/ApiCore.php on line 2
- > PHP Warning
Use of undefined constant DELLIN_PLUGIN_DIR - assumed 'DELLIN_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/delovye-linii-for-woocommerce/inc/dellinClasses/ApiCore.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: woocommerce shipping, shipping, woocommerce
delovye-linii-for-woocommerce/dellin-shipping-for-woocommerce.php 69% from 13 tests
The entry point to "Delovye Linii for WooCommerce" version 1.1.3 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("delovye-linii-for-woocommerce.php" instead of "dellin-shipping-for-woocommerce.php")
- Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "4.6.0")
- Description: Please keep the plugin description shorter than 140 characters (currently 187 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin3,739 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 654 | 943 | 2,820 |
JavaScript | 2 | 59 | 44 | 457 |
PO File | 1 | 147 | 156 | 341 |
CSS | 2 | 6 | 0 | 119 |
Markdown | 1 | 2 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 50.75 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 260.00 |
Average method complexity | 4.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 102 | |
▷ Static methods | 74 | 72.55% |
▷ Public methods | 94 | 92.16% |
▷ Protected methods | 6 | 5.88% |
▷ Private methods | 2 | 1.96% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 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
No PNG images were found in this plugin