Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼317.36ms] Passed 4 tests
This is a short check of server-side resources used by Very Simple Breadcrumb
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 59.76 ▲9.49 |
Dashboard /wp-admin | 3.42 ▲0.01 | 35.82 ▲1.31 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.60 ▼64.12 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 142.61 ▼1,206.97 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 27.93 ▲0.34 |
Very Simple Breadcrumb /wp-admin/options-general.php?page=very-simple-breadcrumb | 3.27 | 22.47 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Very Simple Breadcrumb
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,904 ▲150 | 16.47 ▲0.83 | 9.19 ▲2.03 | 2.80 ▲0.53 |
Dashboard /wp-admin | 2,925 ▲64 | 6.75 ▲0.56 | 117.27 ▼15.16 | 198.90 ▲31.36 |
Posts /wp-admin/edit.php | 2,724 ▲30 | 3.30 ▲0.07 | 66.94 ▲0.52 | 163.14 ▲13.80 |
Add New Post /wp-admin/post-new.php | 1,786 ▲34 | 19.72 ▼1.44 | 393.71 ▼99.72 | 169.60 ▲12.22 |
Media Library /wp-admin/upload.php | 1,728 ▲30 | 5.91 ▲0.38 | 128.74 ▼11.88 | 197.01 ▲11.12 |
Very Simple Breadcrumb /wp-admin/options-general.php?page=very-simple-breadcrumb | 1,738 | 3.51 | 79.83 | 201.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/very-simple-breadcrumb/very-simple-breadcrumb.php:11
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/very-simple-breadcrumb/very-simple-breadcrumb.php on line 11
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Screenshot #2 (Dashboard Appearnce after activating the plugin) image not found
- Contributors: Plugin contributors field is missing
very-simple-breadcrumb/very-simple-breadcrumb.php 92% from 13 tests
The principal PHP file in "Very Simple Breadcrumb" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 348 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected192 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 19 | 189 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin