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
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.22ms] Passed 4 tests
A check of server-side resources used by Easy Call With Twilio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.33 ▼3.94 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.37 ▼1.12 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 49.54 ▼0.51 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 97.59 ▲0.68 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 39.65 ▲1.13 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 92 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Call With Twilio
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲164 | 14.38 ▲0.09 | 8.83 ▲6.47 | 42.33 ▼2.59 |
Dashboard /wp-admin | 2,239 ▲39 | 5.88 ▼0.02 | 99.47 ▼19.79 | 38.97 ▼6.50 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.06 ▲0.00 | 39.70 ▲2.47 | 35.46 ▼1.71 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.27 ▲5.69 | 642.74 ▼24.03 | 50.36 ▼1.15 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.20 ▼0.07 | 95.04 ▼11.81 | 44.67 ▲0.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/twl-easy-call/lib/screen_for_machine.php
- 68× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_ListResource' not found in wp-content/plugins/twl-easy-call/lib/Twilio/Twilio/Rest/ConnectApps.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_Resource' not found in wp-content/plugins/twl-easy-call/lib/Twilio/Twilio/ListResource.php:17
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_InstanceResource' not found in wp-content/plugins/twl-easy-call/lib/Twilio/Twilio/Rest/IncomingPhoneNumber.php:88
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_InstanceResource' not found in wp-content/plugins/twl-easy-call/lib/Twilio/Twilio/Rest/CredentialList.php:35
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_ListResource' not found in wp-content/plugins/twl-easy-call/lib/Twilio/Twilio/Rest/SmsMessages.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_InstanceResource' not found in wp-content/plugins/twl-easy-call/lib/Twilio/Twilio/Rest/Notification.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_ListResource' not found in wp-content/plugins/twl-easy-call/lib/Twilio/Twilio/Rest/Participants.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_InstanceResource' not found in wp-content/plugins/twl-easy-call/lib/Twilio/Twilio/Rest/ConnectApp.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_ListResource' not found in wp-content/plugins/twl-easy-call/lib/Twilio/Twilio/Rest/Applications.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_ListResource' not found in wp-content/plugins/twl-easy-call/lib/Twilio/Twilio/Rest/Queues.php:3
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: call, twilio, click 2 call, click to call, voice call...
twl-easy-call/twilio.php 85% from 13 tests
The primary PHP file in "Easy Call With Twilio" version 1.1.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("twl-easy-call.php" instead of "twilio.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 286 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected2,269 lines of code in 88 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 83 | 348 | 1,486 | 1,822 |
JavaScript | 3 | 23 | 68 | 443 |
CSS | 2 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 2.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 97 | |
▷ Abstract classes | 4 | 4.12% |
▷ Concrete classes | 93 | 95.88% |
▷ Final classes | 0 | 0.00% |
Methods | 164 | |
▷ Static methods | 15 | 9.15% |
▷ Public methods | 144 | 87.80% |
▷ Protected methods | 18 | 10.98% |
▷ Private methods | 2 | 1.22% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/flags.png | 69.15KB | 23.62KB | ▼ 65.85% |
img/twilio.png | 5.33KB | 3.10KB | ▼ 41.79% |