Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.13ms] Passed 4 tests
A check of server-side resources used by Ultraleet Woocommerce Erply Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 45.45 ▼3.23 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.67 ▼4.87 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.25 ▼0.61 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.41 ▼11.80 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.32 ▲1.23 |
Server storage [IO: ▲2.69MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 793 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultraleet Woocommerce Erply Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.53 ▼1.22 | 1.89 ▲0.02 | 41.11 ▼7.98 |
Dashboard /wp-admin | 2,203 ▲15 | 5.84 ▲0.96 | 101.30 ▼19.53 | 40.09 ▼4.32 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.05 ▲0.02 | 53.41 ▲13.70 | 41.56 ▲8.14 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.70 ▲0.01 | 611.99 ▼40.19 | 55.29 ▲2.08 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.15 ▼0.07 | 97.26 ▼2.84 | 43.91 ▲1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following items
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/ultraleet-wc-erply-integration/vendor/nikic/php-parser/grammar/rebuildParsers.php
- > /wp-content/plugins/ultraleet-wc-erply-integration/vendor/ultraleet/wp-settings/assets/views/fields/section-header.php
- > /wp-content/plugins/ultraleet-wc-erply-integration/vendor/slim/php-view/tests/testLayout.php
- > /wp-content/plugins/ultraleet-wc-erply-integration/vendor/ultraleet/wp-settings/assets/views/section.php
- > /wp-content/plugins/ultraleet-wc-erply-integration/vendor/ultraleet/wp-settings/assets/views/settings.php
- 540× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'PhpParser\ode' not found in wp-content/plugins/ultraleet-wc-erply-integration/vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php:5
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/ultraleet-wc-erply-integration/vendor/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php:24
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Expr' not found in wp-content/plugins/ultraleet-wc-erply-integration/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/StaticCall.php:9
- > PHP Fatal error
Uncaught Error: Class 'Invoker\\Exception\\InvocationException' not found in wp-content/plugins/ultraleet-wc-erply-integration/vendor/php-di/invoker/src/Exception/NotCallableException.php:10
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Expr\\Cast' not found in wp-content/plugins/ultraleet-wc-erply-integration/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Unset_.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Config\\ConfigCacheInterface' not found in wp-content/plugins/ultraleet-wc-erply-integration/vendor/symfony/config/ResourceCheckerConfigCache.php:24
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Scalar' not found in wp-content/plugins/ultraleet-wc-erply-integration/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/LNumber.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/ultraleet-wc-erply-integration/vendor/psr/http-message/src/ServerRequestInterface.php:43
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Stmt' not found in wp-content/plugins/ultraleet-wc-erply-integration/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Finally_.php:7
- > PHP Fatal error
Uncaught Error: Class 'Doctrine\\Common\\Lexer\\AbstractLexer' not found in wp-content/plugins/ultraleet-wc-erply-integration/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocLexer.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: integration, erply, e-commerce, ecommerce, pos...
ultraleet-wc-erply-integration/woocommerce-erply-integration.php 92% from 13 tests
The principal PHP file in "Ultraleet Woocommerce Erply Integration" v. 1.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("ultraleet-wc-erply-integration.php" instead of "woocommerce-erply-integration.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Please make sure to remedy the following
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/ultraleet-wc-erply-integration/vendor/bin/php-parse.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 715 | 9,158 | 21,985 | 41,608 |
JavaScript | 10 | 403 | 811 | 2,033 |
yacc | 3 | 300 | 12 | 1,857 |
Markdown | 16 | 495 | 0 | 1,393 |
JSON | 1 | 0 | 0 | 1,165 |
YAML | 7 | 19 | 1 | 228 |
reStructuredText | 4 | 193 | 298 | 169 |
XSD | 1 | 19 | 0 | 151 |
CSS | 2 | 9 | 24 | 62 |
XML | 2 | 5 | 3 | 54 |
Bourne Shell | 1 | 3 | 1 | 10 |
SQL | 1 | 0 | 0 | 10 |
DOS Batch | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 116 | |
Interfaces | 71 | |
Traits | 11 | |
Classes | 599 | |
▷ Abstract classes | 43 | 7.18% |
▷ Concrete classes | 556 | 92.82% |
▷ Final classes | 26 | 4.68% |
Methods | 3,346 | |
▷ Static methods | 181 | 5.41% |
▷ Public methods | 2,468 | 73.76% |
▷ Protected methods | 606 | 18.11% |
▷ Private methods | 272 | 8.13% |
Functions | 1,245 | |
▷ Named functions | 57 | 4.58% |
▷ Anonymous functions | 1,188 | 95.42% |
Constants | 358 | |
▷ Global constants | 29 | 8.10% |
▷ Class constants | 329 | 91.90% |
▷ Public constants | 309 | 93.92% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected