84% seed-social

Code Review | Seed Social

WordPress plugin Seed Social scored84%from 54 tests.

About plugin

  • Plugin page: seed-social
  • Plugin version: 2.0.5
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.1
  • WordPress version: 6.3.1
  • First release: May 7, 2016
  • Latest release: Mar 13, 2023
  • Number of updates: 105
  • Update frequency: every 24.0 days
  • Top authors: SeedThemes (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

10,000+ active /103,459 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.14MB] [CPU: ▼1.32ms] Passed 4 tests

Analyzing server-side resources used by Seed Social
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1237.92 ▼3.90
Dashboard /wp-admin3.45 ▲0.1447.85 ▼1.76
Posts /wp-admin/edit.php3.56 ▲0.2150.96 ▲5.32
Add New Post /wp-admin/post-new.php6.03 ▲0.1586.63 ▼4.94
Media Library /wp-admin/upload.php3.37 ▲0.1439.74 ▲6.53
Seed Social /wp-admin/options-general.php?page=seed-social3.3434.10

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Seed Social
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲7314.80 ▲0.571.80 ▼0.0444.42 ▼0.11
Dashboard /wp-admin2,204 ▲165.81 ▲0.98102.07 ▼4.4838.49 ▼3.67
Posts /wp-admin/edit.php2,096 ▲72.00 ▼0.0139.42 ▲2.9636.24 ▼2.85
Add New Post /wp-admin/post-new.php6,275 ▲4,73319.49 ▲1.30922.96 ▲276.9765.56 ▼0.73
Media Library /wp-admin/upload.php1,395 ▲44.19 ▼0.0296.83 ▼4.6245.40 ▲2.78
Seed Social /wp-admin/options-general.php?page=seed-social9172.0323.3726.94

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
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/seed-social/seed-social.php:59

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: social, share, facebook, line, twitter

seed-social/seed-social.php 92% from 13 tests

Analyzing the main PHP file in "Seed Social" version 2.0.5
The following require your attention:
  • Git Repository: There should be no Git repositories present in your plugin

Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin1,123 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP110989509
JavaScript389129495
Sass120108
JSON1109
CSS1011
HTML1001

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.57
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%
Methods3
▷ Static methods266.67%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions22
▷ Named functions22100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin