Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.51MB] [CPU: ▲3.75ms] Passed 4 tests
This is a short check of server-side resources used by Yoast Test Helper
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.52 | 44.43 ▲6.44 |
Dashboard /wp-admin | 3.81 ▲0.51 | 49.96 ▲0.95 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 52.30 ▲6.05 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.51 | 100.50 ▲2.45 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 39.44 ▲5.53 |
Yoast Test /wp-admin/tools.php?page=yoast-test-helper | 3.73 | 40.44 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 53 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Yoast Test Helper
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.33 ▼1.42 | 1.65 ▼0.22 | 36.63 ▼8.10 |
Dashboard /wp-admin | 2,207 ▲15 | 5.82 ▲0.84 | 95.32 ▼10.57 | 37.17 ▼7.60 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.00 ▼0.01 | 39.23 ▼1.21 | 33.80 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.45 ▲0.17 | 612.47 ▼11.33 | 60.44 ▲7.08 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.21 ▼0.03 | 96.09 ▼4.39 | 40.67 ▼2.73 |
Yoast Test /wp-admin/tools.php?page=yoast-test-helper | 2,274 | 1.83 | 32.36 | 47.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 28× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\Test_Helper\\Integration' not found in wp-content/plugins/yoast-test-helper/src/query-monitor.php:8
- > PHP Fatal error
Uncaught Error: Class 'QM_Output_Html' not found in wp-content/plugins/yoast-test-helper/src/query-monitor-output.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\Test_Helper\\WordPress_Plugins\\WordPress_Plugin' not found in wp-content/plugins/yoast-test-helper/src/wordpress-plugins/news-seo.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\Test_Helper\\Integration' not found in wp-content/plugins/yoast-test-helper/src/development-mode.php:8
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Panel' not found in wp-content/plugins/yoast-test-helper/src/admin-bar-panel.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\Test_Helper\\Integration' not found in wp-content/plugins/yoast-test-helper/src/feature-toggler.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\Test_Helper\\WordPress_Plugins\\WordPress_Plugin' not found in wp-content/plugins/yoast-test-helper/src/wordpress-plugins/local-seo.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\Test_Helper\\Integration' not found in wp-content/plugins/yoast-test-helper/src/taxonomies.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\Test_Helper\\Integration' not found in wp-content/plugins/yoast-test-helper/src/domain-dropdown.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\Test_Helper\\Integration' not found in wp-content/plugins/yoast-test-helper/src/inline-script.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: yoast seo, yoast, development
yoast-test-helper/yoast-test-helper.php 92% from 13 tests
The primary PHP file in "Yoast Test Helper" version 1.17 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,783 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 45 | 766 | 1,742 | 2,639 |
CSS | 1 | 17 | 0 | 91 |
Markdown | 1 | 8 | 0 | 28 |
JavaScript | 1 | 2 | 0 | 20 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a very shot 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 | 7.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 1.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 36 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 256 | |
▷ Static methods | 19 | 7.42% |
▷ Public methods | 200 | 78.12% |
▷ Protected methods | 22 | 8.59% |
▷ Private methods | 34 | 13.28% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
Constants | 4 | |
▷ Global constants | 4 | 100.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