89% debug-bar-taxonomies

Code Review | Debug Bar Taxonomies

WordPress plugin Debug Bar Taxonomies scored89%from 54 tests.

About plugin

  • Plugin page: debug-bar-taxonomies
  • Plugin version: 2.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-4.9
  • WordPress version: 6.3.1
  • First release: Apr 28, 2016
  • Latest release: Jan 22, 2018
  • Number of updates: 7
  • Update frequency: every 90.6 days
  • Top authors: jrf (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /6,846 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

This is a short check of server-side resources used by Debug Bar Taxonomies
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.41 ▲2.68
Dashboard /wp-admin3.31 ▼0.0445.87 ▼13.47
Posts /wp-admin/edit.php3.36 ▲0.0047.27 ▲1.93
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.18 ▼12.55
Media Library /wp-admin/upload.php3.23 ▲0.0032.70 ▼1.82

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Debug Bar Taxonomies
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.21 ▼1.351.88 ▲0.2144.20 ▲4.85
Dashboard /wp-admin2,206 ▲245.87 ▲0.02105.20 ▼9.2539.05 ▼2.45
Posts /wp-admin/edit.php2,086 ▼32.00 ▼0.0138.89 ▼1.9433.93 ▼2.80
Add New Post /wp-admin/post-new.php1,533 ▲523.10 ▼0.10609.04 ▼45.7455.77 ▲3.75
Media Library /wp-admin/upload.php1,388 ▲34.16 ▼0.0897.81 ▼1.6743.87 ▼0.68

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% 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 require attention: You can look at the official readme.txt

debug-bar-taxonomies/debug-bar-taxonomies.php 92% from 13 tests

The main file in "Debug Bar Taxonomies" v. 2.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 165 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,513 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP53537011,331
PO File256101121
CSS24256
Markdown1205

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.51
Average class complexity32.25
▷ Minimum class complexity1.00
▷ Maximum class complexity70.00
Average method complexity4.38
▷ Minimum method complexity1.00
▷ Maximum method complexity27.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods37
▷ Static methods2567.57%
▷ Public methods1745.95%
▷ Protected methods25.41%
▷ Private methods1848.65%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants00.00%
▷ Class constants5100.00%
▷ Public constants5100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/badge-circle-check-16.png0.74KB0.83KB0.00%
images/badge-circle-cross-16.png0.74KB0.83KB0.00%