Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.02ms] Passed 4 tests
This is a short check of server-side resources used by Login with Bondhumohal Network - India Ka Social Network - Social Login Plugin for Bondhumohal Network
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.89 ▼1.62 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.21 ▼0.88 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.81 ▼4.69 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 90.56 ▼9.29 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.88 ▼4.49 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Login with Bondhumohal Network - India Ka Social Network - Social Login Plugin for Bondhumohal Network
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 13.25 ▼1.05 | 4.49 ▲2.67 | 42.90 ▼1.39 |
Dashboard /wp-admin | 2,229 ▲41 | 5.86 ▼0.02 | 107.31 ▲0.47 | 81.26 ▲39.79 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.03 ▲0.03 | 35.91 ▼4.51 | 34.95 ▼2.92 |
Add New Post /wp-admin/post-new.php | 1,532 ▲12 | 17.62 ▼5.29 | 733.18 ▲93.53 | 53.74 ▼1.83 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.25 ▲0.04 | 102.67 ▲0.55 | 80.98 ▲32.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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 fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/login-with-bondhumohal-network/classes/bondhumohaladmin.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/login-with-bondhumohal-network/classes/bondhumohal.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/login-with-bondhumohal-network/bondhumohal.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Requires php: The plugin version is formatted incorrectly
- Requires at least: The plugin version is formatted incorrectly
login-with-bondhumohal-network/bondhumohal.php 69% from 13 tests
The main PHP script in "Login with Bondhumohal Network - India Ka Social Network - Social Login Plugin for Bondhumohal Network" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Plugin Name: A shorter plugin name is better (currently 102 characters long instead of max. 70)
- Description: Keep the plugin description shorter than 140 characters (currently 261 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("login-with-bondhumohal-network.php" instead of "bondhumohal.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 detected357 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 61 | 123 | 282 |
CSS | 1 | 2 | 3 | 51 |
JavaScript | 1 | 6 | 3 | 24 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 2 | 12.50% |
▷ Public methods | 12 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 25.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
4 PNG files occupy 0.12MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/button-wrapper.png | 3.27KB | 1.60KB | ▼ 50.97% |
assets/images/bondhumohal-icon.png | 0.86KB | 0.61KB | ▼ 29.43% |
assets/images/login-with-bondhumohal-wordpress-plugin.png | 117.53KB | 47.61KB | ▼ 59.49% |
assets/images/bondhumohal.png | 2.39KB | 1.54KB | ▼ 35.74% |