Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▲2.42ms] Passed 4 tests
A check of server-side resources used by Order Export to Lexware for WooCommerce - OpenTRANS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 41.33 ▲0.43 |
Dashboard /wp-admin | 3.58 ▲0.27 | 53.01 ▲4.65 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 48.57 ▲0.81 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 110.61 ▲11.88 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 38.10 ▲3.77 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Order Export to Lexware for WooCommerce - OpenTRANS
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲37 | 13.29 ▼1.12 | 1.75 ▼0.48 | 43.93 ▼0.17 |
Dashboard /wp-admin | 2,214 ▲26 | 5.79 ▲0.88 | 97.47 ▼8.77 | 39.22 ▼4.89 |
Posts /wp-admin/edit.php | 2,100 ▲8 | 2.00 ▼0.01 | 38.75 ▼0.83 | 35.14 ▲4.60 |
Add New Post /wp-admin/post-new.php | 1,522 ▲3 | 23.29 ▲0.13 | 594.93 ▼13.29 | 55.02 ▲4.72 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.26 ▲0.04 | 97.62 ▼4.41 | 41.62 ▼4.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
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 | 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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/order-export-to-lexware-opentrans-for-woocommerce/admin/partials/display-nscwto.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Contributors: The plugin contributors field is not present
order-export-to-lexware-opentrans-for-woocommerce/order-to-lexware-nscwto.php 85% from 13 tests
The main PHP file in "Order Export to Lexware for WooCommerce - OpenTRANS" ver. 1.4.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("order-export-to-lexware-opentrans-for-woocommerce.php" instead of "order-to-lexware-nscwto.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin3,093 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 80 | 44 | 1,297 |
PHP | 15 | 212 | 190 | 1,135 |
JSON | 1 | 0 | 0 | 322 |
CSS | 2 | 31 | 4 | 236 |
PO File | 2 | 36 | 36 | 103 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 2 | 2.30% |
▷ Public methods | 41 | 47.13% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 46 | 52.87% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected