Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.74ms] Passed 4 tests
An overview of server-side resources used by WP Migrate DB Anonymization
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.15 | 43.81 ▼1.36 |
Dashboard /wp-admin | 3.71 ▲0.15 | 52.68 ▲3.82 |
Posts /wp-admin/edit.php | 3.76 ▲0.08 | 53.59 ▲0.51 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.08 | 96.83 ▼13.33 |
Media Library /wp-admin/upload.php | 3.57 ▲0.08 | 39.92 ▲3.23 |
Server storage [IO: ▲8.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 574 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Migrate DB Anonymization
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.26 ▼0.42 | 2.39 ▲0.44 | 47.08 ▲2.70 |
Dashboard /wp-admin | 2,195 ▲18 | 5.69 ▲0.09 | 93.03 ▲1.85 | 42.33 ▲1.45 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.03 | 42.27 ▲6.72 | 35.25 ▲0.03 |
Add New Post /wp-admin/post-new.php | 1,545 ▼1 | 23.19 ▲0.03 | 658.10 ▼43.02 | 62.52 ▲6.36 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.18 ▼0.02 | 99.76 ▼9.68 | 44.09 ▼3.49 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 508× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\fr_FR\\Address' not found in wp-content/plugins/wp-migrate-db-anonymization/vendor/fzaninotto/faker/src/Faker/Provider/fr_CA/Address.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\Internet' not found in wp-content/plugins/wp-migrate-db-anonymization/vendor/fzaninotto/faker/src/Faker/Provider/fr_BE/Internet.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\fr_FR\\Company' not found in wp-content/plugins/wp-migrate-db-anonymization/vendor/fzaninotto/faker/src/Faker/Provider/fr_CA/Company.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\fr_FR\\Company' not found in wp-content/plugins/wp-migrate-db-anonymization/vendor/fzaninotto/faker/src/Faker/Provider/fr_CH/Company.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\PhoneNumber' not found in wp-content/plugins/wp-migrate-db-anonymization/vendor/fzaninotto/faker/src/Faker/Provider/fa_IR/PhoneNumber.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\Company' not found in wp-content/plugins/wp-migrate-db-anonymization/vendor/fzaninotto/faker/src/Faker/Provider/fi_FI/Company.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\es_ES\\Address' not found in wp-content/plugins/wp-migrate-db-anonymization/vendor/fzaninotto/faker/src/Faker/Provider/es_AR/Address.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\Address' not found in wp-content/plugins/wp-migrate-db-anonymization/vendor/fzaninotto/faker/src/Faker/Provider/ko_KR/Address.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\Internet' not found in wp-content/plugins/wp-migrate-db-anonymization/vendor/fzaninotto/faker/src/Faker/Provider/el_CY/Internet.php:5
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\Internet' not found in wp-content/plugins/wp-migrate-db-anonymization/vendor/fzaninotto/faker/src/Faker/Provider/de_AT/Internet.php:5
- > 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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
wp-migrate-db-anonymization/wp-migrate-db-anonymization.php Passed 13 tests
The main PHP script in "WP Migrate DB Anonymization" version 0.3.4 is automatically included on every request by WordPress
78 characters long description:
An extension to WP Migrate DB and WP Migrate DB Pro that anonymizes user data.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin85,501 lines of code in 568 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 558 | 12,884 | 9,772 | 83,554 |
Markdown | 4 | 414 | 0 | 1,798 |
JSON | 3 | 0 | 0 | 112 |
YAML | 1 | 6 | 0 | 18 |
XML | 1 | 1 | 0 | 11 |
make | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 128 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 551 | |
▷ Abstract classes | 1 | 0.18% |
▷ Concrete classes | 550 | 99.82% |
▷ Final classes | 0 | 0.00% |
Methods | 1,636 | |
▷ Static methods | 651 | 39.79% |
▷ Public methods | 1,548 | 94.62% |
▷ Protected methods | 60 | 3.67% |
▷ Private methods | 28 | 1.71% |
Functions | 114 | |
▷ Named functions | 5 | 4.39% |
▷ Anonymous functions | 109 | 95.61% |
Constants | 42 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 42 | 100.00% |
▷ Public constants | 42 | 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 are no PNG files in this plugin