Benchmarks
Plugin footprint 65% 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: ▲4.42MB] [CPU: ▼275.67ms] 75% from 4 tests
A check of server-side resources used by Responsive Social Slider Widget
It is recommended to improve the following
- CPU: The total CPU usage must kept under 500.00ms (currently 1,785.55ms on /wp-admin/options-general.php?page=responsive-facebook-and-twitter-widget)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.40 ▲4.89 | 76.91 ▲22.97 |
Dashboard /wp-admin | 8.42 ▲5.01 | 58.66 ▲20.38 |
Posts /wp-admin/edit.php | 8.42 ▲4.78 | 58.15 ▲19.98 |
Add New Post /wp-admin/post-new.php | 9.99 ▲3.01 | 111.96 ▼1,162.25 |
Media Library /wp-admin/upload.php | 8.42 ▲5.12 | 44.07 ▲19.20 |
Responsive Social Slider Widget /wp-admin/options-general.php?page=responsive-facebook-and-twitter-widget | 8.42 | 1,785.55 |
Freemius Debug [v.2.4.1] /wp-admin/admin.php?page=freemius | 8.42 | 43.36 |
Server storage [IO: ▲2.99MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 170 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_gdpr |
fs_debug_mode |
fs_accounts |
fs_active_plugins |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive Social Slider Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,809 ▲55 | 15.95 ▲0.28 | 5.86 ▼0.11 | 2.50 ▲0.01 |
Dashboard /wp-admin | 2,925 ▲64 | 6.15 ▼0.05 | 117.44 ▼21.46 | 170.87 ▲7.03 |
Posts /wp-admin/edit.php | 2,724 ▲36 | 3.23 ▼0.01 | 63.14 ▼2.12 | 154.41 ▲14.92 |
Add New Post /wp-admin/post-new.php | 1,671 ▼19 | 21.96 ▲1.15 | 411.92 ▼30.50 | 155.22 ▼4.61 |
Media Library /wp-admin/upload.php | 1,731 ▲33 | 5.45 ▼0.03 | 152.72 ▲10.61 | 203.11 ▲21.28 |
Responsive Social Slider Widget /wp-admin/options-general.php?page=responsive-facebook-and-twitter-widget | 1,287 | 2.45 | 53.40 | 159.71 |
Freemius Debug [v.2.4.1] /wp-admin/admin.php?page=freemius | 1,458 | 2.50 | 55.02 | 114.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/responsive-facebook-and-twitter-widget/freemius/includes/class-freemius.php+8540
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 4 options in the database
- fs_gdpr
- fs_accounts
- fs_active_plugins
- fs_debug_mode
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/responsive-facebook-and-twitter-widget/freemius/templates/ajax-loader.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/responsive-facebook-and-twitter-widget/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/responsive-facebook-and-twitter-widget/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/responsive-facebook-and-twitter-widget/freemius/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/responsive-facebook-and-twitter-widget/freemius/templates/partials/network-activation.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/responsive-facebook-and-twitter-widget/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/responsive-facebook-and-twitter-widget/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/responsive-facebook-and-twitter-widget/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/responsive-facebook-and-twitter-widget/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Please describe screenshot #0 in responsive-facebook-and-twitter-widget/assets to your readme.txt
responsive-facebook-and-twitter-widget/responsive-facebook-and-twitter-widget.php Passed 13 tests
The main PHP script in "Responsive Social Slider Widget" version 1.5.3 is automatically included on every request by WordPress
119 characters long description:
Display Facebook and Twitter on your website in beautiful responsive box which slides in from page edge in a handy way!
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin31,520 lines of code in 127 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 109 | 7,266 | 16,069 | 30,659 |
Sass | 1 | 84 | 0 | 411 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 3 | 34 | 59 | 194 |
JSON | 1 | 0 | 0 | 27 |
CSS | 12 | 0 | 0 | 15 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,895)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 89.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,895.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 2 | 4.44% |
▷ Concrete classes | 43 | 95.56% |
▷ Final classes | 0 | 0.00% |
Methods | 1,133 | |
▷ Static methods | 173 | 15.27% |
▷ Public methods | 791 | 69.81% |
▷ Protected methods | 15 | 1.32% |
▷ Private methods | 327 | 28.86% |
Functions | 100 | |
▷ Named functions | 100 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 123 | |
▷ Global constants | 98 | 79.67% |
▷ Class constants | 25 | 20.33% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/responsive-facebook-and-twitter-widget.png | 13.49KB | 4.53KB | ▼ 66.40% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |