83% ost-3d-image-cloud

Code Review | OST 3D Image Tag Cloud

WordPress plugin OST 3D Image Tag Cloud scored83%from 54 tests.

About plugin

  • Plugin page: ost-3d-image-cloud
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.2.2
  • WordPress version: 6.3.1
  • First release: Oct 7, 2013
  • Latest release: Sep 9, 2015
  • Number of updates: 13
  • Update frequency: every 54.2 days
  • Top authors: opensourcetech (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /2,389 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
Install script ran successfully

Server metrics [RAM: ▼0.00MB] [CPU: ▼7.39ms] Passed 4 tests

An overview of server-side resources used by OST 3D Image Tag Cloud
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0244.75 ▲4.98
Dashboard /wp-admin3.31 ▼0.0351.27 ▼16.67
Posts /wp-admin/edit.php3.37 ▲0.0149.27 ▼4.01
Add New Post /wp-admin/post-new.php5.89 ▲0.0189.63 ▼13.40
Media Library /wp-admin/upload.php3.24 ▲0.0141.01 ▲4.53

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by OST 3D Image Tag Cloud
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,919 ▲17313.52 ▼0.699.94 ▲8.3643.02 ▲2.61
Dashboard /wp-admin2,202 ▲225.74 ▲0.1694.52 ▲3.5072.73 ▲30.78
Posts /wp-admin/edit.php2,125 ▲252.17 ▲0.0435.31 ▼3.8231.73 ▼3.91
Add New Post /wp-admin/post-new.php1,544 ▲1323.15 ▲0.11676.41 ▲47.61126.53 ▲72.83
Media Library /wp-admin/upload.php1,419 ▲194.21 ▼0.15120.78 ▲6.3654.58 ▲8.72

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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 take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ost-3d-image-cloud/cardoza_3D_tag_cloud.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: These screenshots require images: #1 (screenshot-1.gif), #2 (screenshot-2.gif)
The official readme.txt might help

ost-3d-image-cloud/cardoza_3D_tag_cloud.php 85% from 13 tests

This is the main PHP file of "OST 3D Image Tag Cloud" version 1.0, 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: Keep the plugin description shorter than 140 characters (currently 164 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("ost-3d-image-cloud.php" instead of "cardoza_3D_tag_cloud.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin373 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PO File46464186
PHP12416180
CSS1105
JavaScript20402

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.35
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%
Functions7
▷ Named functions7100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
images/tag-icon.png0.68KB0.81KB0.00%