Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.33ms] Passed 4 tests
Server-side resources used by WeLovez Social Login For WoWonder Php Social Script
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.25 ▼2.81 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.56 ▼3.07 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.70 ▼2.88 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.44 ▼32.56 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.50 ▲3.14 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WeLovez Social Login For WoWonder Php Social Script
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲82 | 13.52 ▼1.09 | 1.71 ▲0.10 | 40.27 ▼6.53 |
Dashboard /wp-admin | 2,221 ▲33 | 5.88 ▲0.98 | 114.58 ▼0.38 | 80.62 ▲34.16 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.01 ▼0.05 | 39.74 ▼2.51 | 35.38 ▼2.67 |
Add New Post /wp-admin/post-new.php | 1,527 ▼1 | 23.35 ▲5.28 | 699.40 ▲33.93 | 52.02 ▲0.33 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.21 ▼0.02 | 104.99 ▲3.79 | 75.08 ▲31.82 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Requires php: Version format is invalid
welovez-social-login/welovez-login.php 85% from 13 tests
The entry point to "WeLovez Social Login For WoWonder Php Social Script" version 2.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("welovez-social-login.php" instead of "welovez-login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,911 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 123 | 7 | 1,232 |
PHP | 4 | 54 | 118 | 488 |
JavaScript | 1 | 7 | 4 | 191 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.67 |
▷ 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 | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 11 | 73.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 26.67% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.16MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/button-wrapper.png | 2.32KB | 2.08KB | ▼ 10.67% |
assets/images/welovez-icon.png | 1.00KB | 0.81KB | ▼ 19.53% |
assets/images/app-setup.png | 4.50KB | 2.29KB | ▼ 49.01% |
assets/images/app_keys.png | 13.15KB | 7.70KB | ▼ 41.43% |
assets/images/share-setup.png | 3.01KB | 1.88KB | ▼ 37.69% |