84% jazzy-generator-tag

Code Review | Jazzy Generator Tag

WordPress plugin Jazzy Generator Tag scored84%from 54 tests.

About plugin

  • Plugin page: jazzy-generator-tag
  • Plugin version: 5.7.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5-5.7
  • WordPress version: 6.3.1
  • First release: May 31, 2016
  • Latest release: Jul 1, 2021
  • Number of updates: 18
  • Update frequency: every 103.2 days
  • Top authors: DrewAPicture (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,909 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by Jazzy Generator Tag
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0240.88 ▼9.53
Dashboard /wp-admin3.33 ▲0.0246.12 ▼0.19
Posts /wp-admin/edit.php3.38 ▲0.0247.86 ▼2.92
Add New Post /wp-admin/post-new.php5.91 ▲0.0288.13 ▼14.31
Media Library /wp-admin/upload.php3.25 ▲0.0235.55 ▼0.90

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

Jazzy Generator Tag: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.21 ▼0.935.79 ▲3.9543.07 ▼2.13
Dashboard /wp-admin2,206 ▲184.84 ▼0.05103.70 ▲0.2440.66 ▲2.21
Posts /wp-admin/edit.php2,089 ▼02.06 ▲0.0240.88 ▼0.2135.95 ▼0.05
Add New Post /wp-admin/post-new.php1,514 ▼2117.59 ▼5.67684.57 ▲60.1165.32 ▲3.21
Media Library /wp-admin/upload.php1,388 ▼04.20 ▼0.0199.74 ▼11.1143.11 ▲0.33

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jazzy-generator-tag/jazzy-generator-tag.php:168

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: generator

jazzy-generator-tag/jazzy-generator-tag.php 92% from 13 tests

This is the main PHP file of "Jazzy Generator Tag" version 5.7.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Domain Path: The domain path folder was not found ("/languages/")

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
No dangerous file extensions were detected76 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1466755
JSON10021

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.12
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

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