90% simple-social-feed

Code Review | Simple Social Feed

WordPress plugin Simple Social Feed scored90%from 54 tests.

About plugin

  • Plugin page: simple-social-feed
  • Plugin version: 0.0.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.7
  • WordPress version: 6.3.1
  • First release: Mar 19, 2021
  • Latest release: Apr 29, 2021
  • Number of updates: 12
  • Update frequency: every 3.5 days
  • Top authors: siddhu09rocks (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active /2,715 total downloads

Benchmarks

Plugin footprint 83% 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: ▲0.02MB] [CPU: ▼4.09ms] Passed 4 tests

Analyzing server-side resources used by Simple Social Feed
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.11 ▲1.70
Dashboard /wp-admin3.32 ▲0.0244.69 ▼0.60
Posts /wp-admin/edit.php3.37 ▲0.0252.12 ▲5.46
Add New Post /wp-admin/post-new.php5.90 ▲0.0280.54 ▼14.46
Media Library /wp-admin/upload.php3.24 ▲0.0235.70 ▼3.00

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

Simple Social Feed: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,891 ▲14513.61 ▼0.975.48 ▲3.7646.86 ▲6.61
Dashboard /wp-admin2,207 ▲164.90 ▼0.98105.88 ▲5.3239.44 ▼1.08
Posts /wp-admin/edit.php2,093 ▲12.02 ▲0.0041.54 ▲0.0836.41 ▼2.08
Add New Post /wp-admin/post-new.php1,518 ▼1523.10 ▼0.07680.79 ▲64.2650.83 ▼6.68
Media Library /wp-admin/upload.php1,392 ▲74.23 ▼0.0795.15 ▼7.0844.30 ▲0.64

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: no access token, instagram feed, simple instagram feed, instagram without access token, instagram...

simple-social-feed/simple-social-feed.php Passed 13 tests

Analyzing the main PHP file in "Simple Social Feed" version 0.0.2
53 characters long description:
Add Instagram feed to your site without access token.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin98 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP1211477
CSS11020
JavaScript1001

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.20
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin