Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.57ms] Passed 4 tests
Analyzing server-side resources used by Yoast SEO Cleaner
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 47.54 ▲6.17 |
Dashboard /wp-admin | 3.33 ▼0.01 | 49.18 ▼11.96 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 54.48 ▲0.39 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 99.14 ▲2.04 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.85 ▼0.76 |
Yoast SEO Cleaner Settings /wp-admin/options-general.php?page=yoast-seo-cleaner-settings | 3.22 | 36.08 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Yoast SEO Cleaner
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.35 ▼0.22 | 1.75 ▲0.14 | 42.73 ▲1.95 |
Dashboard /wp-admin | 2,201 ▲30 | 5.63 ▲0.12 | 90.43 ▼8.94 | 39.83 ▲3.02 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 1.98 ▼0.04 | 42.18 ▲4.53 | 36.12 ▲2.17 |
Add New Post /wp-admin/post-new.php | 1,542 ▲138 | 18.23 ▲0.28 | 625.96 ▲2.35 | 64.57 ▲14.08 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.22 ▼0.00 | 99.03 ▼12.61 | 42.95 ▼4.03 |
Yoast SEO Cleaner Settings /wp-admin/options-general.php?page=yoast-seo-cleaner-settings | 802 | 2.00 | 25.48 | 34.09 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 output text when accessed directly:
- > /wp-content/plugins/clean-yoast-seo-cache/admin/partials/yoast-seo-cleaner-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #1 is required in clean-yoast-seo-cache/assets to your readme.txt
clean-yoast-seo-cache/yoast-seo-cleaner.php 85% from 13 tests
The principal PHP file in "Yoast SEO Cleaner" v. 1.0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("clean-yoast-seo-cache.php" instead of "yoast-seo-cleaner.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 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin295 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 119 | 473 | 279 |
CSS | 1 | 3 | 4 | 13 |
JavaScript | 1 | 2 | 27 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 24 | 80.00% |
▷ Protected methods | 1 | 3.33% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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