89% gosign-content-nav-block

Code Review | Gosign - Content Navigation Block

WordPress plugin Gosign - Content Navigation Block scored89%from 54 tests.

About plugin

  • Plugin page: gosign-content-na...
  • Plugin version: 1.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8+
  • WordPress version: 6.3.1
  • First release: Apr 2, 2020
  • Latest release: Aug 12, 2021
  • Number of updates: 7
  • Update frequency: every 71.1 days
  • Top authors: gosign (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /808 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

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

A check of server-side resources used by Gosign - Content Navigation Block
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0244.63 ▲3.66
Dashboard /wp-admin3.33 ▼0.0252.43 ▼13.74
Posts /wp-admin/edit.php3.38 ▲0.0252.06 ▲4.05
Add New Post /wp-admin/post-new.php5.85 ▼0.0390.75 ▼14.82
Media Library /wp-admin/upload.php3.25 ▲0.0243.21 ▲8.22

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

Filesystem and database footprint
These are issues you should consider
  • Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/gosign-content-nav-block/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Gosign - Content Navigation Block
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,898 ▲15213.67 ▼0.695.46 ▲3.9038.27 ▼4.12
Dashboard /wp-admin2,215 ▲155.83 ▼0.04101.57 ▼4.7241.38 ▲0.69
Posts /wp-admin/edit.php2,082 ▼182.03 ▲0.0435.77 ▼3.4541.40 ▲7.07
Add New Post /wp-admin/post-new.php6,371 ▲4,82628.98 ▲5.96983.33 ▲342.4461.39 ▲1.67
Media Library /wp-admin/upload.php1,400 ▼34.13 ▲0.01113.11 ▲8.2747.25 ▼0.25

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7 in gosign-content-nav-block/assets to your readme.txt
  • Requires php: The plugin version is formatted incorrectly
The official readme.txt might help

gosign-content-nav-block/gosign-content-nav-block.php Passed 13 tests

The main PHP script in "Gosign - Content Navigation Block" version 1.1.0 is automatically included on every request by WordPress
27 characters long description:
Grid Layout of all Subpages

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected143 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP1279180
Markdown119057
JavaScript2074
CSS2002

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.09
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods112.50%
▷ Public methods8100.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
No PNG files were detected