Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼133.32ms] Passed 4 tests
Analyzing server-side resources used by Easy Social Like Box - Popup - Sidebar Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.03 ▲0.31 | 39.76 ▲18.37 |
Dashboard /wp-admin | 3.25 ▲0.19 | 50.41 ▲6.44 |
Posts /wp-admin/edit.php | 3.30 ▲0.19 | 44.10 ▲8.58 |
Add New Post /wp-admin/post-new.php | 5.62 ▲0.18 | 90.37 ▼549.87 |
Media Library /wp-admin/upload.php | 3.19 ▲0.19 | 32.63 ▲1.58 |
FB Like Box /wp-admin/options-general.php?page=slug_for_fb_like_box | 3.17 | 36.61 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 15 new options
New WordPress options |
---|
cfblb_popup_header |
cfblb_popup_width |
cfblb_popup_small_header |
cfblb_small_header |
cfblb_popup_show_faces |
cfblb_popup_fb_url |
cfblb_header |
cfblb_popup_height |
cfblb_popup_enable_disable |
cfblb_show_faces |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Social Like Box - Popup - Sidebar Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,805 ▲209 | 16.29 ▲0.66 | 15.30 ▲5.51 | 43.95 ▼4.45 |
Dashboard /wp-admin | 2,981 ▲47 | 5.96 ▼0.27 | 135.43 ▼29.19 | 112.60 ▲0.02 |
Posts /wp-admin/edit.php | 2,747 ▲8 | 2.86 ▲0.14 | 61.82 ▼0.47 | 90.17 ▼0.81 |
Add New Post /wp-admin/post-new.php | 1,624 ▲124 | 21.92 ▲3.24 | 277.69 ▼100.24 | 113.52 ▼0.56 |
Media Library /wp-admin/upload.php | 1,818 ▲11 | 5.09 ▲0.05 | 141.21 ▼4.07 | 120.39 ▲4.94 |
FB Like Box /wp-admin/options-general.php?page=slug_for_fb_like_box | 3,338 | 3.67 | 87.40 | 95.62 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 15 options
- cfblb_popup_width
- cfblb_popup_header
- cfblb_popup_small_header
- cfblb_popup_repeat_times
- cfblb_popup_height
- cfpl_enable
- cfblb_small_header
- cfblb_popup_stream
- cfblb_show_faces
- cfblb_popup_fb_url
- ...
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cardoza-facebook-like-box/cardoza_facebook_like_box.php:13
- > PHP Fatal error
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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (screenshot-1.png), #2 (screenshot-2.gif), #3 (screenshot-3.png), #4 (screenshot-3.gif)
cardoza-facebook-like-box/cardoza_facebook_like_box.php 92% from 13 tests
This is the main PHP file of "Easy Social Like Box - Popup - Sidebar Widget" version 3.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("cardoza-facebook-like-box.php" instead of "cardoza_facebook_like_box.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,803 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 175 | 11 | 896 |
PO File | 7 | 278 | 371 | 657 |
JavaScript | 2 | 24 | 0 | 126 |
CSS | 3 | 11 | 2 | 124 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.19MB with 0.15MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 69.04KB | 20.70KB | ▼ 70.02% |
screenshot-3.png | 70.75KB | 18.50KB | ▼ 73.85% |
images/fb.png | 51.97KB | 1.22KB | ▼ 97.65% |