Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲6.94MB] [CPU: ▲110.89ms] 50% from 4 tests
Server-side resources used by Email Verification / SMS Verification / OTP Verification / OTP Authentication / WooCommerce Notification
Please take the time to fix the following items
- RAM: Total memory usage should be kept under 10MB (currently 10.84MB on /wp-admin/admin.php?page=mootppricing)
- Extra RAM: Extra memory usage should kept under 5MB (currently 6.94MB on /wp-admin/admin.php?page=mootppricing)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.19 ▲6.72 | 143.43 ▲100.72 |
Dashboard /wp-admin | 10.30 ▲6.99 | 153.72 ▲100.44 |
Posts /wp-admin/edit.php | 10.41 ▲7.05 | 167.35 ▲121.70 |
Add New Post /wp-admin/post-new.php | 12.96 ▲7.07 | 203.95 ▲120.70 |
Media Library /wp-admin/upload.php | 10.24 ▲7.00 | 179.72 ▲144.35 |
Forms /wp-admin/admin.php?page=mosettings | 10.37 | 158.97 |
WhatsApp /wp-admin/admin.php?page=mowhatsapp | 10.28 | 145.82 |
Account Setup /wp-admin/admin.php?page=otpaccount | 10.26 | 163.57 |
Transaction Report /wp-admin/admin.php?page=moreporting | 10.26 | 143.19 |
Settings /wp-admin/admin.php?page=otpsettings | 10.43 | 150.79 |
AddOns /wp-admin/admin.php?page=addon | 10.37 | 148.30 |
Notifications /wp-admin/admin.php?page=monotifications | 10.32 | 150.53 |
Gateway Settings /wp-admin/admin.php?page=mogateway | 10.27 | 147.94 |
Licensing Plans /wp-admin/admin.php?page=mootppricing | 10.84 | 164.30 |
Server storage [IO: ▲4.38MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 497 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Email Verification / SMS Verification / OTP Verification / OTP Authentication / WooCommerce Notification
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,084 ▲322 | 13.73 ▼0.55 | 7.10 ▲5.54 | 17.71 ▼25.81 |
Dashboard /wp-admin | 2,395 ▲218 | 5.87 ▲0.26 | 104.40 ▲4.08 | 88.21 ▲42.47 |
Posts /wp-admin/edit.php | 2,324 ▲224 | 2.51 ▲0.57 | 48.66 ▲13.97 | 43.44 ▲4.92 |
Add New Post /wp-admin/post-new.php | 1,882 ▲356 | 21.03 ▼2.16 | 712.25 ▲115.80 | 30.72 ▼19.66 |
Media Library /wp-admin/upload.php | 1,618 ▲218 | 4.42 ▲0.20 | 118.11 ▲20.58 | 95.04 ▲53.81 |
Forms /wp-admin/admin.php?page=mosettings | 2,039 | 1.95 | 36.22 | 137.54 |
WhatsApp /wp-admin/admin.php?page=mowhatsapp | 1,625 | 2.00 | 44.44 | 69.08 |
Account Setup /wp-admin/admin.php?page=otpaccount | 1,421 | 1.94 | 36.76 | 70.29 |
Transaction Report /wp-admin/admin.php?page=moreporting | 1,616 | 1.97 | 48.20 | 61.65 |
Settings /wp-admin/admin.php?page=otpsettings | 4,685 | 3.24 | 56.60 | 114.52 |
AddOns /wp-admin/admin.php?page=addon | 2,646 | 1.96 | 43.23 | 57.96 |
Notifications /wp-admin/admin.php?page=monotifications | 4,431 | 6.10 | 130.05 | 81.03 |
Gateway Settings /wp-admin/admin.php?page=mogateway | 1,498 | 1.99 | 41.91 | 67.68 |
Licensing Plans /wp-admin/admin.php?page=mootppricing | 6,988 | 2.13 | 51.11 | 83.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mowhatsapp
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
- 25× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'OTP\\Objects\\FormHandler' not found in wp-content/plugins/miniorange-otp-verification/handler/forms/class-mowpusermanagerform.php:31
- > PHP Notice
Trying to get property 'premium_tags' of non-object in wp-content/plugins/miniorange-otp-verification/notifications/wcsmsnotification/views/smsnotifications/wc-customer-sms-template.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/miniorange-otp-verification/views/general-settings.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/miniorange-otp-verification/views/forms/realestate7.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/miniorange-otp-verification/views/forms/memberpresssinglecheckoutform.php:11
- > PHP Notice
Trying to get property 'available_tags' of non-object in wp-content/plugins/miniorange-otp-verification/notifications/wcsmsnotification/views/smsnotifications/wc-customer-sms-template.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/miniorange-otp-verification/views/forms/userprofilemadeeasyregistrationform.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/miniorange-otp-verification/views/sms-notifications.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/miniorange-otp-verification/views/account/profile.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/miniorange-otp-verification/views/forms/ultimatememberprofileform.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=moreporting
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=moreporting 397 The specified value " 2023-11-24 10:05" does not conform to the required format. The format is "yyyy-MM-ddThh:mm" followed by optional ":ss" or ":ss.SSS".
- > GET request to /wp-admin/admin.php?page=moreporting
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=moreporting 415 The specified value " 2023-11-25 10:05" does not conform to the required format. The format is "yyyy-MM-ddThh:mm" followed by optional ":ss" or ":ss.SSS".
Optimizations
Plugin configuration 86% 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 your attention:
- Tags: Please delete some tags, you are using 70 tag instead of maximum 10
miniorange-otp-verification/miniorange_validation_settings.php 77% from 13 tests
Analyzing the main PHP file in "Email Verification / SMS Verification / OTP Verification / OTP Authentication / WooCommerce Notification" version 5.0.5
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("miniorange-otp-verification.php" instead of "miniorange_validation_settings.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
- Requires at least: The required version number must match the one declared in readme.txt ("3.5" instead of "2.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin43,672 lines of code in 429 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 342 | 5,094 | 13,282 | 35,331 |
PO File | 4 | 3,120 | 4,806 | 7,817 |
SVG | 31 | 7 | 0 | 312 |
JavaScript | 46 | 7 | 0 | 206 |
CSS | 5 | 0 | 0 | 5 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 18.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 6 | |
Traits | 1 | |
Classes | 132 | |
▷ Abstract classes | 5 | 3.79% |
▷ Concrete classes | 127 | 96.21% |
▷ Final classes | 19 | 14.96% |
Methods | 1,556 | |
▷ Static methods | 114 | 7.33% |
▷ Public methods | 1,033 | 66.39% |
▷ Protected methods | 95 | 6.11% |
▷ Private methods | 428 | 27.51% |
Functions | 41 | |
▷ Named functions | 35 | 85.37% |
▷ Anonymous functions | 6 | 14.63% |
Constants | 572 | |
▷ Global constants | 57 | 9.97% |
▷ Class constants | 515 | 90.03% |
▷ Public constants | 515 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
17 PNG files occupy 0.41MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/paypal.png | 7.45KB | 7.20KB | ▼ 3.36% |
includes/images/donate.png | 7.18KB | 3.16KB | ▼ 55.95% |
includes/images/mo_support_icon.png | 2.74KB | 1.64KB | ▼ 40.33% |
includes/images/firebase.png | 2.13KB | 1.59KB | ▼ 25.13% |
includes/images/logo.png | 2.84KB | 1.59KB | ▼ 44.03% |