Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼0.39ms] Passed 4 tests
Analyzing server-side resources used by WordPress BasePress Migration Tools
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 46.11 ▼1.19 |
Dashboard /wp-admin | 3.53 ▲0.22 | 49.64 ▼2.30 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 50.93 ▲2.68 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 96.85 ▼0.75 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 37.56 ▲3.10 |
Migration Tools /wp-admin/admin.php?page=basepress_migration | 3.39 | 33.39 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress BasePress Migration Tools
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.26 ▼1.14 | 1.82 ▼0.28 | 47.58 ▲1.64 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲0.02 | 108.97 ▼9.46 | 43.36 ▼3.74 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.04 | 38.69 ▼9.43 | 35.82 ▲1.81 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.60 ▲0.05 | 691.03 ▲52.73 | 58.26 ▲8.01 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.22 ▲0.02 | 107.58 ▲7.14 | 44.05 ▼4.32 |
Migration Tools /wp-admin/admin.php?page=basepress_migration | 929 | 2.07 | 22.96 | 30.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=basepress_migration
- > User deprecated in wp-includes/functions.php+5737
Function WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead.
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: knowledgebase, docs, documentation, migration, knowledge base...
basepress-migration-tools/basepress-migration.php 85% from 13 tests
The main file in "WordPress BasePress Migration Tools" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("basepress-migration-tools.php" instead of "basepress-migration.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
Everything looks great! No dangerous files found in this plugin1,848 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 284 | 406 | 1,152 |
JavaScript | 3 | 105 | 161 | 488 |
CSS | 1 | 39 | 1 | 208 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 64.67 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 5.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 37.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 28 | 62.22% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin