84% juicer

Code Review | Juicer.io: Effortlessly embed, curate, and aggregate social media feeds into your website

WordPress plugin Juicer.io: Effortlessly embed, curate, and aggregate social media feeds into your website scored84%from 54 tests.

About plugin

  • Plugin page: juicer
  • Plugin version: 1.12.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.4
  • WordPress version: 6.3.1
  • First release: Jan 21, 2015
  • Latest release: Nov 22, 2023
  • Number of updates: 83
  • Update frequency: every 38.9 days
  • Top authors: weckersham (93.98%)juicerio (7.23%)

Code review

54 tests

User reviews

21 reviews

Install metrics

10,000+ active /176,748 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼0.16ms] Passed 4 tests

This is a short check of server-side resources used by Juicer.io: Effortlessly embed, curate, and aggregate social media feeds into your website
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.77 ▼2.89
Dashboard /wp-admin3.33 ▲0.0347.29 ▼3.79
Posts /wp-admin/edit.php3.38 ▲0.0248.25 ▲3.73
Add New Post /wp-admin/post-new.php5.93 ▲0.0487.89 ▲5.71
Media Library /wp-admin/upload.php3.25 ▲0.0234.28 ▲2.32

Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

Juicer.io: Effortlessly embed, curate, and aggregate social media feeds into your website: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,868 ▲8114.72 ▲0.382.00 ▲0.0037.64 ▼7.62
Dashboard /wp-admin2,249 ▲785.68 ▲0.0493.53 ▼4.4538.08 ▼10.33
Posts /wp-admin/edit.php2,156 ▲772.00 ▼0.0241.44 ▼1.4234.56 ▼3.39
Add New Post /wp-admin/post-new.php1,381 ▼14416.73 ▼6.37509.77 ▼133.4147.38 ▼3.16
Media Library /wp-admin/upload.php1,453 ▲564.19 ▲0.0398.84 ▼1.6642.46 ▲1.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
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

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
Everything seems fine, however this is by no means 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 fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/juicer/juicer.php:95

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 93% 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
These attributes need your attention:
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt is a good inspiration

juicer/juicer.php 92% from 13 tests

Analyzing the main PHP file in "Juicer.io: Effortlessly embed, curate, and aggregate social media feeds into your website" version 1.12.4
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)

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
No dangerous file extensions were detected796 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code
CSS133319
PHP25840247
SVG1300189
JavaScript1181234
JSON1007

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods1
▷ Static methods00.00%
▷ Public methods1100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
includes/admin/img/feed-img.png97.25KB40.86KB▼ 57.99%