83% silverstream-link

Code Review | Silverstream Link

WordPress plugin Silverstream Link scored83%from 54 tests.

About plugin

  • Plugin page: silverstream-link
  • Plugin version: 0.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.4.1
  • WordPress version: 6.3.1
  • First release: Jan 28, 2016
  • Latest release: Jan 28, 2016
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: jimbofreedman (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /673 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.00MB] [CPU: ▼1.91ms] Passed 4 tests

This is a short check of server-side resources used by Silverstream Link
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.48 ▼2.27
Dashboard /wp-admin3.31 ▼0.0356.21 ▼6.32
Posts /wp-admin/edit.php3.36 ▲0.0145.92 ▲0.84
Add New Post /wp-admin/post-new.php5.90 ▲0.0187.55 ▲0.13
Media Library /wp-admin/upload.php3.24 ▲0.0134.69 ▲1.33

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Silverstream Link: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.27 ▼1.161.70 ▼0.1839.03 ▼4.74
Dashboard /wp-admin2,206 ▲184.82 ▼0.05110.74 ▼4.0242.40 ▼0.82
Posts /wp-admin/edit.php2,089 ▼02.03 ▲0.0139.78 ▲4.0434.33 ▼0.33
Add New Post /wp-admin/post-new.php1,514 ▼2917.69 ▼0.78591.59 ▼28.3147.75 ▼1.57
Media Library /wp-admin/upload.php1,391 ▲34.24 ▼0.0095.54 ▼3.7243.53 ▲0.71

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
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options

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
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
The following issues need your attention
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/silverstream-link/silverstream.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
  • Donate link: Invalid url: "none"
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === silverstream-link === )
Please take inspiration from this readme.txt

silverstream-link/silverstream.php 85% from 13 tests

The principal PHP file in "Silverstream Link" v. 0.0.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("silverstream-link.php" instead of "silverstream.php")

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
Everything looks great! No dangerous files found in this plugin45 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP2155328
JavaScript10317

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.06
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin