89% auto-deselect-uncategorized

Code Review | Auto-Deselect Uncategorized

WordPress plugin Auto-Deselect Uncategorized scored89%from 54 tests.

About plugin

  • Plugin page: auto-deselect-unc...
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.5.3
  • WordPress version: 6.3.1
  • First release: Dec 3, 2020
  • Latest release: Dec 8, 2020
  • Number of updates: 7
  • Update frequency: every 2.0 days
  • Top authors: gnowland (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /820 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼4.15ms] Passed 4 tests

A check of server-side resources used by Auto-Deselect Uncategorized
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0240.13 ▼3.47
Dashboard /wp-admin3.32 ▲0.0247.76 ▼2.82
Posts /wp-admin/edit.php3.37 ▲0.0245.58 ▼2.89
Add New Post /wp-admin/post-new.php5.91 ▲0.0288.86 ▼7.43
Media Library /wp-admin/upload.php3.25 ▲0.0233.23 ▼2.25

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Auto-Deselect Uncategorized: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.55 ▼1.201.66 ▼0.3744.36 ▼1.06
Dashboard /wp-admin2,203 ▲125.78 ▲0.9099.75 ▼1.2141.23 ▲3.45
Posts /wp-admin/edit.php2,089 ▼02.03 ▼0.0033.46 ▼9.8934.32 ▼0.03
Add New Post /wp-admin/post-new.php1,542 ▲918.60 ▼4.83602.89 ▼88.4547.94 ▼11.52
Media Library /wp-admin/upload.php1,388 ▼34.20 ▲0.0199.12 ▼6.7144.40 ▼2.12

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side


Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
You can take inspiration from this readme.txt

auto-deselect-uncategorized/auto-deselect-uncategorized.php 77% from 13 tests

Analyzing the main PHP file in "Auto-Deselect Uncategorized" version 1.0.3
You should first fix the following items:
  • Requires at least: The required version number did not match the one declared in readme.txt ("5.0.0" instead of "5.0")
  • Requires PHP: The required version number did not match the one declared in readme.txt ("5.6.0" instead of "5.6")
  • Description: Please keep the plugin description shorter than 140 characters (currently 178 characters long)

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 plugin111 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code

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.18
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.33
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods116.67%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ 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
There were not PNG files found in your plugin