84% creative-tag-cloud

Code Review | Creative Tag Cloud

WordPress plugin Creative Tag Cloud scored84%from 54 tests.

About plugin

  • Plugin page: creative-tag-cloud
  • Plugin version: 0.3.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.6
  • WordPress version: 6.3.1
  • First release: Jan 24, 2020
  • Latest release: Nov 19, 2022
  • Number of updates: 27
  • Update frequency: every 38.2 days
  • Top authors: camthor (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active /3,336 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
Installer ran successfully

Server metrics [RAM: ▲0.38MB] [CPU: ▲0.71ms] Passed 4 tests

Analyzing server-side resources used by Creative Tag Cloud
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.88 ▲0.4241.16 ▲0.31
Dashboard /wp-admin3.72 ▲0.4147.98 ▼1.17
Posts /wp-admin/edit.php3.77 ▲0.4145.35 ▲1.41
Add New Post /wp-admin/post-new.php6.23 ▲0.3593.39 ▲2.28
Media Library /wp-admin/upload.php3.58 ▲0.3534.75 ▲2.45
Creative Tag Cloud /wp-admin/options-general.php?page=creative-tag-cloud-settings3.5539.09

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_creative_wave_tag_cloud_widget
widget_creative_spiral_tag_cloud_widget
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Creative Tag Cloud
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,914 ▲16813.93 ▼0.468.79 ▲6.8843.62 ▲0.27
Dashboard /wp-admin2,207 ▲164.83 ▼0.27111.11 ▼0.2543.62 ▼1.81
Posts /wp-admin/edit.php2,090 ▲192.01 ▼0.0236.45 ▲0.6836.61 ▲0.41
Add New Post /wp-admin/post-new.php1,540 ▲918.65 ▼4.26612.15 ▲37.1073.24 ▲21.49
Media Library /wp-admin/upload.php1,386 ▲14.24 ▲0.0393.46 ▼5.0943.35 ▲0.43
Creative Tag Cloud /wp-admin/options-general.php?page=creative-tag-cloud-settings1,0471.9030.6332.68

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 8 options in the database
    • db_upgraded
    • widget_creative_spiral_tag_cloud_widget
    • widget_recent-comments
    • widget_creative_wave_tag_cloud_widget
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/creative-tag-cloud/includes/class-creative-tag-cloud-widget.php:31

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: waves, widget, spiral, tag cloud, tags...

creative-tag-cloud/creative-tag-cloud.php 92% from 13 tests

The primary PHP file in "Creative Tag Cloud" version 0.3.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder does not exist ("/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
Success! There were no dangerous files found in this plugin2,037 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP131,0041,0171,696
JavaScript22972274
CSS273367

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity22.36
▷ Minimum class complexity1.00
▷ Maximum class complexity72.00
Average method complexity3.92
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
Methods78
▷ Static methods1114.10%
▷ Public methods5975.64%
▷ Protected methods00.00%
▷ Private methods1924.36%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants10
▷ Global constants440.00%
▷ Class constants660.00%
▷ Public constants6100.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
PNG images were not found in this plugin