90% better-social-feeds

Code Review | Better Social Feeds for Threads

WordPress plugin Better Social Feeds for Threads scored90%from 54 tests.

About plugin

  • Plugin page: better-social-feeds
  • Plugin version: 0.0.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3.2
  • WordPress version: 6.3.1
  • First release: Oct 9, 2023
  • Latest release: Nov 7, 2023
  • Number of updates: 5
  • Update frequency: every 6.0 days
  • Top authors: deepakkite (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /116 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼2.28ms] Passed 4 tests

An overview of server-side resources used by Better Social Feeds for Threads
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0643.96 ▲6.25
Dashboard /wp-admin3.37 ▲0.0747.76 ▲0.79
Posts /wp-admin/edit.php3.42 ▲0.0650.49 ▼4.51
Add New Post /wp-admin/post-new.php5.97 ▲0.0893.39 ▼8.47
Media Library /wp-admin/upload.php3.30 ▲0.0636.04 ▲3.07

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Better Social Feeds for Threads
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲4814.25 ▼0.101.60 ▼0.0938.81 ▼1.22
Dashboard /wp-admin2,215 ▲355.64 ▼0.0191.55 ▲0.3639.51 ▼3.55
Posts /wp-admin/edit.php2,120 ▲172.01 ▲0.0439.63 ▼4.2435.94 ▼4.72
Add New Post /wp-admin/post-new.php1,545 ▲1422.99 ▼0.18682.67 ▼16.2362.74 ▲6.32
Media Library /wp-admin/upload.php1,423 ▲264.21 ▲0.03100.12 ▼0.9543.91 ▲0.83

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: feeds, social, instagram, social media, social feeds...

better-social-feeds/better-social-feeds.php 92% from 13 tests

This is the main PHP file of "Better Social Feeds for Threads" version 0.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

Code Analysis Passed 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
Good job! No executable or dangerous file extensions detected570 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP47931402
CSS261112
JavaScript211256

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected