90% taxonomy-checklist-tree

Code Review | Taxonomy Checklist Tree

WordPress plugin Taxonomy Checklist Tree scored90%from 54 tests.

About plugin

  • Plugin page: taxonomy-checklis...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.5
  • WordPress version: 6.3.1
  • First release: Dec 4, 2015
  • Latest release: Sep 5, 2020
  • Number of updates: 8
  • Update frequency: every 217.2 days
  • Top authors: webvitaly (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /2,280 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼0.82ms] Passed 4 tests

Server-side resources used by Taxonomy Checklist Tree
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.50 ▼4.01
Dashboard /wp-admin3.31 ▲0.0144.93 ▼0.96
Posts /wp-admin/edit.php3.36 ▲0.0148.66 ▲0.90
Add New Post /wp-admin/post-new.php5.89 ▲0.0195.67 ▲9.15
Media Library /wp-admin/upload.php3.24 ▲0.0135.37 ▲0.79

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
db_upgraded
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Taxonomy Checklist Tree: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.25 ▼1.112.48 ▲0.1841.74 ▼4.19
Dashboard /wp-admin2,206 ▲184.88 ▼0.05112.84 ▲6.2643.58 ▲3.68
Posts /wp-admin/edit.php2,089 ▼31.99 ▼0.0340.60 ▲3.2134.79 ▲1.50
Add New Post /wp-admin/post-new.php1,544 ▲118.44 ▲0.04601.32 ▼22.9749.32 ▼13.27
Media Library /wp-admin/upload.php1,388 ▼04.19 ▲0.00120.56 ▲21.4057.68 ▲16.78

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test

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

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
  • Screenshots: Screenshot #1 (Category/Taxonomy Checklist View before and after installing the plugin.) image missing
You can look at the official readme.txt

taxonomy-checklist-tree/taxonomy-checklist-tree.php Passed 13 tests

The main file in "Taxonomy Checklist Tree" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
71 characters long description:
Plugin sets hierarchical view for category and taxonomy checklist tree.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected25 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1131225

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.33
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods3100.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png15.35KB6.32KB▼ 58.82%