84% fast-category-cloud-wordpress-plugin

Code Review | Fast Category Cloud WordPress Plugin

WordPress plugin Fast Category Cloud WordPress Plugin scored84%from 54 tests.

About plugin

  • Plugin page: fast-category-clo...
  • Plugin version: 1.43c...
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-3.9.1
  • WordPress version: 6.3.1
  • First release: Apr 22, 2011
  • Latest release: May 24, 2014
  • Number of updates: 15
  • Update frequency: every 75.2 days
  • Top authors: byrev (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

60+ active /20,292 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.02MB] [CPU: ▼4.81ms] Passed 4 tests

This is a short check of server-side resources used by Fast Category Cloud WordPress Plugin
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0243.06 ▼5.62
Dashboard /wp-admin3.33 ▲0.0249.19 ▼0.76
Posts /wp-admin/edit.php3.38 ▲0.0254.54 ▼0.82
Add New Post /wp-admin/post-new.php5.91 ▲0.0288.18 ▼12.04
Media Library /wp-admin/upload.php3.26 ▲0.0238.40 ▲1.45

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
db_upgraded
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Fast Category Cloud WordPress Plugin
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.35 ▲0.151.76 ▼0.4644.04 ▲0.24
Dashboard /wp-admin2,198 ▲215.63 ▼0.0486.76 ▼12.8939.56 ▼3.51
Posts /wp-admin/edit.php2,103 ▼01.97 ▲0.0038.94 ▼11.0537.06 ▼3.71
Add New Post /wp-admin/post-new.php1,526 ▼223.12 ▼0.01709.26 ▲38.4152.61 ▲1.70
Media Library /wp-admin/upload.php1,394 ▼64.19 ▼0.0997.46 ▼13.8445.28 ▼5.65

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 detected upon uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget

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 | 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× 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/fast-category-cloud-wordpress-plugin/byrev_cat-cloud-widget.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 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
7 plugin tags: fast, seo, tags, cache, category...

fast-category-cloud-wordpress-plugin/byrev_cat-cloud.php 85% from 13 tests

The main file in "Fast Category Cloud WordPress Plugin" v. 1.43c... serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("fast-category-cloud-wordpress-plugin.php" instead of "byrev_cat-cloud.php")
  • Version: The version number should be digits and periods (ex. "1.0.3" instead of "1.43c...")

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 plugin157 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP22116157

PHP code Passed 2 tests

Analyzing 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.23
Average class complexity9.00
▷ Minimum class complexity9.00
▷ Maximum class complexity9.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity6.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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png6.89KB5.31KB▼ 23.05%