84% no-single-article-tags-in-tag-cloud

Code Review | No Single Article Tags in Tag Cloud

WordPress plugin No Single Article Tags in Tag Cloud scored84%from 54 tests.

About plugin

  • Plugin page: no-single-article...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8.0-4.5
  • WordPress version: 6.3.1
  • First release: Feb 25, 2016
  • Latest release: Apr 15, 2016
  • Number of updates: 5
  • Update frequency: every 10.0 days
  • Top authors: morbz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,031 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

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

Server-side resources used by No Single Article Tags in Tag Cloud
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.01 ▼0.87
Dashboard /wp-admin3.31 ▲0.0145.75 ▼12.82
Posts /wp-admin/edit.php3.36 ▲0.0047.10 ▲5.58
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.44 ▼13.10
Media Library /wp-admin/upload.php3.23 ▲0.0036.67 ▼2.50

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by No Single Article Tags in Tag Cloud
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.22 ▼1.341.77 ▲0.0439.53 ▼4.66
Dashboard /wp-admin2,206 ▲204.85 ▼1.03109.64 ▼17.0541.27 ▼3.35
Posts /wp-admin/edit.php2,089 ▼01.97 ▼0.0240.31 ▲1.2535.28 ▲1.49
Add New Post /wp-admin/post-new.php1,537 ▲1723.30 ▲0.09639.61 ▼19.2555.70 ▼2.33
Media Library /wp-admin/upload.php1,391 ▲64.31 ▲0.0797.27 ▼8.3445.13 ▲0.28

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

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
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/no-single-article-tags-in-tag-cloud/no-single-article-tags-in-tag-cloud.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: tag cloud, widget

no-single-article-tags-in-tag-cloud/no-single-article-tags-in-tag-cloud.php Passed 13 tests

This is the main PHP file of "No Single Article Tags in Tag Cloud" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
61 characters long description:
Removes tags with only one article from the tag cloud widget.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin11 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11711

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.50
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin