Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.34MB] [CPU: ▼2.96ms] Passed 4 tests
A check of server-side resources used by XX2WP Integration Tools
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 44.22 ▲1.33 |
Dashboard /wp-admin | 3.64 ▲0.33 | 58.84 ▲6.82 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 50.28 ▲0.86 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.36 | 89.95 ▼16.72 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 38.69 ▲2.70 |
FB2WP Settings /wp-admin/admin.php?page=mxp-fb2wp | 3.87 | 58.41 |
Message Settings /wp-admin/admin.php?page=mxp-fb2wp-message | 3.53 | 38.91 |
Webhooks Logs /wp-admin/admin.php?page=mxp-fb2wp-post | 3.53 | 35.49 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 20 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_fb2wp_debug |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
mxp_messenger_msglist |
mxp_fb2wp_callback_url |
mxp_fb2wp_db_version |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
mxp_remove_plugin_debug_log |
Browser metrics Passed 4 tests
Checking browser requirements for XX2WP Integration Tools
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲71 | 14.10 ▼0.25 | 37.84 ▲35.95 | 43.35 ▼1.81 |
Dashboard /wp-admin | 2,226 ▲49 | 5.60 ▼0.07 | 98.69 ▲1.90 | 42.93 ▼3.70 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.02 ▲0.05 | 37.05 ▼0.77 | 33.40 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 23.32 ▲0.28 | 649.78 ▼52.98 | 54.42 ▼7.11 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.17 ▲0.00 | 94.36 ▼9.88 | 41.01 ▼4.81 |
FB2WP Settings /wp-admin/admin.php?page=mxp-fb2wp | 1,490 | 1.96 | 29.05 | 36.32 |
Message Settings /wp-admin/admin.php?page=mxp-fb2wp-message | 1,011 | 2.28 | 33.92 | 33.81 |
Webhooks Logs /wp-admin/admin.php?page=mxp-fb2wp-post | 1,037 | 2.29 | 32.31 | 38.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_fb2wp_debug
- This plugin did not uninstall successfully, leaving 10 options in the database
- mxp_fb2wp_db_version
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- mxp_remove_plugin_debug_log
- theysaidso_admin_options
- can_compress_scripts
- mxp_fb2wp_callback_url
- widget_recent-posts
- mxp_messenger_msglist
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=mxp-fb2wp-message
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/fb2wp-integration-tools/index.php+555
base64_decode() expects parameter 1 to be string, array given
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
10 plugin tags: webhook, fb2wp, mxptw, webhooks, sync...
fb2wp-integration-tools/index.php 85% from 13 tests
"XX2WP Integration Tools" version 1.9.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("fb2wp-integration-tools.php" instead of "index.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 309 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected3,141 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 91 | 401 | 2,301 |
PO File | 1 | 171 | 209 | 441 |
JavaScript | 4 | 8 | 7 | 384 |
CSS | 2 | 0 | 5 | 12 |
Markdown | 1 | 1 | 0 | 2 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 103.33 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 180.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.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 | 115 | |
▷ Static methods | 74 | 64.35% |
▷ Public methods | 103 | 89.57% |
▷ Protected methods | 1 | 0.87% |
▷ Private methods | 11 | 9.57% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin