Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▲0.98ms] Passed 4 tests
Analyzing server-side resources used by Import Settings into WordPress SEO by Yoast
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 46.95 ▲5.98 |
Dashboard /wp-admin | 3.51 ▲0.21 | 52.89 ▲2.01 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 53.96 ▼3.52 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 101.78 ▲4.88 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 38.62 ▲0.56 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Import Settings into WordPress SEO by Yoast
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲103 | 14.35 ▲0.15 | 1.94 ▲0.31 | 36.71 ▼5.52 |
Dashboard /wp-admin | 2,227 ▲50 | 5.52 ▼0.07 | 90.71 ▼1.26 | 45.65 ▲3.89 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.03 ▲0.04 | 40.66 ▲3.48 | 44.69 ▲9.57 |
Add New Post /wp-admin/post-new.php | 1,402 ▼124 | 21.48 ▼1.40 | 543.68 ▼134.67 | 37.13 ▼27.68 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.15 ▼0.03 | 96.84 ▼12.02 | 42.22 ▼8.60 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- 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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/yoast-seo-settings-xml-csv-import/yoast-addon.php on line 13
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/yoast-seo-settings-xml-csv-import/yoast-addon.php on line 13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/yoast-seo-settings-xml-csv-import/yoast-addon.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yoast-seo-settings-xml-csv-import/yoast-addon.php:15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: import search engine optimization, yoast seo, search engine optimization, import yoast, import yoast wordpress seo...
yoast-seo-settings-xml-csv-import/yoast-addon.php 92% from 13 tests
The main PHP file in "Import Settings into WordPress SEO by Yoast" ver. 1.1.8 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("yoast-seo-settings-xml-csv-import.php" instead of "yoast-addon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,229 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 399 | 117 | 1,212 |
Markdown | 1 | 3 | 0 | 17 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 204.00 |
▷ Minimum class complexity | 204.00 |
▷ Maximum class complexity | 204.00 |
Average method complexity | 5.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin