Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/easy-facebook-likebox/easy-facebook-likebox.php+68
Trying to access array offset on value of type bool
Server metrics [RAM: ▲5.74MB] [CPU: ▲34.28ms] 75% from 4 tests
Server-side resources used by Easy Social Feed - Social Photos Gallery - Post Feed - Like Box
It is recommended to improve the following
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.74MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.23 ▲5.77 | 76.26 ▲35.18 |
Dashboard /wp-admin | 9.25 ▲5.95 | 82.60 ▲34.16 |
Posts /wp-admin/edit.php | 9.25 ▲5.90 | 98.80 ▲53.99 |
Add New Post /wp-admin/post-new.php | 11.22 ▲5.33 | 128.68 ▲29.01 |
Media Library /wp-admin/upload.php | 9.25 ▲6.03 | 74.96 ▲38.75 |
Welcome /wp-admin/admin.php?page=esf_welcome | 9.25 | 71.94 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.25 | 82.84 |
Server storage [IO: ▲9.48MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 494 new files
Database: no new tables, 13 new options
New WordPress options |
---|
fs_debug_mode |
fs_accounts |
can_compress_scripts |
widget_esf_instagram_feed |
widget_recent-posts |
widget_recent-comments |
widget_easy_facebook_page_plugin |
fta_settings |
fs_active_plugins |
widget_easy_facebook_feed |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Social Feed - Social Photos Gallery - Post Feed - Like Box
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲200 | 13.52 ▼0.83 | 10.31 ▲8.59 | 29.61 ▼15.83 |
Dashboard /wp-admin | 2,228 ▲50 | 5.58 ▼0.14 | 86.54 ▼26.86 | 84.92 ▲36.25 |
Posts /wp-admin/edit.php | 2,134 ▲31 | 2.01 ▲0.06 | 40.46 ▲5.26 | 37.08 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,732 ▲204 | 24.16 ▲0.88 | 672.76 ▲3.87 | 109.34 ▲51.98 |
Media Library /wp-admin/upload.php | 1,433 ▲39 | 4.10 ▼0.09 | 99.75 ▲1.31 | 80.45 ▲38.67 |
Welcome /wp-admin/admin.php?page=esf_welcome | 1,536 | 11.11 | 283.78 | 92.68 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,098 | 1.67 | 25.09 | 29.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/easy-facebook-likebox/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 13 options in the database
- widget_easy_facebook_page_plugin
- theysaidso_admin_options
- fta_settings
- can_compress_scripts
- widget_recent-posts
- fs_accounts
- widget_easy_facebook_feed
- fs_active_plugins
- widget_theysaidso_widget
- fs_debug_mode
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/easy-facebook-likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.php
- > /wp-content/plugins/easy-facebook-likebox/instagram/frontend/assets/css/esf-insta-customizer-style.css.php
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-facebook-likebox/facebook/frontend/easy-facebook-likebox.php:73
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/easy-facebook-likebox/facebook/frontend/views/html-feed-meta.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/easy-facebook-likebox/facebook/frontend/views/html-feed-footer.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-facebook-likebox/facebook/includes/easy-custom-facebook-feed-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/easy-facebook-likebox/facebook/frontend/views/html-free-popup.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/easy-facebook-likebox/instagram/frontend/views/html-post-header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/easy-facebook-likebox/instagram/frontend/views/html-post-meta.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/easy-facebook-likebox/instagram/frontend/views/html-feed-header.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-facebook-likebox/instagram/includes/esf-instagram-feed-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esf_insta_demo_page_id() in wp-content/plugins/easy-facebook-likebox/instagram/frontend/views/feed.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: facebook feed, facebook posts, instagram feed, instagram gallery, instagram photos
easy-facebook-likebox/easy-facebook-likebox.php 92% from 13 tests
The principal PHP file in "Easy Social Feed - Social Photos Gallery - Post Feed - Like Box" v. 6.5.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 556 characters long)
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin98,672 lines of code in 340 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 185 | 11,349 | 19,370 | 49,803 |
JSON | 8 | 0 | 0 | 16,185 |
Sass | 75 | 4,656 | 404 | 14,135 |
PO File | 6 | 4,270 | 8,485 | 11,378 |
JavaScript | 28 | 1,730 | 1,733 | 6,511 |
CSS | 35 | 90 | 75 | 574 |
SVG | 3 | 1 | 1 | 86 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
The following items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 74 | |
▷ Abstract classes | 2 | 2.70% |
▷ Concrete classes | 72 | 97.30% |
▷ Final classes | 0 | 0.00% |
Methods | 1,452 | |
▷ Static methods | 212 | 14.60% |
▷ Public methods | 1,052 | 72.45% |
▷ Protected methods | 19 | 1.31% |
▷ Private methods | 381 | 26.24% |
Functions | 163 | |
▷ Named functions | 145 | 88.96% |
▷ Anonymous functions | 18 | 11.04% |
Constants | 165 | |
▷ Global constants | 108 | 65.45% |
▷ Class constants | 57 | 34.55% |
▷ Public constants | 57 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
15 PNG files occupy 1.04MB with 0.59MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
facebook/frontend/assets/css/popup_close.png | 1.15KB | 0.52KB | ▼ 54.82% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
instagram/frontend/assets/images/esf-insta-video-placeholder.png | 9.72KB | 1.11KB | ▼ 88.54% |
facebook/frontend/assets/images/popup_close.png | 1.15KB | 0.52KB | ▼ 54.82% |
freemius/assets/img/easy-facebook-likebox.png | 7.39KB | 4.08KB | ▼ 44.75% |