99% wpeasy-breadcrumb

Code Review | WpEasy Breadcrumb

WordPress plugin WpEasy Breadcrumb scored 99% from 54 tests.

About plugin

  • Plugin page: wpeasy-breadcrumb
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.5
  • WordPress version: 5.8.1
  • First release: Jan 2, 2013
  • Latest release: Jan 2, 2013
  • Number of updates: 3
  • Update frequency: every 0.7 days
  • Top authors: dileep1984 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,487 total downloads

Benchmarks

Plugin footprint Passed 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.00MB] [CPU: ▼141.26ms] Passed 4 tests

A check of server-side resources used by WpEasy Breadcrumb
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1234.25 ▲11.44
Dashboard /wp-admin3.06 ▲0.0148.17 ▼0.29
Posts /wp-admin/edit.php3.12 ▲0.0144.89 ▼2.88
Add New Post /wp-admin/post-new.php5.42 ▼0.0196.13 ▼552.45
Media Library /wp-admin/upload.php3.01 ▲0.0126.60 ▼9.41

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for WpEasy Breadcrumb
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8315.84 ▲0.269.78 ▼1.4250.42 ▲0.70
Dashboard /wp-admin2,970 ▲395.92 ▼0.12134.15 ▼16.63108.20 ▼1.01
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0265.73 ▼4.2689.47 ▼2.45
Add New Post /wp-admin/post-new.php1,683 ▲7918.71 ▲0.19368.36 ▼34.24107.97 ▼1.09
Media Library /wp-admin/upload.php1,810 ▲35.02 ▼0.00144.53 ▼9.21110.35 ▼0.75

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

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)
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Screenshots: Screenshot #1 (screenshot.png) image not found
You can look at the official readme.txt

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

Analyzing the main PHP file in "WpEasy Breadcrumb" version 1.0
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wpeasy-breadcrumb.php" instead of "breadcrumb.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin36 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14936

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.71
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.11MB with 0.11MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
(invalid) screenshot.png108.90KB0.00KB▼ 100.00%