Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▲1.06ms] Passed 4 tests
An overview of server-side resources used by WooCommerce Importer for Danea
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 50.06 ▲8.72 |
Dashboard /wp-admin | 3.48 ▲0.13 | 58.79 ▼6.60 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 57.71 ▼1.66 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 105.35 ▲3.77 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 54.67 ▲17.14 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 172 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Importer for Danea
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,056 ▲295 | 14.34 ▼0.22 | 2.10 ▲0.33 | 39.66 ▼1.81 |
Dashboard /wp-admin | 2,287 ▲110 | 5.65 ▼0.00 | 95.93 ▲3.81 | 46.84 ▲6.81 |
Posts /wp-admin/edit.php | 2,195 ▲95 | 1.95 ▼0.08 | 36.84 ▼2.78 | 39.32 ▼1.14 |
Add New Post /wp-admin/post-new.php | 1,607 ▲79 | 22.51 ▼0.78 | 572.72 ▼65.26 | 39.52 ▼11.85 |
Media Library /wp-admin/upload.php | 1,489 ▲89 | 4.08 ▼0.26 | 103.61 ▲2.59 | 46.56 ▼0.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wc-importer-for-danea/vendor/plugin-update-checker/build/bump-version.php
- 25× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function get_names() on null in wp-content/plugins/wc-importer-for-danea/admin/wcifd-import-supplier-template.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wc-importer-for-danea/admin/wcifd-admin.php:31
- > PHP Fatal error
Uncaught Error: Call to a member function get_names() on null in wp-content/plugins/wc-importer-for-danea/admin/wcifd-import-clients-template.php:12
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\Update' not found in wp-content/plugins/wc-importer-for-danea/vendor/plugin-update-checker/Puc/v5p2/Plugin/Update.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wc-importer-for-danea/admin/wcifd-import-orders-template.php:17
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\Vcs\\Api' not found in wp-content/plugins/wc-importer-for-danea/vendor/plugin-update-checker/Puc/v5p2/Vcs/GitHubApi.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wc-importer-for-danea/admin/ilghera-notice/class-ilghera-notice.php:214
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\Update' not found in wp-content/plugins/wc-importer-for-danea/vendor/plugin-update-checker/Puc/v5p2/Theme/Update.php:9
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\UpdateChecker' not found in wp-content/plugins/wc-importer-for-danea/vendor/plugin-update-checker/Puc/v5p2/Plugin/UpdateChecker.php:18
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\Vcs\\Api' not found in wp-content/plugins/wc-importer-for-danea/vendor/plugin-update-checker/Puc/v5p2/Vcs/GitLabApi.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: exporter, gestionale, shop, danea easyfatt, fattura elettronica...
wc-importer-for-danea/wc-importer-for-danea.php 92% from 13 tests
The primary PHP file in "WooCommerce Importer for Danea" version 1.3.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin12,267 lines of code in 115 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 63 | 1,898 | 3,118 | 6,990 |
JavaScript | 8 | 291 | 34 | 2,721 |
PO File | 25 | 309 | 394 | 1,152 |
CSS | 7 | 149 | 49 | 782 |
Markdown | 3 | 111 | 0 | 336 |
JSON | 7 | 8 | 0 | 261 |
XML | 1 | 4 | 4 | 13 |
YAML | 1 | 3 | 4 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 20.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 1 | |
Traits | 3 | |
Classes | 40 | |
▷ Abstract classes | 5 | 12.50% |
▷ Concrete classes | 35 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 429 | |
▷ Static methods | 45 | 10.49% |
▷ Public methods | 273 | 63.64% |
▷ Protected methods | 139 | 32.40% |
▷ Private methods | 17 | 3.96% |
Functions | 39 | |
▷ Named functions | 32 | 82.05% |
▷ Anonymous functions | 7 | 17.95% |
Constants | 16 | |
▷ Global constants | 5 | 31.25% |
▷ Class constants | 11 | 68.75% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/tzCheckbox/img/page_bg.png | 0.19KB | 0.26KB | 0.00% |
js/tzCheckbox/jquery.tzCheckbox/background-small.png | 3.88KB | 2.22KB | ▼ 42.84% |
js/tzCheckbox/jquery.tzCheckbox/background.png | 4.96KB | 2.59KB | ▼ 47.82% |
vendor/harvesthq/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
js/tzCheckbox/img/line_bg.png | 0.26KB | 0.23KB | ▼ 9.16% |