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
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.29ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Exporter for Danea
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.08 ▲0.06 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.74 ▼3.43 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.40 ▲2.96 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.56 ▼8.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 40.08 ▲8.16 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 170 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Exporter for Danea
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.29 ▼1.00 | 2.62 ▲0.79 | 42.00 ▼4.10 |
Dashboard /wp-admin | 2,205 ▲17 | 5.80 ▼0.09 | 97.66 ▼16.49 | 42.02 ▼2.00 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.05 ▲0.05 | 39.29 ▲0.30 | 36.29 ▲1.52 |
Add New Post /wp-admin/post-new.php | 1,530 ▼3 | 23.08 ▼0.17 | 651.71 ▼22.26 | 58.78 ▼3.08 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.20 ▼0.00 | 96.28 ▲2.02 | 43.76 ▲1.66 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wc-exporter-for-danea/vendor/plugin-update-checker/build/bump-version.php
- 24× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\Metadata' not found in wp-content/plugins/wc-exporter-for-danea/vendor/plugin-update-checker/Puc/v5p2/Plugin/PluginInfo.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wc-exporter-for-danea/includes/ilghera-notice/class-ilghera-notice.php:214
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\DebugBar\\Panel' not found in wp-content/plugins/wc-exporter-for-danea/vendor/plugin-update-checker/Puc/v5p2/DebugBar/PluginPanel.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wc-exporter-for-danea/includes/wcexd-suppliers-download.php:9
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\UpdateChecker' not found in wp-content/plugins/wc-exporter-for-danea/vendor/plugin-update-checker/Puc/v5p2/Theme/UpdateChecker.php:12
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\Vcs\\Api' not found in wp-content/plugins/wc-exporter-for-danea/vendor/plugin-update-checker/Puc/v5p2/Vcs/GitLabApi.php:7
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\Theme\\UpdateChecker' not found in wp-content/plugins/wc-exporter-for-danea/vendor/plugin-update-checker/Puc/v5p2/Vcs/ThemeUpdateChecker.php:10
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\InstalledPackage' not found in wp-content/plugins/wc-exporter-for-danea/vendor/plugin-update-checker/Puc/v5p2/Plugin/Package.php:9
- > PHP Fatal error
Uncaught Error: Class 'Ilghera_Notice' not found in wp-content/plugins/wc-exporter-for-danea/includes/ilghera-notice/extension.php:11
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\DebugBar\\Extension' not found in wp-content/plugins/wc-exporter-for-danea/vendor/plugin-update-checker/Puc/v5p2/DebugBar/PluginExtension.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: exporter, gestionale, shop, products, danea easyfatt...
wc-exporter-for-danea/wc-exporter-for-danea.php 85% from 13 tests
Analyzing the main PHP file in "WooCommerce Exporter for Danea" version 1.5.1
You should first fix the following items:
- Git Repository: An alternative Git repository was detected
- Description: The description should be shorter than 140 characters (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected12,542 lines of code in 113 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 60 | 2,095 | 3,094 | 7,176 |
JavaScript | 9 | 356 | 65 | 2,816 |
PO File | 25 | 255 | 278 | 1,172 |
CSS | 7 | 143 | 48 | 756 |
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
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 22.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 1 | |
Traits | 3 | |
Classes | 42 | |
▷ Abstract classes | 5 | 11.90% |
▷ Concrete classes | 37 | 88.10% |
▷ Final classes | 0 | 0.00% |
Methods | 453 | |
▷ Static methods | 54 | 11.92% |
▷ Public methods | 297 | 65.56% |
▷ Protected methods | 139 | 30.68% |
▷ Private methods | 17 | 3.75% |
Functions | 19 | |
▷ Named functions | 12 | 63.16% |
▷ Anonymous functions | 7 | 36.84% |
Constants | 14 | |
▷ Global constants | 3 | 21.43% |
▷ Class constants | 11 | 78.57% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/harvesthq/chosen/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
js/tzCheckbox/jquery.tzCheckbox/background.png | 4.96KB | 2.59KB | ▼ 47.82% |
js/tzCheckbox/img/page_bg.png | 0.19KB | 0.26KB | 0.00% |
includes/ilghera-notice/images/ilGhera-icon-40px.png | 10.48KB | 1.70KB | ▼ 83.74% |
js/tzCheckbox/jquery.tzCheckbox/background-small.png | 3.88KB | 2.22KB | ▼ 42.84% |