84% categorized-tag-cloud

Code Review | Categorized Tag Cloud

WordPress plugin Categorized Tag Cloud scored84%from 54 tests.

About plugin

  • Plugin page: categorized-tag-c...
  • Plugin version: 1.2.24
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Nov 27, 2013
  • Latest release: Oct 29, 2023
  • Number of updates: 55
  • Update frequency: every 65.9 days
  • Top authors: whiletrue (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

2,000+ active /51,220 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.05MB] [CPU: ▼4.44ms] Passed 4 tests

Analyzing server-side resources used by Categorized Tag Cloud
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0539.70 ▲1.62
Dashboard /wp-admin3.36 ▲0.0544.06 ▼13.38
Posts /wp-admin/edit.php3.41 ▲0.0544.97 ▼1.07
Add New Post /wp-admin/post-new.php5.94 ▲0.0590.00 ▼4.94
Media Library /wp-admin/upload.php3.28 ▲0.0536.01 ▲3.72

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Categorized Tag Cloud
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.38 ▲0.031.64 ▲0.0943.03 ▲3.26
Dashboard /wp-admin2,195 ▲185.61 ▲0.0190.56 ▼16.4741.09 ▼0.76
Posts /wp-admin/edit.php2,100 ▼01.96 ▼0.0641.38 ▲5.3935.12 ▲2.14
Add New Post /wp-admin/post-new.php1,535 ▲918.10 ▼5.14605.96 ▼34.0769.00 ▲19.95
Media Library /wp-admin/upload.php1,394 ▼04.18 ▼0.0295.41 ▼1.3041.35 ▼2.05

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • can_compress_scripts
    • widget_categorizedtagcloudwidget
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • 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
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/categorized-tag-cloud/categorized-tag-cloud.php:77

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Requires at least: Invalid version format
The official readme.txt might help

categorized-tag-cloud/categorized-tag-cloud.php Passed 13 tests

The primary PHP file in "Categorized Tag Cloud" version 1.2.24 is used by WordPress to initiate all plugin functionality
87 characters long description:
Takes the website tags and aggregates them into a categorized cloud widget for sidebar.

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
Success! There were no dangerous files found in this plugin236 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP22630206
PO File171230

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.65
Average class complexity32.00
▷ Minimum class complexity32.00
▷ Maximum class complexity32.00
Average method complexity8.75
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.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
No PNG images were found in this plugin