Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.64ms] Passed 4 tests
A check of server-side resources used by Linet ERP-Woocommerce Integration Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.50 ▼12.06 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.46 ▼6.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.91 ▼4.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.69 ▼7.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.97 ▲4.14 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Linet ERP-Woocommerce Integration Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.32 ▼1.07 | 1.68 ▼0.35 | 40.97 ▼5.66 |
Dashboard /wp-admin | 2,206 ▲21 | 5.77 ▲0.89 | 95.86 ▼19.77 | 38.35 ▼7.15 |
Posts /wp-admin/edit.php | 2,086 ▲18 | 2.04 ▲0.04 | 35.87 ▼0.93 | 31.19 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.31 ▼0.08 | 665.12 ▼17.06 | 56.28 ▼6.08 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.17 ▼0.01 | 94.03 ▼11.07 | 41.91 ▼2.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: options in wp-content/plugins/linet-erp-woocommerce-integration/templates/field-elementor.php on line 67
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/linet-erp-woocommerce-integration/woocommerce-linet.php:204
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/linet-erp-woocommerce-integration/templates/field-elementor.php on line 4
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/linet-erp-woocommerce-integration/templates/field-repeater.php:34
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/linet-erp-woocommerce-integration/templates/field-elementor.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ElementorPro\\Modules\\Forms\\Classes\\Action_Base' not found in wp-content/plugins/linet-erp-woocommerce-integration/classes/class-wc-li-linet-elementor.php:11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/linet-erp-woocommerce-integration/templates/field-repeater.php on line 4
- > PHP Notice
Undefined variable: args in wp-content/plugins/linet-erp-woocommerce-integration/templates/field-elementor.php on line 4
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/linet-erp-woocommerce-integration/templates/field-cf7.php:10
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/linet-erp-woocommerce-integration/templates/field-elementor.php:72
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (No screenshots attached)
linet-erp-woocommerce-integration/woocommerce-linet.php 69% from 13 tests
The entry point to "Linet ERP-Woocommerce Integration Plugin" version 3.4.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- 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
- Description: The description should be shorter than 140 characters (currently 180 characters long)
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.6" instead of "2.2")
- Main file name: The principal plugin file should be the same as the plugin slug ("linet-erp-woocommerce-integration.php" instead of "woocommerce-linet.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin4,137 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 1,421 | 1,121 | 4,121 |
XML | 2 | 0 | 0 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 30.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 216.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 159 | |
▷ Static methods | 69 | 43.40% |
▷ Public methods | 157 | 98.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.26% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
Constants | 7 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 7 | 100.00% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/pdf.png | 4.26KB | 3.15KB | ▼ 26.01% |