89% gosign-multi-position-text-with-quote-block

Code Review | Gosign - Multi Position Text With Quote Block

WordPress plugin Gosign - Multi Position Text With Quote Block scored89%from 54 tests.

About plugin

  • Plugin page: gosign-multi-posi...
  • Plugin version: 1.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0+
  • WordPress version: 6.3.1
  • First release: Feb 25, 2020
  • Latest release: May 19, 2022
  • Number of updates: 9
  • Update frequency: every 90.9 days
  • Top authors: gosign (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /811 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.01MB] [CPU: ▼4.00ms] Passed 4 tests

Server-side resources used by Gosign - Multi Position Text With Quote Block
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.74 ▼1.33
Dashboard /wp-admin3.32 ▲0.0147.05 ▼0.40
Posts /wp-admin/edit.php3.37 ▲0.0147.40 ▼4.21
Add New Post /wp-admin/post-new.php5.91 ▲0.0285.56 ▼10.05
Media Library /wp-admin/upload.php3.24 ▲0.0136.67 ▲2.64

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Gosign - Multi Position Text With Quote Block
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲3913.19 ▼1.201.86 ▼0.2642.51 ▼2.30
Dashboard /wp-admin2,206 ▲184.85 ▼0.0497.64 ▼17.4140.04 ▼1.89
Posts /wp-admin/edit.php2,086 ▼62.04 ▲0.0537.76 ▼5.7233.43 ▼2.38
Add New Post /wp-admin/post-new.php6,190 ▲4,65719.14 ▼4.03912.39 ▲285.6480.54 ▲25.32
Media Library /wp-admin/upload.php1,391 ▲34.21 ▲0.01109.73 ▲10.9247.37 ▲5.67

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

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% 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 to be fixed: You can look at the official readme.txt

gosign-multi-position-text-with-quote-block/plugin.php 92% from 13 tests

"Gosign - Multi Position Text With Quote Block" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("gosign-multi-position-text-with-quote-block.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected7,934 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
JSON2007,092
JavaScript33762450
Sass3125182
Markdown2480162
PHP285846
CSS2002

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.22
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%
Functions1
▷ Named functions1100.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