Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.47ms] Passed 4 tests
A check of server-side resources used by Breadcrumb TMC
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 49.61 ▲1.04 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.64 ▼3.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.61 ▲1.49 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.02 ▲3.23 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.14 ▲2.56 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Breadcrumb TMC
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.46 ▼1.10 | 2.19 ▲0.43 | 39.65 ▼3.78 |
Dashboard /wp-admin | 2,206 ▲18 | 4.87 ▼0.03 | 107.22 ▼9.21 | 40.29 ▼4.88 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.02 | 42.28 ▲3.77 | 34.19 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.62 ▲0.53 | 626.02 ▼47.75 | 60.70 ▲8.96 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.15 ▼0.08 | 98.94 ▼6.98 | 43.37 ▼2.30 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/breadcrumb-tmc/breadcrumb-tmc.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function breadcrumb_tmc\\v1_4_0\\plugin_dir_path() in wp-content/plugins/breadcrumb-tmc/src/Breadcrumb.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function breadcrumb_tmc\\v1_4_0\\plugin_dir_path() in wp-content/plugins/breadcrumb-tmc/src/Breadcrumb.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: structured data markup, breadcrumb navigation, breadcrumb, breadcrumb shortcode, breadcrumb trail...
breadcrumb-tmc/breadcrumb-tmc.php 92% from 13 tests
The main PHP file in "Breadcrumb TMC" ver. 1.4.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
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 detected623 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 529 | 280 | 613 |
CSS | 1 | 0 | 3 | 10 |
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.30 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 24 | 57.14% |
▷ Public methods | 42 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin