10% 3d-wp-tag-cloud-m

Code Review | 3D WP Tag Cloud-M

WordPress plugin 3D WP Tag Cloud-M scored 10% from 54 tests.

About plugin

  • Plugin page: 3d-wp-tag-cloud-m
  • Plugin version: 3.2.7
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-4.9.2
  • WordPress version: 6.3.1
  • First release: Oct 20, 2014
  • Latest release: Jan 17, 2018
  • Number of updates: 80
  • Update frequency: every 14.8 days
  • Top authors: hityr5yr (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 7,251 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
  • Install procedure had errors
    • > Deprecated in wp-content/plugins/3d-wp-tag-cloud-m/3D.WP.Tag.Cloud.M.php+13
    Methods with the same name as their class will not be constructors in a future version of PHP; wpTagCanvasWidgetM has a deprecated constructor

Server metrics [RAM: ▼1.40MB] [CPU: ▼60.00ms] Passed 4 tests

Server-side resources used by 3D WP Tag Cloud-M
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.59 ▼0.875.49 ▼42.40
Dashboard /wp-admin2.61 ▼0.706.76 ▼46.91
Posts /wp-admin/edit.php2.61 ▼0.757.76 ▼49.60
Add New Post /wp-admin/post-new.php2.61 ▼3.287.57 ▼101.08
Media Library /wp-admin/upload.php2.61 ▼0.627.48 ▼29.00
Add New /wp-admin/link-add.php2.618.76
All Links /wp-admin/link-manager.php2.627.85
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category2.618.45

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 9 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
plugin_m_version
widget_links
widget_wptagcanvaswidgetm
db_upgraded
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for 3D WP Tag Cloud-M
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,859 ▲7014.43 ▼0.031.89 ▼0.1042.83 ▼2.18
Dashboard /wp-admin2,237 ▲284.85 ▼0.99108.60 ▼2.4542.39 ▼0.98
Posts /wp-admin/edit.php2,120 ▲312.06 ▲0.0639.58 ▲5.6736.29 ▲1.91
Add New Post /wp-admin/post-new.php1,563 ▲3023.37 ▲0.08656.33 ▲23.0053.00 ▲2.12
Media Library /wp-admin/upload.php1,419 ▲344.15 ▼0.0595.17 ▼8.0145.88 ▼4.74
Add New /wp-admin/link-add.php1,6502.2361.8540.30
All Links /wp-admin/link-manager.php1,0772.0725.9733.34
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category1,3022.1426.3230.45

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin cannot be uninstalled
    • > Deprecated in wp-content/plugins/3d-wp-tag-cloud-m/3D.WP.Tag.Cloud.M.php+13
    Methods with the same name as their class will not be constructors in a future version of PHP; wpTagCanvasWidgetM has a deprecated constructor
  • This plugin did not uninstall successfully, leaving 9 options in the database
    • widget_wptagcanvaswidgetm
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_links
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • plugin_m_version
    • db_upgraded

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/edit-tags.php?taxonomy=link_category
    • > Deprecated in wp-content/plugins/3d-wp-tag-cloud-m/3D.WP.Tag.Cloud.M.php+13
    Methods with the same name as their class will not be constructors in a future version of PHP; wpTagCanvasWidgetM has a deprecated constructor
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/edit-tags.php?taxonomy=link_category
    • > Notice in wp-content/plugins/3d-wp-tag-cloud-m/3D.WP.Tag.Cloud.M.php+1371
    Undefined variable: mopt

SRP 0% 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
The following issues need your attention
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/3d-wp-tag-cloud-m/help/m.tips.php
  • 1015× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Notice
      Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 208
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 160
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 49
    • > PHP Notice
      Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 197
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 23
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 316
    • > PHP Notice
      Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 95
    • > PHP Notice
      Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 314
    • > PHP Notice
      Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 138
    • > PHP Notice
      Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 199

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

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: tag cloud, 3d, shapes, widget, canvas...

3d-wp-tag-cloud-m/3D.WP.Tag.Cloud.M.php 85% from 13 tests

This is the main PHP file of "3D WP Tag Cloud-M" version 3.2.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Description: The description should be shorter than 140 characters (currently 349 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("3d-wp-tag-cloud-m.php" instead of "3D.WP.Tag.Cloud.M.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected14,068 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP13711029,258
JavaScript4911273,669
HTML110701
CSS103440

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity62.00
▷ Minimum class complexity62.00
▷ Maximum class complexity62.00
Average method complexity13.20
▷ Minimum method complexity1.00
▷ Maximum method complexity56.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
37 PNG files occupy 0.64MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
css/ui-icons_888888.png6.83KB4.17KB▼ 38.92%
help/image003.png16.86KB17.38KB0.00%
css/hatch-bg-11.png0.56KB0.35KB▼ 37.72%
help/image0462.png7.73KB8.16KB0.00%
help/image037.png9.53KB10.12KB0.00%