Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼2.38ms] Passed 4 tests
Analyzing server-side resources used by Exclude Custom Post Types From SEO Sitemap
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 45.11 ▼0.59 |
Dashboard /wp-admin | 3.55 ▲0.25 | 52.23 ▲6.21 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 52.86 ▼0.66 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 91.38 ▼7.48 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.26 ▼0.79 |
Exclude Sitemap YSEO /wp-admin/admin.php?page=exclude_sitemap_yseo | 3.50 | 48.99 |
Binary Carpenter /wp-admin/admin.php?page=bccomvn_wp_plugins_myn_menu | 3.44 | 33.11 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Exclude Custom Post Types From SEO Sitemap
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,535 ▲1,789 | 14.01 ▼0.60 | 2.00 ▲0.03 | 45.90 ▲0.43 |
Dashboard /wp-admin | 3,948 ▲1,760 | 6.04 ▲1.13 | 168.73 ▲62.59 | 56.25 ▲15.16 |
Posts /wp-admin/edit.php | 3,477 ▲1,385 | 3.04 ▲0.99 | 80.69 ▲40.96 | 47.01 ▲11.05 |
Add New Post /wp-admin/post-new.php | 2,871 ▲1,352 | 18.18 ▼5.18 | 758.57 ▲142.22 | 43.04 ▼11.54 |
Media Library /wp-admin/upload.php | 2,353 ▲965 | 5.07 ▲0.81 | 121.28 ▲10.57 | 51.41 ▲8.77 |
Exclude Sitemap YSEO /wp-admin/admin.php?page=exclude_sitemap_yseo | 1,463 | 2.52 | 47.85 | 52.34 |
Binary Carpenter /wp-admin/admin.php?page=bccomvn_wp_plugins_myn_menu | 1,388 | 2.41 | 36.48 | 27.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function BinaryCarpenter\\BC_EX\\add_action() in wp-content/plugins/exclude-custom-post-types-from-seo-sitemap/Initiator.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: yoast seo, seo, exclude custom post type
exclude-custom-post-types-from-seo-sitemap/Initiator.php 85% from 13 tests
"Exclude Custom Post Types From SEO Sitemap" version 1.01's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("exclude-custom-post-types-from-seo-sitemap.php" instead of "Initiator.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin31,047 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 7,491 | 741 | 19,296 |
CSS | 2 | 138 | 3,146 | 10,768 |
PHP | 9 | 366 | 417 | 983 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 25 | 35.71% |
▷ Public methods | 61 | 87.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 12.86% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 16 | 100.00% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin