Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.18ms] Passed 4 tests
Server-side resources used by Podamibe Twilio Private Call
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 45.02 ▲7.87 |
Dashboard /wp-admin | 3.37 ▲0.06 | 55.90 ▲8.54 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 54.15 ▼1.25 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.97 ▼8.66 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.12 ▲1.32 |
Settings /wp-admin/admin.php?page=pod_twilio_settings | 3.23 | 32.32 |
Supported Countries /wp-admin/admin.php?page=pod_twilio_supported_countries | 3.26 | 37.16 |
Twilio Users /wp-admin/admin.php?page=pod_twilio_users | 3.25 | 36.15 |
Server storage [IO: ▲4.03MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 695 new files
Database: 5 new tables, 11 new options
New tables |
---|
wp_pod_twilio_call_duration |
wp_pod_twilio_users |
wp_pod_twilio_user_payment_history |
wp_pod_twilio_supported_countries |
wp_pod_twilio_contact_list |
New WordPress options |
---|
widget_pod_twilio_login_widget |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
POD_TWILIO_DB_VERSION |
pod_twilio_paypal_ipn_page_id |
can_compress_scripts |
db_upgraded |
pod_twilio_dial_callback_page_id |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Podamibe Twilio Private Call
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲180 | 13.44 ▼0.91 | 11.02 ▲8.22 | 41.48 ▼7.53 |
Dashboard /wp-admin | 2,229 ▲52 | 5.58 ▼0.00 | 85.27 ▼6.90 | 39.53 ▼3.25 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.99 ▼0.00 | 35.94 ▼2.50 | 35.59 ▲1.41 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 22.93 ▼0.93 | 664.85 ▼50.59 | 52.88 ▼7.92 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.25 ▼0.02 | 99.15 ▼12.77 | 44.26 ▼6.51 |
Settings /wp-admin/admin.php?page=pod_twilio_settings | 904 | 1.99 | 25.29 | 28.88 |
Supported Countries /wp-admin/admin.php?page=pod_twilio_supported_countries | 1,199 | 1.75 | 26.39 | 28.71 |
Twilio Users /wp-admin/admin.php?page=pod_twilio_users | 825 | 2.03 | 23.07 | 25.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables detected upon uninstall: 5 tables
- wp_pod_twilio_contact_list
- wp_pod_twilio_call_duration
- wp_pod_twilio_user_payment_history
- wp_pod_twilio_users
- wp_pod_twilio_supported_countries
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_pod_twilio_login_widget
- widget_recent-posts
- POD_TWILIO_DB_VERSION
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pod_twilio_settings
- > Notice in wp-content/plugins/podamibe-twilio-private-call/admin/twilio-settings.php+152
Trying to access array offset on value of type bool
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
Please take a closer look at the following
- 614× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/podamibe-twilio-private-call/includes/twilio-php-master/Twilio/Rest/Taskrouter/V1/Workspace/TaskChannelList.php:16
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/podamibe-twilio-private-call/includes/twilio-php-master/Twilio/Rest/Api/V2010/Account/SandboxInstance.php:34
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Tests\\HolodeckTestCase' not found in wp-content/plugins/podamibe-twilio-private-call/includes/twilio-php-master/Twilio/Tests/Integration/Taskrouter/V1/Workspace/Workflow/WorkflowStatisticsTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/podamibe-twilio-private-call/includes/twilio-php-master/Twilio/Rest/Api/V2010/Account/MessageOptions.php:52
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/podamibe-twilio-private-call/includes/twilio-php-master/Twilio/Rest/Api/V2010/Account/ConferenceList.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Tests\\HolodeckTestCase' not found in wp-content/plugins/podamibe-twilio-private-call/includes/twilio-php-master/Twilio/Tests/Integration/Monitor/V1/AlertTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/podamibe-twilio-private-call/includes/twilio-php-master/Twilio/Rest/Api/V2010/Account/Sip/Domain/IpAccessControlListMappingInstance.php:25
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/podamibe-twilio-private-call/includes/twilio-php-master/Twilio/Rest/Lookups/V1/PhoneNumberContext.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Tests\\HolodeckTestCase' not found in wp-content/plugins/podamibe-twilio-private-call/includes/twilio-php-master/Twilio/Tests/Integration/Api/V2010/Account/Call/NotificationTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/podamibe-twilio-private-call/includes/twilio-php-master/Twilio/Rest/Api/V2010/Account/NewSigningKeyPage.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: podamibe, twilio, private call, twilio call
podamibe-twilio-private-call/pod-twilio-call.php 85% from 13 tests
The primary PHP file in "Podamibe Twilio Private Call" version 1.0.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: It is recommended to name the main PHP file as the plugin slug ("podamibe-twilio-private-call.php" instead of "pod-twilio-call.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected53,098 lines of code in 686 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 666 | 10,265 | 28,050 | 46,811 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 3 | 26 | 15 | 2,454 |
Markdown | 6 | 315 | 0 | 780 |
make | 2 | 47 | 9 | 246 |
JavaScript | 2 | 6 | 16 | 45 |
Python | 1 | 72 | 235 | 31 |
JSON | 1 | 0 | 0 | 26 |
Bourne Shell | 1 | 0 | 0 | 10 |
YAML | 1 | 0 | 0 | 10 |
XML | 1 | 0 | 1 | 7 |
reStructuredText | 1 | 6 | 7 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 1.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 94 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 782 | |
▷ Abstract classes | 85 | 10.87% |
▷ Concrete classes | 697 | 89.13% |
▷ Final classes | 0 | 0.00% |
Methods | 4,376 | |
▷ Static methods | 152 | 3.47% |
▷ Public methods | 3,898 | 89.08% |
▷ Protected methods | 417 | 9.53% |
▷ Private methods | 61 | 1.39% |
Functions | 21 | |
▷ Named functions | 17 | 80.95% |
▷ Anonymous functions | 4 | 19.05% |
Constants | 24 | |
▷ Global constants | 14 | 58.33% |
▷ Class constants | 10 | 41.67% |
▷ Public constants | 10 | 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
No PNG files were detected