Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.58MB] [CPU: ▲1.25ms] Passed 4 tests
Server-side resources used by Import Settings into WordPress SEO Plugin – Rank Math
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 47.93 ▲0.78 |
Dashboard /wp-admin | 4.11 ▲0.81 | 50.15 ▼4.75 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 57.31 ▲10.73 |
Add New Post /wp-admin/post-new.php | 6.63 ▲0.74 | 98.41 ▼0.52 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 44.66 ▲9.48 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Import Settings into WordPress SEO Plugin – Rank Math
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲99 | 13.40 ▼0.97 | 5.58 ▲3.31 | 48.87 ▲4.57 |
Dashboard /wp-admin | 2,262 ▲74 | 4.84 ▼0.03 | 108.92 ▲4.11 | 45.52 ▼1.25 |
Posts /wp-admin/edit.php | 2,148 ▲59 | 2.01 ▼0.00 | 37.86 ▼1.29 | 48.82 ▲16.86 |
Add New Post /wp-admin/post-new.php | 1,561 ▲47 | 22.83 ▲5.42 | 556.24 ▼105.68 | 36.49 ▼8.49 |
Media Library /wp-admin/upload.php | 1,447 ▲56 | 4.16 ▼0.10 | 98.62 ▼1.02 | 44.61 ▲1.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/import-xml-csv-settings-to-rank-math-seo/wpai-rank-math-seo-add-on.php:207
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: import rankmath wordpress seo, seo, import search engine optimization, import seo, rankmath seo...
import-xml-csv-settings-to-rank-math-seo/wpai-rank-math-seo-add-on.php 92% from 13 tests
Analyzing the main PHP file in "Import Settings into WordPress SEO Plugin – Rank Math" version 1.1
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("import-xml-csv-settings-to-rank-math-seo.php" instead of "wpai-rank-math-seo-add-on.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin2,460 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 581 | 278 | 2,257 |
JavaScript | 1 | 52 | 38 | 203 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 65.67 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 221.00 |
Average method complexity | 5.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 76 | |
▷ Static methods | 1 | 1.32% |
▷ Public methods | 67 | 88.16% |
▷ Protected methods | 1 | 1.32% |
▷ Private methods | 8 | 10.53% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin