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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.34MB] [CPU: ▼2.17ms] Passed 4 tests
An overview of server-side resources used by Orion SMS OTP Verification
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 39.63 ▼2.91 |
Dashboard /wp-admin | 3.64 ▲0.34 | 44.67 ▼3.57 |
Posts /wp-admin/edit.php | 3.75 ▲0.40 | 46.40 ▼2.57 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 111.02 ▲10.98 |
Media Library /wp-admin/upload.php | 3.56 ▲0.34 | 35.79 ▲0.37 |
Orion OTP /wp-admin/admin.php?page=orion_settings_page | 3.68 | 41.94 |
Woocommerce Settings /wp-admin/admin.php?page=ihs_otp_plugin_woocommerce_settings_page | 3.55 | 47.17 |
Server storage [IO: ▲5.61MB] [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: 1,362 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics 50% from 4 tests
An overview of browser requirements for Orion SMS OTP Verification
Please improve the following
- Memory: Total browser memory usage should be limited to 75.00MB (currently 100.68MB on /wp-admin/admin.php?page=ihs_otp_plugin_woocommerce_settings_page)
- Script duration: JavaScript execution time must be kept under 1,500.00ms (currently 2,524.25ms on /wp-admin/admin.php?page=ihs_otp_plugin_woocommerce_settings_page)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲231 | 13.94 ▼0.49 | 9.47 ▲7.72 | 39.12 ▼0.16 |
Dashboard /wp-admin | 2,233 ▲45 | 4.85 ▼0.03 | 106.14 ▼0.54 | 42.07 ▲5.52 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.00 ▲0.01 | 39.77 ▲3.74 | 35.02 ▲2.46 |
Add New Post /wp-admin/post-new.php | 1,564 ▲36 | 18.29 ▲0.02 | 595.88 ▼17.14 | 59.64 ▼0.39 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.14 ▼0.06 | 94.16 ▲0.72 | 41.09 ▼1.11 |
Orion OTP /wp-admin/admin.php?page=orion_settings_page | 11,724 | 100.46 | 2,463.27 | 199.75 |
Woocommerce Settings /wp-admin/admin.php?page=ihs_otp_plugin_woocommerce_settings_page | 8,759 | 100.68 | 2,524.25 | 92.87 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 1313× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/orion-sms-otp-verification/vendor/twilio-php-master/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueRealTimeStatisticsContext.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/orion-sms-otp-verification/vendor/twilio-php-master/Twilio/Rest/Chat/V2/ServiceList.php:16
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/orion-sms-otp-verification/vendor/twilio-php-master/Twilio/Rest/Verify/V1/Service/VerificationOptions.php:28
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/orion-sms-otp-verification/vendor/twilio-php-master/Twilio/Rest/Trunking/V1/TrunkInstance.php:36
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/orion-sms-otp-verification/vendor/twilio-php-master/Twilio/Rest/Api/V2010/Account/Sip/Domain/CredentialListMappingList.php:16
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/orion-sms-otp-verification/vendor/twilio-php-master/Twilio/Rest/Preview/BulkExports/ExportContext.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/orion-sms-otp-verification/vendor/twilio-php-master/Twilio/Rest/Preview/Sync/Service/SyncMap/SyncMapPermissionList.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/orion-sms-otp-verification/vendor/twilio-php-master/Twilio/Rest/Verify/V1/Service/VerificationInstance.php:31
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/orion-sms-otp-verification/vendor/twilio-php-master/Twilio/Rest/Sync/V1/Service/SyncStreamOptions.php:37
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/orion-sms-otp-verification/vendor/twilio-php-master/Twilio/Rest/Taskrouter/V1/Workspace/Workflow/WorkflowStatisticsContext.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ihs_otp_plugin_woocommerce_settings_page
- > Network (severe)
https://www.orionhive.com/static/latest-offers.jpg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=orion_settings_page
- > Network (severe)
https://www.orionhive.com/static/login-with-sms.jpg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=ihs_otp_plugin_woocommerce_settings_page
- > Network (severe)
https://www.orionhive.com/static/pricing.jpg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=ihs_otp_plugin_woocommerce_settings_page
- > Network (severe)
https://www.orionhive.com/static/icon.jpg - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in orion-sms-otp-verification/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
orion-sms-otp-verification/orion-sms-otp-verification.php 85% from 13 tests
Analyzing the main PHP file in "Orion SMS OTP Verification" version 1.1.7
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 158 characters long)
- Domain Path: The domain path folder does not exist ("/languages")
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
Good job! No executable or dangerous file extensions detected72,329 lines of code in 1,358 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,348 | 18,965 | 76,780 | 70,894 |
CSS | 2 | 131 | 16 | 635 |
JavaScript | 3 | 112 | 158 | 512 |
XML | 3 | 0 | 0 | 253 |
JSON | 1 | 0 | 0 | 26 |
Dockerfile | 1 | 3 | 0 | 9 |
PHP code Passed 2 tests
A brief analysis 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.14 |
Average class complexity | 2.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 1.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 146 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 1,676 | |
▷ Abstract classes | 196 | 11.69% |
▷ Concrete classes | 1,480 | 88.31% |
▷ Final classes | 0 | 0.00% |
Methods | 9,163 | |
▷ Static methods | 355 | 3.87% |
▷ Public methods | 8,248 | 90.01% |
▷ Protected methods | 910 | 9.93% |
▷ Private methods | 5 | 0.05% |
Functions | 115 | |
▷ Named functions | 31 | 26.96% |
▷ Anonymous functions | 84 | 73.04% |
Constants | 12 | |
▷ Global constants | 4 | 33.33% |
▷ Class constants | 8 | 66.67% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin