90% breadcrumb-navxt

Code Review | Breadcrumb NavXT

WordPress plugin Breadcrumb NavXT scored90%from 54 tests.

About plugin

  • Plugin page: breadcrumb-navxt
  • Plugin version: 7.2.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1
  • WordPress version: 6.3.1
  • First release: Dec 1, 2007
  • Latest release: Feb 10, 2023
  • Number of updates: 809
  • Update frequency: every 6.9 days
  • Top authors: mtekk (94.44%)hakre (5.69%)

Code review

54 tests

User reviews

128 reviews

Install metrics

900,000+ active /13,185,386 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲1.04MB] [CPU: ▲0.04ms] Passed 4 tests

This is a short check of server-side resources used by Breadcrumb NavXT
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /4.37 ▲0.9143.91 ▲7.06
Dashboard /wp-admin4.39 ▲1.0553.38 ▼7.23
Posts /wp-admin/edit.php4.51 ▲1.1554.70 ▲8.40
Add New Post /wp-admin/post-new.php6.99 ▲1.1096.96 ▼7.98
Media Library /wp-admin/upload.php4.32 ▲1.0944.37 ▲8.32

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 39 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_bcn_widget
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Breadcrumb NavXT
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲7214.41 ▼0.191.87 ▲0.3042.96 ▲3.57
Dashboard /wp-admin2,202 ▲215.63 ▼0.1295.44 ▲0.8644.89 ▲1.67
Posts /wp-admin/edit.php2,104 ▲41.97 ▼0.0435.68 ▼2.6536.04 ▼1.97
Add New Post /wp-admin/post-new.php6,202 ▲4,67419.33 ▼3.67918.01 ▲213.9338.20 ▼13.94
Media Library /wp-admin/upload.php1,407 ▲74.18 ▼0.1095.57 ▼15.6142.93 ▼1.42

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
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • widget_bcn_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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
No browser issues were found

Optimizations

Plugin configuration 96% from 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
6 plugin tags: breadcrumbs, menu, navigation, trail, breadcrumb...

breadcrumb-navxt/breadcrumb-navxt.php 92% from 13 tests

The main PHP script in "Breadcrumb NavXT" version 7.2.0 is automatically included on every request by WordPress
You should first fix the following items:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 201 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin5,014 lines of code in 36 files:
LanguageFilesBlank linesComment linesLines of code
PHP281052,5064,811
JavaScript6911194
CSS2009

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity21.92
▷ Minimum class complexity1.00
▷ Maximum class complexity190.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity37.00
Code structure
Namespaces2
Interfaces1
Traits0
Classes24
▷ Abstract classes416.67%
▷ Concrete classes2083.33%
▷ Final classes00.00%
Methods271
▷ Static methods93.32%
▷ Public methods23084.87%
▷ Protected methods3814.02%
▷ Private methods31.11%
Functions15
▷ Named functions1493.33%
▷ Anonymous functions16.67%
Constants14
▷ Global constants17.14%
▷ Class constants1392.86%
▷ Public constants13100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin