Benchmarks
Plugin footprint 83% 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: ▲3.79MB] [CPU: ▲24.58ms] Passed 4 tests
Analyzing server-side resources used by Notificações para WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.04 ▲3.57 | 62.95 ▲22.15 |
Dashboard /wp-admin | 7.11 ▲3.81 | 70.44 ▲17.24 |
Posts /wp-admin/edit.php | 7.23 ▲3.87 | 79.75 ▲28.45 |
Add New Post /wp-admin/post-new.php | 9.96 ▲4.07 | 132.59 ▲30.49 |
Media Library /wp-admin/upload.php | 7.12 ▲3.89 | 69.73 ▲32.11 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 7.22 | 87.54 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 7.11 | 59.63 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 7.10 | 62.56 |
Server storage [IO: ▲8.80MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 260 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
acf_version |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Notificações para WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲122 | 14.67 ▲0.32 | 2.00 ▲0.35 | 44.55 ▲0.74 |
Dashboard /wp-admin | 2,259 ▲79 | 5.49 ▼0.10 | 85.99 ▼3.52 | 42.32 ▼0.93 |
Posts /wp-admin/edit.php | 2,167 ▲64 | 2.04 ▲0.05 | 40.65 ▲4.92 | 38.14 ▼0.16 |
Add New Post /wp-admin/post-new.php | 11,381 ▲9,853 | 26.37 ▲3.03 | 1,216.05 ▲547.23 | 41.43 ▼11.89 |
Media Library /wp-admin/upload.php | 2,019 ▲622 | 8.32 ▲4.12 | 228.31 ▲109.86 | 54.11 ▲5.43 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 2,398 | 3.68 | 89.30 | 78.46 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 1,231 | 2.91 | 43.95 | 39.50 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,266 | 2.29 | 32.41 | 32.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- acf_version
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 76× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/notifications-woocommerce/includes/acf/includes/fields/class-acf-field-accordion.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/notifications-woocommerce/includes/acf/includes/fields/class-acf-field-post_object.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/notifications-woocommerce/includes/acf/includes/fields/class-acf-field-image.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/notifications-woocommerce/includes/acf/includes/api/api-template.php:898
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/notifications-woocommerce/includes/acf/includes/fields/class-acf-field-google-map.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field_number' not found in wp-content/plugins/notifications-woocommerce/includes/acf/includes/fields/class-acf-field-range.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/notifications-woocommerce/includes/acf/includes/fields/class-acf-field-output.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/notifications-woocommerce/includes/acf/includes/fields/class-acf-field-tab.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/notifications-woocommerce/includes/acf/includes/fields/class-acf-field-email.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/notifications-woocommerce/includes/acf/includes/admin/views/html-location-group.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2 in notifications-woocommerce/assets to your readme.txt
notifications-woocommerce/notifications-woocommerce.php Passed 13 tests
This is the main PHP file of "Notificações para WooCommerce" version 1.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
67 characters long description:
Notificações em tempo real do WooCommerce diretamente no WhatsApp
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
Good job! No executable or dangerous file extensions detected113,790 lines of code in 205 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 31 | 24,109 | 41,341 | 49,290 |
JavaScript | 17 | 5,886 | 5,989 | 38,456 |
PHP | 140 | 8,712 | 18,312 | 19,946 |
CSS | 15 | 495 | 739 | 6,078 |
Markdown | 1 | 11 | 0 | 14 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 14.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 102 | |
▷ Abstract classes | 2 | 1.96% |
▷ Concrete classes | 100 | 98.04% |
▷ Final classes | 0 | 0.00% |
Methods | 748 | |
▷ Static methods | 1 | 0.13% |
▷ Public methods | 730 | 97.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 2.41% |
Functions | 458 | |
▷ Named functions | 455 | 99.34% |
▷ Anonymous functions | 3 | 0.66% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/acf/assets/inc/select2/3/select2x2.png | 0.64KB | 0.77KB | 0.00% |
includes/acf/assets/inc/select2/3/select2.png | 0.51KB | 0.99KB | 0.00% |
includes/acf/assets/inc/datepicker/images/ui-icons_ffffff_256x240.png | 3.68KB | 4.17KB | 0.00% |
includes/acf/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |
includes/acf/assets/inc/datepicker/images/ui-icons_444444_256x240.png | 3.68KB | 4.17KB | 0.00% |