89% gosign-advanced-separator-block

Code Review | Gosign - Advanced Separator Block

WordPress plugin Gosign - Advanced Separator Block scored89%from 54 tests.

About plugin

  • Plugin page: gosign-advanced-s...
  • Plugin version: 2.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0+
  • WordPress version: 6.3.1
  • First release: Dec 6, 2018
  • Latest release: May 19, 2022
  • Number of updates: 30
  • Update frequency: every 42.0 days
  • Top authors: gosign (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /6,253 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.01MB] [CPU: ▼6.54ms] Passed 4 tests

This is a short check of server-side resources used by Gosign - Advanced Separator Block
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0146.84 ▲5.75
Dashboard /wp-admin3.31 ▲0.0156.80 ▼11.38
Posts /wp-admin/edit.php3.36 ▲0.0154.01 ▼3.33
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.15 ▼8.06
Media Library /wp-admin/upload.php3.23 ▲0.0139.04 ▼3.39

Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] 67% from 3 tests

Filesystem and database footprint
Please try to fix the following items
  • You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/gosign-advanced-separator-block/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Gosign - Advanced Separator Block
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,842 ▲8114.82 ▲0.442.43 ▲0.4547.44 ▲2.43
Dashboard /wp-admin2,218 ▲155.84 ▼0.06124.03 ▲14.0144.09 ▲2.85
Posts /wp-admin/edit.php2,103 ▼02.05 ▲0.0445.10 ▲6.4941.19 ▲8.94
Add New Post /wp-admin/post-new.php6,366 ▲4,83529.26 ▲6.08965.36 ▲267.5754.49 ▲1.64
Media Library /wp-admin/upload.php1,400 ▼04.17 ▼0.13103.51 ▼10.0745.18 ▼0.28

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
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Requires php: Version format is invalid
You can look at the official readme.txt

gosign-advanced-separator-block/plugin.php 92% from 13 tests

The main PHP script in "Gosign - Advanced Separator Block" version 2.0.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("gosign-advanced-separator-block.php" instead of "plugin.php")

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
Everything looks great! No dangerous files found in this plugin8,414 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
JSON2006,990
JavaScript33460675
Sass3581633
Markdown123084
PHP285030
CSS2002

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin