Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▲1.18ms] Passed 4 tests
Server-side resources used by Bancomail Email Lists Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 46.95 ▲9.22 |
Dashboard /wp-admin | 3.44 ▲0.14 | 54.06 ▲4.74 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 52.27 ▼0.70 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 88.73 ▼3.85 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 39.33 ▲4.51 |
Orders history /wp-admin/admin.php?page=bancomail-email-lists-integration-ordini | 3.48 | 38.32 |
Bancomail Email Lists Integration /wp-admin/admin.php?page=bancomail-email-lists-integration | 3.62 | 381.40 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 279 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_bm_ws_order_history |
wp_bm_ws_cart |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Bancomail Email Lists Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲117 | 13.47 ▼1.10 | 8.63 ▲6.49 | 41.98 ▼4.17 |
Dashboard /wp-admin | 2,223 ▲46 | 5.63 ▲0.02 | 87.93 ▼3.15 | 42.25 ▼0.08 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.01 ▲0.07 | 38.68 ▼0.42 | 35.15 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,400 ▼130 | 18.82 ▼4.31 | 541.60 ▼135.15 | 49.98 ▼2.84 |
Media Library /wp-admin/upload.php | 1,428 ▲31 | 4.19 ▼0.04 | 101.13 ▼1.94 | 45.92 ▼2.11 |
Orders history /wp-admin/admin.php?page=bancomail-email-lists-integration-ordini | 976 | 2.00 | 26.46 | 32.28 |
Bancomail Email Lists Integration /wp-admin/admin.php?page=bancomail-email-lists-integration | 1,049 | 1.80 | 25.69 | 31.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_bm_ws_cart
- wp_bm_ws_order_history
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bancomail-email-lists-integration
- > Notice in wp-content/plugins/bancomail-email-lists-integration/admin/bm_webservice_admin_page.php+416
Undefined index: tab
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=bancomail-email-lists-integration-ordini
- > Javascript (severe) in unknown
/wp-content/plugins/bancomail-email-lists-integration/js/bm_admin_js.js?ver=6.3.1 124:49 Uncaught TypeError: Cannot read properties of null (reading 'style')
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: A description for screenshot #7 is required in bancomail-email-lists-integration/assets to your readme.txt
bancomail-email-lists-integration/bancomail-email-lists-integration.php Passed 13 tests
"Bancomail Email Lists Integration" version 1.1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
52 characters long description:
A plugin that integrate Bancomail's products into wp
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin4,057 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 285 | 97 | 2,421 |
PO File | 2 | 286 | 330 | 745 |
CSS | 2 | 66 | 9 | 624 |
JavaScript | 2 | 48 | 11 | 267 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 70.33 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 5.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 85.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 29 | 67.44% |
▷ Protected methods | 4 | 9.30% |
▷ Private methods | 10 | 23.26% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
256 compressed PNG files occupy 0.21MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/flags/zm.png | 0.49KB | 0.67KB | 0.00% |
images/flags/ma.png | 0.42KB | 0.60KB | 0.00% |
images/flags/zw.png | 0.56KB | 0.75KB | 0.00% |
images/flags/bt.png | 0.62KB | 0.70KB | 0.00% |
images/flags/ng.png | 0.47KB | 0.64KB | 0.00% |