Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/custom-post-taxonomy-hierarchy-seo/includes/class-custom-post-tax-hierarchy-woocommerce-activator.php+33
Non-static method Custom_Post_Tax_Hierarchy_Woocommerce::check_plugin_status() should not be called statically
Server metrics [RAM: ▲0.16MB] [CPU: ▲4.19ms] Passed 4 tests
Server-side resources used by Custom Post & Taxonomy Hierarchy SEO with Woocommerce Support
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 44.66 ▲7.01 |
Dashboard /wp-admin | 3.46 ▲0.16 | 51.43 ▲5.20 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 54.14 ▲6.47 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 91.47 ▼1.93 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 43.58 ▲7.89 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
cpth_settings_md5 |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Post & Taxonomy Hierarchy SEO with Woocommerce Support
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲159 | 13.71 ▼0.67 | 4.78 ▲3.18 | 39.40 ▼1.22 |
Dashboard /wp-admin | 2,229 ▲37 | 4.85 ▼0.12 | 104.82 ▼7.84 | 39.97 ▼0.25 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.00 ▲0.01 | 38.01 ▲2.62 | 35.25 ▲2.15 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 23.27 ▲5.70 | 643.41 ▼16.70 | 75.02 ▲15.81 |
Media Library /wp-admin/upload.php | 1,408 ▲23 | 4.18 ▼0.03 | 94.59 ▼5.90 | 44.19 ▼1.85 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- cpth_settings_md5
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Custom_Post_Tax_Hierarchy_Woocommerce' not found in wp-content/plugins/custom-post-taxonomy-hierarchy-seo/includes/class-custom-post-tax-hierarchy-woocommerce-activator.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== custom-post-taxonomy-hierarchy-seo ===
)
custom-post-taxonomy-hierarchy-seo/custom-post-tax-hierarchy.php 85% from 13 tests
The main PHP file in "Custom Post & Taxonomy Hierarchy SEO with Woocommerce Support" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("custom-post-taxonomy-hierarchy-seo.php" instead of "custom-post-tax-hierarchy.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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin529 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 179 | 492 | 518 |
JavaScript | 2 | 4 | 54 | 6 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 2 | 4.17% |
▷ Public methods | 37 | 77.08% |
▷ Protected methods | 1 | 2.08% |
▷ Private methods | 10 | 20.83% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin