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
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼9.76ms] Passed 4 tests
Analyzing server-side resources used by Social Feed | All social media in one place
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 40.08 ▲2.27 |
Dashboard /wp-admin | 3.43 ▲0.09 | 43.58 ▼18.90 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 41.77 ▼4.30 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 82.27 ▼15.95 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 33.89 ▲0.12 |
Facebook Feeds /wp-admin/edit.php?post_type=wssf_social_feed | 3.40 | 39.87 |
Add New Facebook Feed /wp-admin/post-new.php?post_type=wssf_social_feed | 3.45 | 44.58 |
Server storage [IO: ▲2.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 53 new files
Database: no new tables, 7 new options
New WordPress options |
---|
smuzsf_plugin_version |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Social Feed | All social media in one place
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,984 ▲238 | 15.02 ▲0.70 | 14.85 ▲13.00 | 25.44 ▼20.01 |
Dashboard /wp-admin | 2,262 ▲74 | 5.87 ▼0.04 | 99.84 ▼0.58 | 98.19 ▲54.64 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.02 ▲0.05 | 34.26 ▼3.92 | 39.16 ▲5.87 |
Add New Post /wp-admin/post-new.php | 1,562 ▲48 | 17.63 ▲0.06 | 739.90 ▲95.82 | 57.59 ▲11.10 |
Media Library /wp-admin/upload.php | 1,438 ▲47 | 4.23 ▲0.03 | 97.08 ▲0.90 | 93.71 ▲51.90 |
Facebook Feeds /wp-admin/edit.php?post_type=wssf_social_feed | 1,128 | 2.33 | 36.22 | 46.18 |
Add New Facebook Feed /wp-admin/post-new.php?post_type=wssf_social_feed | 2,600 | 2.94 | 64.26 | 111.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- smuzsf_plugin_version
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/post-new.php?post_type=wssf_social_feed
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=wssf_social_feed 455 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/post-new.php?post_type=wssf_social_feed
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=wssf_social_feed 466 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/post-new.php?post_type=wssf_social_feed
- > Network (severe)
wp-content/plugins/add-facebook/admin/ui/images/facebook.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=wssf_social_feed
- > Network (severe)
wp-content/plugins/add-facebook/admin/ui/images/layout1.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=wssf_social_feed
- > Network (severe)
wp-content/plugins/add-facebook/admin/ui/images/layout2.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=wssf_social_feed
- > Network (severe)
wp-content/plugins/add-facebook/admin/ui/images/layout3.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: facebook feed, facebook, facebook share, facebook photos, facebook gallery...
add-facebook/plugin.php 92% from 13 tests
"Social Feed | All social media in one place" version 1.5.4.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("add-facebook.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin4,514 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 367 | 483 | 2,382 |
PHP | 12 | 437 | 42 | 1,138 |
SVG | 1 | 0 | 0 | 655 |
CSS | 2 | 48 | 8 | 339 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 18 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
30 PNG files occupy 1.53MB with 0.61MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/ui/images/Layout1.png | 102.50KB | 25.44KB | ▼ 75.18% |
admin/ui/images/warning.png | 1.05KB | 0.98KB | ▼ 7.05% |
admin/ui/images/layout5.png | 559.29KB | 153.18KB | ▼ 72.61% |
admin/ui/images/Pinterest.png | 2.51KB | 1.58KB | ▼ 37.10% |
admin/ui/images/wp_rls_edit_slider_img.png | 1.48KB | 1.34KB | ▼ 9.05% |