89% breadcrumb-navxt-multidimension-extensions

Code Review | Breadcrumb NavXT Multidimension Extensions

WordPress plugin Breadcrumb NavXT Multidimension Extensions scored89%from 54 tests.

About plugin

  • Plugin page: breadcrumb-navxt-...
  • Plugin version: 2.7.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 6.3.1
  • First release: Jun 10, 2014
  • Latest release: Dec 28, 2021
  • Number of updates: 44
  • Update frequency: every 62.7 days
  • Top authors: mtekk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /16,899 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
This plugin's installer ran successfully

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

A check of server-side resources used by Breadcrumb NavXT Multidimension Extensions
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0437.96 ▼0.54
Dashboard /wp-admin3.35 ▲0.0542.57 ▼4.63
Posts /wp-admin/edit.php3.40 ▲0.0442.36 ▼2.51
Add New Post /wp-admin/post-new.php5.93 ▲0.0489.34 ▼3.90
Media Library /wp-admin/upload.php3.27 ▲0.0435.79 ▲2.59

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

Breadcrumb NavXT Multidimension Extensions: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,792 ▲3114.24 ▼0.261.57 ▼0.0938.21 ▼4.33
Dashboard /wp-admin2,195 ▲155.54 ▼0.1382.23 ▼4.0340.02 ▼3.57
Posts /wp-admin/edit.php2,103 ▼02.01 ▲0.0334.45 ▼1.8034.58 ▲1.81
Add New Post /wp-admin/post-new.php1,529 ▲123.72 ▲0.55646.00 ▼9.6653.28 ▲7.84
Media Library /wp-admin/upload.php1,403 ▲64.24 ▲0.03100.35 ▲0.9544.20 ▼0.39

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded

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 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: breadcrumb, breadcrumb navxt, navigation, menu, trail...

breadcrumb-navxt-multidimension-extensions/breadcrumb_navxt_multidim.php 85% from 13 tests

"Breadcrumb NavXT Multidimension Extensions" version 2.7.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("breadcrumb-navxt-multidimension-extensions.php" instead of "breadcrumb_navxt_multidim.php")
  • Description: The description should be shorter than 140 characters (currently 251 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 plugin1,944 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP16481,2641,944

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.69
Average class complexity38.00
▷ Minimum class complexity2.00
▷ Maximum class complexity60.00
Average method complexity6.58
▷ Minimum method complexity1.00
▷ Maximum method complexity25.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
Methods73
▷ Static methods00.00%
▷ Public methods2736.99%
▷ Protected methods4663.01%
▷ Private methods00.00%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin