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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.38ms] Passed 4 tests
Server-side resources used by RDFa Breadcrumb
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.48 ▲2.63 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.79 ▼3.50 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 41.69 ▼4.34 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.19 ▲2.22 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.87 ▼3.90 |
Server storage [IO: ▲0.50MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RDFa Breadcrumb
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 14.47 ▲0.03 | 1.77 ▼0.41 | 43.70 ▼8.88 |
Dashboard /wp-admin | 2,224 ▲39 | 5.79 ▼0.01 | 96.67 ▼12.99 | 67.61 ▲24.16 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 1.98 ▼0.01 | 36.75 ▼1.31 | 31.12 ▲0.01 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.23 ▲0.68 | 687.81 ▲4.97 | 55.02 ▼13.52 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.14 ▼0.05 | 104.72 ▼3.61 | 44.83 ▼1.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× 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/rdfa-breadcrumb/rdfa-breadcrumbs.php:501
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (The RDFa Breadcrumbs on your website.), #2 (RDFa Breadcrumbs displayed by Google Webmasters rich snippet testing tool.), #3 (Breadcrumbs on google search results.), #4 (New user Interface of a plugin.)
rdfa-breadcrumb/rdfa-breadcrumbs.php 85% from 13 tests
This is the main PHP file of "RDFa Breadcrumb" version 2.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 160 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("rdfa-breadcrumb.php" instead of "rdfa-breadcrumbs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,438 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 2 | 86 | 9 | 389 |
CSS | 2 | 33 | 150 | 383 |
PHP | 1 | 106 | 88 | 323 |
PO File | 6 | 102 | 126 | 300 |
JavaScript | 3 | 0 | 95 | 43 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 12 | |
▷ Named functions | 12 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
20 compressed PNG files occupy 0.08MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/rdfa-breadcrumb/images/ui-bg_glass_40_ffc73d_1x400.png | 0.13KB | 0.16KB | 0.00% |
css/rdfa-breadcrumb/images/ui-bg_glass_40_0078a3_1x400.png | 0.13KB | 0.16KB | 0.00% |
css/rdfa-breadcrumb/images/ui-bg_glass_20_555555_1x400.png | 0.11KB | 0.15KB | 0.00% |
screenshot-3.png | 28.70KB | 17.37KB | ▼ 39.47% |
screenshot-5.png | 4.44KB | 3.39KB | ▼ 23.66% |