Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼2.16ms] Passed 4 tests
Analyzing server-side resources used by Social LikeBox & Feed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 36.35 ▼1.36 |
Dashboard /wp-admin | 3.54 ▲0.24 | 46.07 ▲1.32 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 45.38 ▲0.64 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.23 | 81.59 ▼9.25 |
Media Library /wp-admin/upload.php | 3.47 ▲0.23 | 35.69 ▲1.70 |
Server storage [IO: ▲4.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_weblizar_facebook_feed_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_weblizar_facebook_likebox |
Browser metrics Passed 4 tests
An overview of browser requirements for Social LikeBox & Feed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.17 ▼0.18 | 1.55 ▼0.35 | 37.75 ▼4.55 |
Dashboard /wp-admin | 2,211 ▲31 | 5.62 ▲0.01 | 87.08 ▲0.68 | 38.89 ▲0.41 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.01 ▼0.01 | 34.26 ▼1.09 | 31.34 ▼5.90 |
Add New Post /wp-admin/post-new.php | 1,544 ▲13 | 23.28 ▲0.23 | 677.77 ▲75.45 | 70.32 ▲10.79 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.22 ▲0.08 | 97.71 ▼0.12 | 43.11 ▼0.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_weblizar_facebook_likebox
- db_upgraded
- theysaidso_admin_options
- widget_weblizar_facebook_feed_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Screenshot #7 (FaceBook Feeds preview on site sidebar.) image not found
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
facebook-by-weblizar/facebook-by-weblizar.php 92% from 13 tests
The main PHP script in "Social LikeBox & Feed" version 3.1.4 is automatically included on every request by WordPress
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 156 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin38,202 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 3,273 | 232 | 16,260 |
SVG | 3 | 0 | 12 | 8,777 |
JavaScript | 7 | 1,141 | 261 | 7,305 |
PO File | 5 | 4,425 | 8,110 | 2,981 |
PHP | 10 | 105 | 145 | 2,879 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 71.00 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 18.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 93.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 34.37KB | 34.68KB | 0.00% |
images/tabs_bg.png | 0.12KB | 0.09KB | ▼ 24.19% |
images/icons/3.png | 19.69KB | 2.73KB | ▼ 86.12% |
images/icons/4.png | 23.05KB | 3.06KB | ▼ 86.73% |
images/icons/1.png | 20.72KB | 2.97KB | ▼ 85.67% |