Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.48MB] [CPU: ▲0.45ms] Passed 4 tests
Server-side resources used by SendApp Notification - Notifications on Orders and abandoned carts for WooCommerce.
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 41.50 ▲1.40 |
Dashboard /wp-admin | 3.78 ▲0.47 | 50.87 ▼3.94 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 52.47 ▲0.09 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.47 | 101.64 ▲10.92 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 41.53 ▲4.23 |
Message Logs /wp-admin/admin.php?page=san-message-log | 3.67 | 35.80 |
Notification /wp-admin/admin.php?page=san | 3.71 | 45.15 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics 75% from 4 tests
An overview of browser requirements for SendApp Notification - Notifications on Orders and abandoned carts for WooCommerce.
A great user experience is important, so you should focus on the following
- Nodes: Limit the number of DOM nodes under 25,000 (currently 65,586 on /wp-admin/admin.php?page=san)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲54 | 14.25 ▼0.28 | 1.92 ▼0.16 | 42.29 ▼2.07 |
Dashboard /wp-admin | 2,238 ▲61 | 5.69 ▲0.07 | 85.15 ▼13.46 | 74.58 ▲30.10 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 1.99 ▼0.03 | 38.86 ▼0.45 | 35.45 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.69 ▲0.79 | 618.41 ▼106.48 | 54.08 ▼1.04 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.12 ▼0.10 | 103.60 ▲2.03 | 77.17 ▲27.94 |
Message Logs /wp-admin/admin.php?page=san-message-log | 1,113 | 3.44 | 40.60 | 67.80 |
Notification /wp-admin/admin.php?page=san | 65,586 | 23.77 | 633.52 | 71.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=san
- > Notice in wp-content/plugins/sendapp-notification/san-ui.php+828
Trying to access array offset on value of type bool
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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/sendapp-notification/san-caldera.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sendapp-notification/san-cf7.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=san-message-log
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'value')" "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/sendapp-notification/assets/js/san-admin-js.js?ver=1.1.4:8:58)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=san-message-log
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of null (reading 'value')
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (22 tag instead of maximum 10)
- Screenshots: A description for screenshot #7 is missing in sendapp-notification/assets to your readme.txt
sendapp-notification/sendapp.php 92% from 13 tests
"SendApp Notification - Notifications on Orders and abandoned carts for WooCommerce." version 1.3.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sendapp-notification.php" instead of "sendapp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin8,710 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 707 | 678 | 4,526 |
PHP | 10 | 225 | 26 | 2,180 |
CSS | 5 | 178 | 22 | 1,858 |
PO File | 2 | 54 | 62 | 146 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 71.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 209.00 |
Average method complexity | 5.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 1 | 1.41% |
▷ Public methods | 68 | 95.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.23% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
5 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/select2x2.png | 0.51KB | 0.99KB | 0.00% |
assets/img/flags.png | 69.20KB | 23.42KB | ▼ 66.16% |
assets/img/menu.png | 5.23KB | 0.72KB | ▼ 86.20% |
assets/img/icon.png | 5.86KB | 1.55KB | ▼ 73.48% |
assets/img/logo.png | 12.55KB | 4.54KB | ▼ 63.82% |