89% post-featured-tag-block-by-gutena

Code Review | Gutena Recent Post Custom Tag

WordPress plugin Gutena Recent Post Custom Tag scored 89% from 54 tests.

About plugin

  • Plugin page: post-featured-tag...
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-6.1
  • WordPress version: 6.3.1
  • First release: Jul 29, 2022
  • Latest release: Feb 10, 2023
  • Number of updates: 8
  • Update frequency: every 24.6 days
  • Top authors: expresstech (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active / 2,761 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.18ms] Passed 4 tests

An overview of server-side resources used by Gutena Recent Post Custom Tag
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0335.31 ▼20.84
Dashboard /wp-admin3.32 ▲0.0245.66 ▼3.00
Posts /wp-admin/edit.php3.37 ▲0.0146.38 ▲0.08
Add New Post /wp-admin/post-new.php5.91 ▲0.02100.65 ▲3.61
Media Library /wp-admin/upload.php3.24 ▲0.0139.31 ▲3.03

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Gutena Recent Post Custom Tag
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.51 ▼0.021.54 ▼0.3543.09 ▼1.37
Dashboard /wp-admin2,206 ▲155.85 ▲0.97105.55 ▼4.9940.12 ▼3.45
Posts /wp-admin/edit.php2,086 ▼62.01 ▼0.0439.26 ▼1.6635.06 ▼0.89
Add New Post /wp-admin/post-new.php6,422 ▲4,88920.73 ▼2.45888.40 ▲235.5938.17 ▼17.23
Media Library /wp-admin/upload.php1,391 ▲64.20 ▼0.01107.56 ▲2.0546.67 ▲3.50

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

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes: You can look at the official readme.txt

post-featured-tag-block-by-gutena/post-featured-tag-block-gutena.php 77% from 13 tests

"Gutena Recent Post Custom Tag" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Description: The description should be shorter than 140 characters (currently 198 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("post-featured-tag-block-by-gutena.php" instead of "post-featured-tag-block-gutena.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected214 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP443107159
JSON10032
SVG50020
JavaScript2002
CSS1001

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity9.00
▷ Minimum class complexity9.00
▷ Maximum class complexity9.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods10
▷ Static methods220.00%
▷ Public methods10100.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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
includes/gutena/gutena-ecosys-onboard/assets/cta/bg.png6.31KB3.12KB▼ 50.59%