84% syndication-links

Code Review | Syndication Links

WordPress plugin Syndication Links scored84%from 54 tests.

About plugin

  • Plugin page: syndication-links
  • Plugin version: 4.4.14
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.9-6.4
  • WordPress version: 6.3.1
  • First release: Feb 19, 2015
  • Latest release: Dec 2, 2023
  • Number of updates: 101
  • Update frequency: every 31.8 days
  • Top authors: dshanske (99.01%)Otto42 (1.98%)

Code review

54 tests

User reviews

4 reviews

Install metrics

400+ active /26,971 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.07MB] [CPU: ▼5.65ms] Passed 4 tests

A check of server-side resources used by Syndication Links
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1041.15 ▲6.65
Dashboard /wp-admin3.38 ▲0.0349.36 ▼17.41
Posts /wp-admin/edit.php3.43 ▲0.0746.87 ▼1.70
Add New Post /wp-admin/post-new.php6.01 ▲0.1393.24 ▼5.19
Media Library /wp-admin/upload.php3.30 ▲0.0735.85 ▲1.71
Syndication Links /wp-admin/options-general.php?page=syndication_links3.2733.75

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2,901 new files
Database: no new tables, 7 new options
New WordPress options
widget_widget_original_of
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Syndication Links: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,796 ▲3414.13 ▼0.591.72 ▲0.1236.26 ▼1.10
Dashboard /wp-admin2,199 ▲215.59 ▲0.0188.53 ▼31.4839.24 ▼6.95
Posts /wp-admin/edit.php2,107 ▲102.02 ▲0.0248.38 ▲9.6944.51 ▲10.14
Add New Post /wp-admin/post-new.php6,233 ▲4,69718.96 ▼6.07837.32 ▲215.7056.39 ▼9.23
Media Library /wp-admin/upload.php1,404 ▲14.17 ▼0.0297.82 ▲2.6540.22 ▼1.62
Syndication Links /wp-admin/options-general.php?page=syndication_links9302.0125.7331.00

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 7 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_widget_original_of
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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
The following issues need your attention
  • 19× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'SynProvider_Micropub' not found in wp-content/plugins/syndication-links/includes/micropub/class-synprovider-micropub-bridgy-flickr.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'SynProvider_Micropub' not found in wp-content/plugins/syndication-links/includes/micropub/class-synprovider-micropub-bridgy-mastodon.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Syndication_Provider' not found in wp-content/plugins/syndication-links/includes/micropub/class-synprovider-micropub.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'SynProvider_Webmention' not found in wp-content/plugins/syndication-links/includes/webmentions/class-synprovider-webmention-bridgy.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Syndication_Provider' not found in wp-content/plugins/syndication-links/includes/webmentions/class-synprovider-webmention.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'SynProvider_Webmention' not found in wp-content/plugins/syndication-links/includes/webmentions/class-synprovider-webmention-bridgy-fed.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'SynProvider_Micropub' not found in wp-content/plugins/syndication-links/includes/micropub/class-synprovider-micropub-bridgy-github.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/syndication-links/includes/class-syn-config.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'SynProvider_Webmention_Bridgy' not found in wp-content/plugins/syndication-links/includes/webmentions/class-synprovider-webmention-bridgy-github.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'SynProvider_Webmention_Bridgy' not found in wp-content/plugins/syndication-links/includes/webmentions/class-synprovider-webmention-bridgy-flickr.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: syndication, indiewebcamp, indieweb, social media, sharing...

syndication-links/syndication-links.php Passed 13 tests

The entry point to "Syndication Links" version 4.4.14 is a PHP file that has certain tags in its header comment area
44 characters long description:
Add Links to Syndicated Copies of Your Posts

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
No dangerous file extensions were detected16,963 lines of code in 2,887 files:
LanguageFilesBlank linesComment linesLines of code
CSS814178,271
PHP244074975,489
SVG2,851412,872
Markdown2670304
JavaScript24227

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity16.30
▷ Minimum class complexity1.00
▷ Maximum class complexity59.00
Average method complexity3.05
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes20
▷ Abstract classes15.00%
▷ Concrete classes1995.00%
▷ Final classes00.00%
Methods149
▷ Static methods9261.74%
▷ Public methods14899.33%
▷ Protected methods00.00%
▷ Private methods10.67%
Functions25
▷ Named functions2392.00%
▷ Anonymous functions28.00%
Constants2
▷ Global constants2100.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