Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.56MB] [CPU: ▼178.12ms] Passed 4 tests
This is a short check of server-side resources used by BuddyForms Attach Post with Group
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.11 ▲0.28 | 25.55 ▲2.25 |
Dashboard /wp-admin | 3.72 ▲0.66 | 36.68 ▼0.09 |
Posts /wp-admin/edit.php | 3.77 ▲0.67 | 42.28 ▲12.31 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.65 | 71.77 ▼719.68 |
Media Library /wp-admin/upload.php | 3.67 ▲0.67 | 27.77 ▲5.03 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.67 | 23.51 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 66 new files
Database: no new tables, 3 new options
New WordPress options |
---|
widget_buddyforms_all_posts_of_this_group_widget |
widget_buddyforms_apwg_taxonomy_term_post_widget |
widget_buddyforms_list_moderators_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BuddyForms Attach Post with Group
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,707 ▲106 | 15.73 ▼0.23 | 5.07 ▼0.19 | 74.13 ▼1.19 |
Dashboard /wp-admin | 2,971 ▲72 | 6.14 ▼0.01 | 117.09 ▼13.47 | 181.16 ▲6.54 |
Posts /wp-admin/edit.php | 2,793 ▲53 | 3.24 ▼0.10 | 68.45 ▲2.68 | 152.12 ▲9.51 |
Add New Post /wp-admin/post-new.php | 3,834 ▲99 | 16.99 ▼1.65 | 437.99 ▼8.67 | 164.38 ▼0.57 |
Media Library /wp-admin/upload.php | 1,803 ▲51 | 5.56 ▲0.06 | 144.45 ▲7.39 | 199.73 ▲14.14 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,337 | 2.44 | 54.67 | 124.19 |
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 detected upon uninstall: 3 options
- widget_buddyforms_list_moderators_widget
- widget_buddyforms_all_posts_of_this_group_widget
- widget_buddyforms_apwg_taxonomy_term_post_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #5 (**Overview FormBuilder** - This is a Screenshot of the Form builder with BuddyForms Attached Groups enabled.)
- Screenshots: A description for screenshot #6 is missing in buddyforms-attach-posts-to-groups-extension/assets to your readme.txt
buddyforms-attach-posts-to-groups-extension/loader.php 85% from 13 tests
The entry point to "BuddyForms Attach Post with Group" version 1.2.9 is a PHP file that has certain tags in its header comment area
It is important 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: Please rename the main PHP file in this plugin to the plugin slug ("buddyforms-attach-posts-to-groups-extension.php" instead of "loader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin6,756 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 20 | 1,542 | 2,098 | 5,128 |
PHP | 11 | 479 | 365 | 1,572 |
JSON | 1 | 0 | 0 | 34 |
CSS | 1 | 4 | 0 | 22 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 38.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 136 | |
▷ Static methods | 6 | 4.41% |
▷ Public methods | 113 | 83.09% |
▷ Protected methods | 23 | 16.91% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 29 | 76.32% |
▷ Anonymous functions | 9 | 23.68% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin