Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼6.48ms] Passed 4 tests
An overview of server-side resources used by ACF Content Analysis for Yoast SEO
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.10 | 44.35 ▲1.50 |
Dashboard /wp-admin | 3.47 ▲0.08 | 47.93 ▼11.25 |
Posts /wp-admin/edit.php | 3.58 ▲0.18 | 51.59 ▲1.33 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.12 | 95.04 ▼17.49 |
Media Library /wp-admin/upload.php | 3.39 ▲0.12 | 40.46 ▲4.36 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by ACF Content Analysis for Yoast SEO
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.35 ▼0.00 | 1.77 ▼0.24 | 48.14 ▲8.84 |
Dashboard /wp-admin | 2,201 ▲20 | 5.62 ▼0.09 | 90.21 ▼10.60 | 42.82 ▼0.72 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.10 ▲0.09 | 43.38 ▲9.96 | 35.27 ▲2.35 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 22.97 ▼0.18 | 607.00 ▼15.67 | 51.56 ▲2.83 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.20 ▲0.05 | 97.73 ▲0.50 | 44.36 ▼2.46 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Yoast_ACF_Analysis_Dependency' not found in wp-content/plugins/acf-content-analysis-for-yoast-seo/inc/dependencies/dependency-yoast-seo.php:11
- > PHP Fatal error
Uncaught Error: Class 'Yoast\\PHPUnitPolyfills\\TestCases\\TestCase' not found in wp-content/plugins/acf-content-analysis-for-yoast-seo/tests/php/unit/registry-test.php:16
- > PHP Fatal error
Uncaught Error: Class 'Yoast\\WPTestUtils\\BrainMonkey\\TestCase' not found in wp-content/plugins/acf-content-analysis-for-yoast-seo/tests/php/unit/Configuration/configuration-test.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Yoast_ACF_Analysis_Dependency' not found in wp-content/plugins/acf-content-analysis-for-yoast-seo/tests/php/unit/Doubles/failing-dependency.php:10
- > PHP Fatal error
Uncaught Error: Class 'Yoast\\WPTestUtils\\BrainMonkey\\TestCase' not found in wp-content/plugins/acf-content-analysis-for-yoast-seo/tests/php/unit/Dependencies/acf-dependency-test.php:13
- > PHP Fatal error
Uncaught Error: Class 'Yoast\\WPTestUtils\\BrainMonkey\\TestCase' not found in wp-content/plugins/acf-content-analysis-for-yoast-seo/tests/php/unit/main-test.php:13
- > PHP Fatal error
Uncaught Error: Class 'Yoast\\WPTestUtils\\BrainMonkey\\TestCase' not found in wp-content/plugins/acf-content-analysis-for-yoast-seo/tests/php/unit/Dependencies/yoast-seo-dependency-test.php:13
- > PHP Fatal error
Uncaught Error: Class 'Yoast\\WPTestUtils\\BrainMonkey\\TestCase' not found in wp-content/plugins/acf-content-analysis-for-yoast-seo/tests/php/unit/requirements-test.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Yoast_ACF_Analysis_Dependency' not found in wp-content/plugins/acf-content-analysis-for-yoast-seo/tests/php/unit/Doubles/passing-dependency.php:10
- > PHP Fatal error
Uncaught Error: Class 'Yoast\\WPTestUtils\\BrainMonkey\\TestCase' not found in wp-content/plugins/acf-content-analysis-for-yoast-seo/tests/php/unit/assets-test.php:14
- > 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 is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: yoast, search engine optimization, analysis, advanced custom fields, seo...
acf-content-analysis-for-yoast-seo/yoast-acf-analysis.php 85% from 13 tests
"ACF Content Analysis for Yoast SEO" version 3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("6.2" instead of "6.1")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("acf-content-analysis-for-yoast-seo.php" instead of "yoast-acf-analysis.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin3,998 lines of code in 74 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 493 | 1,309 | 2,245 |
JavaScript | 35 | 598 | 286 | 1,627 |
XML | 1 | 28 | 44 | 73 |
JSON | 2 | 0 | 0 | 53 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 6.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 2 | 8.33% |
Methods | 127 | |
▷ Static methods | 22 | 17.32% |
▷ Public methods | 116 | 91.34% |
▷ Protected methods | 6 | 4.72% |
▷ Private methods | 5 | 3.94% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 11 | |
▷ Global constants | 9 | 81.82% |
▷ Class constants | 2 | 18.18% |
▷ Public constants | 2 | 100.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
There were not PNG files found in your plugin