Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.63ms] Passed 4 tests
Server-side resources used by Meks Smart Social Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.10 | 41.63 ▼1.85 |
Dashboard /wp-admin | 3.40 ▲0.09 | 45.56 ▼2.55 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.16 ▼0.19 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 90.01 ▼1.91 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.73 ▲1.95 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_mks_social_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Meks Smart Social Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.47 ▲0.16 | 1.54 ▼1.25 | 39.25 ▼6.85 |
Dashboard /wp-admin | 2,198 ▲13 | 4.92 ▼0.97 | 101.44 ▼20.89 | 37.37 ▼7.04 |
Posts /wp-admin/edit.php | 2,094 ▲8 | 2.23 ▲0.22 | 37.13 ▼1.56 | 34.11 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,512 ▼21 | 17.48 ▼5.75 | 683.48 ▲35.08 | 38.38 ▼26.18 |
Media Library /wp-admin/upload.php | 1,383 ▼5 | 4.18 ▲0.00 | 102.15 ▼2.66 | 43.55 ▼2.17 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_mks_social_widget
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/meks-smart-social-widget/meks-smart-social-widget.php:33
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meks-smart-social-widget/inc/class-social-widget.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: widget, instagram, pinterest, dribble, social...
meks-smart-social-widget/meks-smart-social-widget.php 92% from 13 tests
The entry point to "Meks Smart Social Widget" version 1.6.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 207 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin2,517 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 555 | 8 | 1,728 |
PHP | 2 | 65 | 31 | 432 |
SVG | 1 | 0 | 0 | 269 |
PO File | 1 | 20 | 20 | 54 |
JavaScript | 1 | 13 | 3 | 34 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 1 | 11.11% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
8 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/social_icons/tencent_ico.png | 0.43KB | 0.45KB | 0.00% |
img/social_icons/picasa_ico.png | 0.47KB | 0.48KB | 0.00% |
img/social_icons/me2day_ico.png | 0.39KB | 0.40KB | 0.00% |
img/social_icons/cargo_ico.png | 0.35KB | 0.35KB | 0.00% |
img/social_icons/icloud_ico.png | 0.34KB | 0.35KB | 0.00% |