Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼140.15ms] Passed 4 tests
An overview of server-side resources used by Jinx-Breadcrumbs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.05 | 37.30 ▲1.94 |
Dashboard /wp-admin | 3.11 ▲0.06 | 55.05 ▲5.55 |
Posts /wp-admin/edit.php | 3.16 ▲0.06 | 48.97 ▲0.27 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 95.18 ▼563.01 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 35.34 ▲0.22 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Jinx-Breadcrumbs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.15 ▲0.66 | 9.99 ▼2.20 | 48.04 ▼2.71 |
Dashboard /wp-admin | 2,973 ▲42 | 5.90 ▼0.02 | 145.95 ▼9.87 | 118.12 ▲3.29 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▼0.01 | 69.87 ▼0.66 | 91.12 ▲2.24 |
Add New Post /wp-admin/post-new.php | 1,615 ▲11 | 21.38 ▲2.48 | 282.05 ▼120.45 | 105.89 ▼7.09 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.03 ▲0.02 | 182.54 ▲31.51 | 119.94 ▼7.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: breadcrumbs, seo
jinx-breadcrumbs/index.php 85% from 13 tests
Analyzing the main PHP file in "Jinx-Breadcrumbs" version 0.2.11
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("jinx-breadcrumbs.php" instead of "index.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected281 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 136 | 9 | 281 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 46.67% |
▷ Protected methods | 8 | 53.33% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin