Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/showeblogin-facebook-page-like-box/showeblogin-facebook-page-plugin.php+42
Creating default object from empty value
Server metrics [RAM: ▼1.65MB] [CPU: ▼59.15ms] Passed 4 tests
Server-side resources used by Showeblogin Social Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.34 ▼1.13 | 6.60 ▼38.70 |
Dashboard /wp-admin | 2.36 ▼0.95 | 12.24 ▼57.68 |
Posts /wp-admin/edit.php | 2.36 ▼1.00 | 6.18 ▼43.95 |
Add New Post /wp-admin/post-new.php | 2.36 ▼3.53 | 6.80 ▼96.27 |
Media Library /wp-admin/upload.php | 2.36 ▼0.87 | 7.54 ▼30.77 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_spsmiter_facebook |
Browser metrics Passed 4 tests
Checking browser requirements for Showeblogin Social Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.80 ▲0.50 | 2.19 ▲0.25 | 43.90 ▼1.09 |
Dashboard /wp-admin | 2,208 ▲17 | 4.87 ▼1.03 | 118.29 ▲16.90 | 46.77 ▲2.94 |
Posts /wp-admin/edit.php | 2,088 ▼1 | 2.05 ▲0.05 | 33.71 ▼4.96 | 33.96 ▲0.80 |
Add New Post /wp-admin/post-new.php | 1,535 ▲18 | 23.36 ▲5.75 | 684.16 ▲33.85 | 60.47 ▲4.19 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.20 ▲0.02 | 107.70 ▲6.97 | 46.10 ▲5.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/showeblogin-facebook-page-like-box/showeblogin-facebook-page-plugin.php+42
Creating default object from empty value
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_spsmiter_facebook
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/showeblogin-facebook-page-like-box/showeblogin-facebook-page-plugin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: showeblogin, facebook plugin, social widget, facebook social, facebook...
showeblogin-facebook-page-like-box/showeblogin-facebook-page-plugin.php 92% from 13 tests
The main file in "Showeblogin Social Plugin" v. 6.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("showeblogin-facebook-page-like-box.php" instead of "showeblogin-facebook-page-plugin.php")
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 plugin373 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 15 | 20 | 358 |
CSS | 2 | 1 | 0 | 15 |
PHP code Passed 2 tests
A short review of 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.04 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin