Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/loginbycall/function.php+22
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
Server metrics [RAM: ▲0.03MB] [CPU: ▲1.24ms] Passed 4 tests
Analyzing server-side resources used by LoginByCall
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.67 ▲2.72 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.01 ▲2.90 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.54 ▲4.15 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.70 ▲2.36 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.14 ▼3.03 |
Server storage [IO: ▲1.90MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
loginbycall_credential_active |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for LoginByCall
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲53 | 14.41 ▲1.14 | 1.88 ▲0.23 | 43.53 ▲2.34 |
Dashboard /wp-admin | 2,224 ▲21 | 5.88 ▲0.02 | 100.64 ▲4.59 | 72.67 ▲34.09 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.01 ▼0.02 | 39.48 ▲3.80 | 34.21 ▲1.64 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 18.21 ▼5.36 | 622.61 ▼23.58 | 61.30 ▲0.32 |
Media Library /wp-admin/upload.php | 1,418 ▲27 | 4.14 ▼0.07 | 96.57 ▼6.50 | 78.77 ▲33.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/loginbycall/loginbycall.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function loginbycall_create_link() in wp-content/plugins/loginbycall/template/form-state.tpl.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/loginbycall/template/delete-info.tpl.php:4
- > PHP Notice
Undefined index: prev_url in wp-content/plugins/loginbycall/template/page-loginbycall-redirect-uri.php on line 30
- > PHP Fatal error
Uncaught Error: Call to undefined function loginbycall_oauth_render() in wp-content/plugins/loginbycall/template/page-loginbycall-redirect-uri.php:40
- > PHP Notice
Undefined index: error_description in wp-content/plugins/loginbycall/template/page-loginbycall-redirect-uri.php on line 21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
loginbycall/loginbycall.php Passed 13 tests
The main PHP script in "LoginByCall" version 4.12 is automatically included on every request by WordPress
60 characters long description:
LoginByCall - easy sign-in & sign-up with call on your phone
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin26,939 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 1 | 3 | 25,427 |
PHP | 5 | 167 | 93 | 1,150 |
JavaScript | 1 | 28 | 3 | 151 |
PO File | 1 | 50 | 6 | 113 |
CSS | 1 | 8 | 0 | 93 |
Markdown | 1 | 2 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 54 | |
▷ Named functions | 54 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/close-icon.png | 1.10KB | 0.19KB | ▼ 82.92% |