Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.36MB] [CPU: ▼1.11ms] Passed 4 tests
Analyzing server-side resources used by Integration to NettiX for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.52 | 42.76 ▲1.06 |
Dashboard /wp-admin | 3.69 ▲0.39 | 45.24 ▼5.83 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 48.99 ▲5.16 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.33 | 93.06 ▼3.35 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 37.96 ▲3.70 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Integration to NettiX for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲41 | 14.19 ▼0.06 | 1.56 ▼0.21 | 39.02 ▼5.93 |
Dashboard /wp-admin | 2,211 ▲31 | 5.61 ▼0.06 | 92.65 ▲2.49 | 39.53 ▼1.05 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.99 ▲0.03 | 41.63 ▲4.94 | 38.43 ▲2.26 |
Add New Post /wp-admin/post-new.php | 1,543 ▲7 | 25.28 ▲2.27 | 600.99 ▼68.98 | 73.08 ▲23.54 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.18 ▼0.06 | 98.60 ▲2.23 | 41.83 ▲1.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
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 no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration_NettiX\\Plugin\\Ad_Handler' not found in wp-content/plugins/wc-integration-to-nettix/src/classes/Plugin/Nettimoto_Ad_Handler.php:7
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration_NettiX\ettiX_Client\\Base_Client' not found in wp-content/plugins/wc-integration-to-nettix/src/classes/NettiX_Client/Nettiauto_Client.php:7
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/wc-integration-to-nettix/src/classes/WC_Integration_NettiX_Integration.php:4
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration_NettiX\\Plugin\\Ad_Handler' not found in wp-content/plugins/wc-integration-to-nettix/src/classes/Plugin/Nettiauto_Ad_Handler.php:7
- > PHP Fatal error
Uncaught Error: Interface 'WC_Integration_NettiX\\Cache\\Cache' not found in wp-content/plugins/wc-integration-to-nettix/src/classes/Cache/File_Cache.php:8
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration_NettiX\\Plugin\\Ad_Handler' not found in wp-content/plugins/wc-integration-to-nettix/src/classes/Plugin/Nettivene_Ad_Handler.php:7
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration_NettiX\ettiX_Client\\Base_Client' not found in wp-content/plugins/wc-integration-to-nettix/src/classes/NettiX_Client/Nettivene_Client.php:7
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration_NettiX\ettiX_Client\\Base_Client' not found in wp-content/plugins/wc-integration-to-nettix/src/classes/NettiX_Client/Nettimoto_Client.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% 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
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Example list of downloaded external products) image not found
wc-integration-to-nettix/wc-integration-to-nettix.php 92% from 13 tests
The main PHP file in "Integration to NettiX for WooCommerce" ver. 1.0.7 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 184 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
No dangerous file extensions were detected1,807 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 338 | 343 | 1,643 |
PO File | 1 | 34 | 36 | 122 |
JavaScript | 1 | 12 | 0 | 42 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 2 | 11.76% |
▷ Concrete classes | 15 | 88.24% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 59 | 54.13% |
▷ Protected methods | 26 | 23.85% |
▷ Private methods | 24 | 22.02% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.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
There are no PNG files in this plugin