Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/socializer/socializer.php+451
Methods with the same name as their class will not be constructors in a future version of PHP; SocializerWidget has a deprecated constructor
Server metrics [RAM: ▼1.64MB] [CPU: ▼191.98ms] Passed 4 tests
A check of server-side resources used by Socializer!
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.99 ▼0.84 | 10.43 ▼27.65 |
Dashboard /wp-admin | 2.01 ▼1.04 | 7.05 ▼41.90 |
Posts /wp-admin/edit.php | 2.01 ▼1.09 | 5.89 ▼37.73 |
Add New Post /wp-admin/post-new.php | 2.01 ▼3.42 | 11.64 ▼657.44 |
Media Library /wp-admin/upload.php | 2.01 ▼0.99 | 7.10 ▼30.85 |
Socializer! /wp-admin/options-general.php?page=socializer! | 2.01 | 8.90 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 18 new options
New WordPress options |
---|
tfw_moboption |
widget_socializerwidget |
tfw_spages |
tfw_floatsize |
tfw_sindarch |
widget_socializerfloatwidget |
tfw_stlfloatwdiv |
tfw_spbe |
tfw_nowsize |
tfw_fbprof |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Socializer!
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,894 ▲257 | 18.14 ▲2.30 | 27.24 ▲15.88 | 55.20 ▲3.88 |
Dashboard /wp-admin | 2,975 ▲41 | 5.95 ▼0.04 | 145.88 ▼21.87 | 110.55 ▼22.00 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▼0.00 | 77.34 ▲3.44 | 101.59 ▲1.79 |
Add New Post /wp-admin/post-new.php | 1,501 ▼114 | 18.90 ▼2.15 | 404.40 ▲102.77 | 119.62 ▲3.25 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.02 ▼0.03 | 161.23 ▲7.53 | 125.08 ▲2.50 |
Socializer! /wp-admin/options-general.php?page=socializer! | 1,655 | 2.07 | 56.22 | 137.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/socializer/socializer.php+451
Methods with the same name as their class will not be constructors in a future version of PHP; SocializerWidget has a deprecated constructor
- This plugin did not uninstall successfully, leaving 18 options in the database
- tfw_nowsize
- tfw_floatsize
- tfw_myname
- tfw_stlwdiv
- tfw_stlfloatwdiv
- tfw_sindarch
- tfw_spbe
- tfw_moboption
- tfw_twiprof
- tfw_spaf
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=socializer!
- > Deprecated in wp-content/plugins/socializer/socializer.php+451
Methods with the same name as their class will not be constructors in a future version of PHP; SocializerWidget has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=socializer!
- > Deprecated in wp-content/plugins/socializer/socializer.php+508
Methods with the same name as their class will not be constructors in a future version of PHP; SocializerFloatWidget has a deprecated constructor
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/socializer/socializer.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 27 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Socializer! Content / Shortcode buttons (displaying Counts)), #2 (Socializer! Widget (the large version, displaying Counts)), #3 (Socializer! Floating Widget (the large version, displaying Counts, here having also a background and border, which can be added or removed or change at will)), #4 (Socializer! Content / Shortcode buttons (not displaying Counts)), #5 (Socializer! Floating Widget (the smaller version, not displaying Counts, without background and border)), #6 (Socializer! Widget (the smaller version, not displaying Counts, without background and border))
socializer/socializer.php 92% from 13 tests
The principal PHP file in "Socializer!" v. 12.9 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 367 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Please make sure to remedy the following
- For security reasons, never distribute binary or executable files with your plugin
- .url - Internet Shortcut in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/socializer/Socializer! On-Line (Read Me).url
- .url - Internet Shortcut in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 320 | 652 | 1,087 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.68 |
Average class complexity | 50.67 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 4.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 9 | 23.08% |
▷ Public methods | 37 | 94.87% |
▷ Protected methods | 2 | 5.13% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 1 | 10.00% |
▷ Class constants | 9 | 90.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 16.68KB | 6.52KB | ▼ 60.92% |
follow.png | 1.56KB | 1.14KB | ▼ 27.23% |
csseditor.png | 1.58KB | 1.38KB | ▼ 13.19% |