Benchmarks
Plugin footprint Passed 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 gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼290.62ms] Passed 4 tests
This is a short check of server-side resources used by Yoast SEO: Search Index Purge
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.12 | 56.72 ▼1.00 |
Dashboard /wp-admin | 3.47 ▲0.06 | 47.33 ▲13.32 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 39.98 ▲2.93 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 97.07 ▼1,167.41 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 26.85 ▲3.01 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Yoast SEO: Search Index Purge: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,769 ▲15 | 15.56 ▼0.45 | 6.39 ▼1.73 | 2.13 ▼0.32 |
Dashboard /wp-admin | 2,901 ▲40 | 6.13 ▼0.03 | 121.99 ▼16.21 | 162.63 ▼8.22 |
Posts /wp-admin/edit.php | 2,698 ▲10 | 3.24 ▲0.01 | 64.40 ▲0.90 | 136.53 ▼8.14 |
Add New Post /wp-admin/post-new.php | 1,700 ▲39 | 20.99 ▲4.64 | 410.69 ▼9.46 | 155.91 ▼11.57 |
Media Library /wp-admin/upload.php | 1,704 ▲6 | 5.50 ▲0.04 | 139.63 ▼1.97 | 188.48 ▲9.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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 fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WPSEO_Post_Type_Sitemap_Provider' not found in wp-content/plugins/yoast-seo-search-index-purge/src/Yoast_Purge_Attachment_Sitemap_Provider.php:13
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: content analysis, seo, readability, google search console, xml sitemap
yoast-seo-search-index-purge/yoast-seo-search-index-purge.php 85% from 13 tests
The principal PHP file in "Yoast SEO: Search Index Purge" v. 1.1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected334 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 106 | 445 | 334 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 7 | 77.78% |
Methods | 50 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 80.00% |
▷ Protected methods | 1 | 2.00% |
▷ Private methods | 9 | 18.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin