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 gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼9.63ms] Passed 4 tests
Server-side resources used by Ni WooCommerce Product Enquiry
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 24.36 ▼14.33 |
Dashboard /wp-admin | 3.36 ▲0.05 | 44.47 ▼15.59 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.70 ▲0.88 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.19 ▼9.47 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 43.39 ▲8.89 |
Add-ons /wp-admin/admin.php?page=ni-enquiry-addon | 3.33 | 33.38 |
Dashboard /wp-admin/admin.php?page=ni-enquiry-dashboard | 3.34 | 33.41 |
Setting /wp-admin/admin.php?page=ni-enquiry-setting | 3.31 | 40.63 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Ni WooCommerce Product Enquiry
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,497 ▼265 | 14.20 ▼0.14 | 0.96 ▼0.72 | 13.16 ▼31.72 |
Dashboard /wp-admin | 2,221 ▲47 | 5.54 ▼0.04 | 97.13 ▼5.06 | 86.40 ▲40.17 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 1.96 ▼0.05 | 35.65 ▼7.19 | 30.58 ▼6.75 |
Add New Post /wp-admin/post-new.php | 1,701 ▲175 | 22.04 ▼1.19 | 751.24 ▲111.34 | 67.27 ▲20.62 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.16 ▼0.09 | 97.10 ▲2.30 | 74.84 ▲33.02 |
Add-ons /wp-admin/admin.php?page=ni-enquiry-addon | 1,219 | 1.86 | 35.68 | 90.56 |
Dashboard /wp-admin/admin.php?page=ni-enquiry-dashboard | 1,563 | 2.05 | 29.64 | 57.73 |
Setting /wp-admin/admin.php?page=ni-enquiry-setting | 1,617 | 6.76 | 146.17 | 128.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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)
There were no browser issues found
Optimizations
Plugin configuration 90% 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
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Product Enquiry Form.), #2 (Product Enquiry Settings.), #3 (Dashboard.), #4 (Single Product Page Enquiry button.), #5 (Whatsapp setting), #6 (Product detail with whatsapp button), #7 (Connect to whatsapp)
ni-woocommerce-product-enquiry/ni-woocommerce-product-enquiry.php 85% from 13 tests
"Ni WooCommerce Product Enquiry" version 4.1.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 143 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected6,490 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,082 | 523 | 3,586 |
CSS | 6 | 92 | 112 | 1,550 |
PHP | 6 | 169 | 68 | 1,223 |
PO File | 1 | 50 | 55 | 131 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 11.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 1 | 2.00% |
▷ Public methods | 50 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
9 PNG files occupy 0.28MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon2.png | 0.79KB | 0.65KB | ▼ 17.25% |
screenshot-5.png | 23.36KB | 8.95KB | ▼ 61.71% |
screenshot-7.png | 23.95KB | 7.95KB | ▼ 66.82% |
screenshot-3.png | 8.36KB | 3.54KB | ▼ 57.66% |
screenshot-4.png | 82.32KB | 37.74KB | ▼ 54.16% |