10% tilted-tag-cloud-widget

Code Review | Tilted Tag Cloud Widget

WordPress plugin Tilted Tag Cloud Widget scored10%from 54 tests.

About plugin

  • Plugin page: tilted-tag-cloud-...
  • Plugin version: 1.3.18
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jun 4, 2012
  • Latest release: Nov 5, 2023
  • Number of updates: 40
  • Update frequency: every 104.3 days
  • Top authors: whiletrue (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active /24,199 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/tilted-tag-cloud-widget/tilted-tag-cloud.php+192
    Function create_function() is deprecated

Server metrics [RAM: ▼1.90MB] [CPU: ▼55.02ms] Passed 4 tests

Server-side resources used by Tilted Tag Cloud Widget
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.09 ▼1.374.85 ▼42.75
Dashboard /wp-admin2.11 ▼1.205.28 ▼46.37
Posts /wp-admin/edit.php2.11 ▼1.256.65 ▼41.75
Add New Post /wp-admin/post-new.php2.11 ▼3.786.38 ▼89.20
Media Library /wp-admin/upload.php2.11 ▼1.125.54 ▼30.31

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_tiltedtagcloudwidget

Browser metrics Passed 4 tests

A check of browser resources used by Tilted Tag Cloud Widget
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,869 ▲10713.82 ▼0.397.85 ▲6.1137.65 ▼7.13
Dashboard /wp-admin2,198 ▲245.62 ▼0.0292.55 ▼6.6941.78 ▼3.72
Posts /wp-admin/edit.php2,103 ▼01.94 ▼0.0840.04 ▼1.0636.86 ▲3.14
Add New Post /wp-admin/post-new.php1,526 ▼023.40 ▲0.34638.44 ▼63.0159.20 ▲8.70
Media Library /wp-admin/upload.php1,400 ▼04.18 ▲0.0296.66 ▼0.1843.59 ▲0.85

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/tilted-tag-cloud-widget/tilted-tag-cloud.php+192
    Function create_function() is deprecated
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • widget_tiltedtagcloudwidget
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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
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_action() in wp-content/plugins/tilted-tag-cloud-widget/tilted-tag-cloud.php:108

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

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
  • Requires at least: Version format is invalid
The official readme.txt is a good inspiration

tilted-tag-cloud-widget/tilted-tag-cloud.php 92% from 13 tests

"Tilted Tag Cloud Widget" version 1.3.18's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("tilted-tag-cloud-widget.php" instead of "tilted-tag-cloud.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin144 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP22426144

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.63
Average class complexity13.00
▷ Minimum class complexity13.00
▷ Maximum class complexity13.00
Average method complexity4.00
▷ Minimum method complexity1.00
▷ Maximum method complexity8.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 functions2100.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
No PNG images were found in this plugin