Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.55ms] Passed 4 tests
This is a short check of server-side resources used by Import Settings into All In One SEO
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 41.11 ▼5.93 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.62 ▲0.01 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 46.13 ▼5.85 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 86.56 ▼5.24 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 38.17 ▼1.19 |
Server storage [IO: ▲0.05MB] [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: 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
An overview of browser requirements for Import Settings into All In One SEO
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲26 | 14.75 ▲0.39 | 1.75 ▼0.11 | 43.96 ▼1.01 |
Dashboard /wp-admin | 2,212 ▲32 | 5.59 ▼0.05 | 91.82 ▲0.11 | 42.23 ▲1.23 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.01 ▲0.02 | 41.22 ▲3.00 | 34.92 ▼3.77 |
Add New Post /wp-admin/post-new.php | 1,563 ▲16 | 23.17 ▲0.09 | 667.18 ▼47.95 | 59.17 ▲5.81 |
Media Library /wp-admin/upload.php | 1,417 ▲14 | 4.18 ▼0.03 | 106.04 ▼2.65 | 45.94 ▼3.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
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
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/import-xml-csv-settings-to-all-in-one-seo-pack/wpai-all-in-one-seo-addon.php:54
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: seo, import, search engine optimization, all in one seo, import all in one seo...
import-xml-csv-settings-to-all-in-one-seo-pack/wpai-all-in-one-seo-addon.php 92% from 13 tests
The main PHP script in "Import Settings into All In One SEO" version 2.0.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("import-xml-csv-settings-to-all-in-one-seo-pack.php" instead of "wpai-all-in-one-seo-addon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,120 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 300 | 137 | 1,106 |
Markdown | 1 | 2 | 0 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 113.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 209.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 56 | |
▷ Static methods | 1 | 1.79% |
▷ Public methods | 55 | 98.21% |
▷ Protected methods | 1 | 1.79% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG images were found in this plugin