Benchmarks
Plugin footprint 83% 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.22MB] [CPU: ▼4.41ms] Passed 4 tests
Analyzing server-side resources used by Heateor Login - Social Login Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 43.84 ▲1.00 |
Dashboard /wp-admin | 3.52 ▲0.22 | 49.76 ▼4.77 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 49.08 ▼2.41 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 88.74 ▼11.47 |
Media Library /wp-admin/upload.php | 3.45 ▲0.21 | 39.82 ▲2.76 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
heateor_fbl |
db_upgraded |
widget_recent-posts |
heateor_fbl_version |
widget_recent-comments |
widget_theysaidso_widget |
widget_heateorfacebooklogin |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Heateor Login - Social Login Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲139 | 14.27 ▼0.13 | 1.99 ▲0.34 | 31.12 ▼8.83 |
Dashboard /wp-admin | 2,213 ▲36 | 5.60 ▼0.06 | 82.09 ▼6.32 | 74.45 ▲31.91 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.99 ▲0.00 | 35.14 ▼2.11 | 33.75 ▼0.00 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.08 ▲0.13 | 662.92 ▼36.32 | 90.31 ▲35.19 |
Media Library /wp-admin/upload.php | 1,418 ▲24 | 4.23 ▲0.08 | 99.31 ▼4.77 | 71.62 ▲28.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- can_compress_scripts
- theysaidso_admin_options
- heateor_fbl
- widget_theysaidso_widget
- widget_heateorfacebooklogin
- heateor_fbl_version
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 13× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/heateor-login/languages/index.php
- > /wp-content/plugins/heateor-login/images/index.php
- > /wp-content/plugins/heateor-login/index.php
- > /wp-content/plugins/heateor-login/heateor-login.php
- > /wp-content/plugins/heateor-login/js/index.php
- > /wp-content/plugins/heateor-login/js/admin/index.php
- > /wp-content/plugins/heateor-login/admin/index.php
- > /wp-content/plugins/heateor-login/images/login/index.php
- > /wp-content/plugins/heateor-login/css/admin/index.php
- > /wp-content/plugins/heateor-login/images/snaps/index.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/heateor-login/widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/heateor-login/admin/options-page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/heateor-login/shortcode.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/heateor-login/admin/help.php:3
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: social analytics, social login, single sign-on, facebook login, social plugin...
heateor-login/heateor-login.php Passed 13 tests
The main PHP script in "Heateor Login - Social Login Plugin" version 1.1.9 is automatically included on every request by WordPress
80 characters long description:
Allow your website visitors to login to your website via their Facebook accounts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,611 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 184 | 163 | 1,596 |
XML | 1 | 0 | 0 | 11 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 38 | 97.44% |
▷ Anonymous functions | 1 | 2.56% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/snaps/sl_email_required.png | 24.20KB | 9.81KB | ▼ 59.46% |
images/star.png | 0.65KB | 0.72KB | 0.00% |
images/transparent_bg.png | 0.91KB | 0.09KB | ▼ 89.70% |
images/login/login.png | 5.91KB | 2.95KB | ▼ 50.04% |
images/close.png | 1.45KB | 1.66KB | 0.00% |