90% taxonomy-list

Code Review | Taxonomy List

WordPress plugin Taxonomy List scored90%from 54 tests.

About plugin

  • Plugin page: taxonomy-list
  • Plugin version: 1.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Mar 28, 2018
  • Latest release: Dec 31, 2022
  • Number of updates: 51
  • Update frequency: every 34.1 days
  • Top authors: Muhammad Rehman (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

700+ active /6,883 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
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by Taxonomy List
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0238.88 ▼1.42
Dashboard /wp-admin3.33 ▲0.0252.56 ▲2.33
Posts /wp-admin/edit.php3.38 ▲0.0250.58 ▼5.80
Add New Post /wp-admin/post-new.php5.91 ▲0.0298.40 ▲4.18
Media Library /wp-admin/upload.php3.25 ▲0.0242.42 ▲9.33

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Taxonomy List
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,897 ▲13613.81 ▼0.548.35 ▲6.7038.42 ▼2.45
Dashboard /wp-admin2,195 ▲185.56 ▼0.0583.75 ▼2.6439.10 ▼2.56
Posts /wp-admin/edit.php2,100 ▲32.02 ▼0.0039.42 ▲1.9035.43 ▼3.88
Add New Post /wp-admin/post-new.php1,526 ▼223.52 ▲0.05687.61 ▲28.4061.98 ▲6.03
Media Library /wp-admin/upload.php1,397 ▼64.23 ▲0.02111.98 ▲8.6947.04 ▲0.82

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

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
Attributes that need to be fixed: You can look at the official readme.txt

taxonomy-list/taxonomy-list.php Passed 13 tests

The main file in "Taxonomy List" v. 1.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
62 characters long description:
You can display list of any taxonomy terms by using shortcode.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin215 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP1399140
CSS112050
JavaScript12025

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
PNG images were not found in this plugin