Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/edwiser-bridge/includes/eb-core-functions.php+1223
file_get_contents(wp-content/uploads/eb-logs/log.json): failed to open stream: No such file or directory
Server metrics [RAM: ▲3.44MB] [CPU: ▲16.15ms] Passed 4 tests
An overview of server-side resources used by Edwiser Bridge - WordPress Moodle LMS Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.53 ▲3.06 | 60.29 ▲20.53 |
Dashboard /wp-admin | 6.91 ▲3.56 | 67.19 ▲5.08 |
Posts /wp-admin/edit.php | 6.96 ▲3.60 | 73.14 ▲26.47 |
Add New Post /wp-admin/post-new.php | 9.46 ▲3.57 | 108.30 ▲12.51 |
Media Library /wp-admin/upload.php | 6.78 ▲3.54 | 64.77 ▲31.27 |
Course Categories /wp-admin/edit-tags.php?taxonomy=eb_course_cat&post_type=eb_course | 6.77 | 56.36 |
Manage Email Templates /wp-admin/edit.php?post_type=eb_course&page=eb-email-template | 6.79 | 55.58 |
Manage Enrollment /wp-admin/edit.php?post_type=eb_course&page=mucp-manage-enrollment | 6.75 | 58.49 |
Courses /wp-admin/edit.php?post_type=eb_course | 6.87 | 61.04 |
Settings /wp-admin/edit.php?post_type=eb_course&page=eb-settings | 7.53 | 69.14 |
Orders /wp-admin/edit.php?post_type=eb_order | 6.87 | 57.78 |
Server storage [IO: ▲5.76MB] [DB: ▲0.04MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 234 new files
Database: 1 new table, 33 new options
New tables |
---|
wp_moodle_enrollment |
New WordPress options |
---|
eb_setup_wizard_completed |
db_upgraded |
eb_emailtmpl_course_access_expir |
eb_mdl_plugin_update_check |
eb_renamed_lang_files |
widget_recent-posts |
eb_emailtmpl_refund_completion_notifier_to_user_notify_allow |
eb_emailtmpl_new_user_email_verification |
eb_emailtmpl_mdl_enrollment_trigger_notify_allow |
eb_emailtmpl_new_user_email_verification_notify_allow |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Edwiser Bridge - WordPress Moodle LMS Integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,111 ▲349 | 14.58 ▲0.24 | 15.51 ▲13.91 | 26.00 ▼16.41 |
Dashboard /wp-admin | 2,361 ▲181 | 5.49 ▼0.15 | 110.42 ▲19.59 | 99.70 ▲57.88 |
Posts /wp-admin/edit.php | 2,287 ▲187 | 2.59 ▲0.62 | 47.01 ▲10.90 | 48.63 ▲11.90 |
Add New Post /wp-admin/post-new.php | 1,674 ▲148 | 22.39 ▼0.74 | 664.99 ▲0.77 | 59.53 ▲10.86 |
Media Library /wp-admin/upload.php | 1,572 ▲175 | 5.03 ▲0.85 | 107.81 ▲8.25 | 78.46 ▲35.83 |
Course Categories /wp-admin/edit-tags.php?taxonomy=eb_course_cat&post_type=eb_course | 1,457 | 2.48 | 40.65 | 42.99 |
Manage Email Templates /wp-admin/edit.php?post_type=eb_course&page=eb-email-template | 1,850 | 6.12 | 145.28 | 100.85 |
Manage Enrollment /wp-admin/edit.php?post_type=eb_course&page=mucp-manage-enrollment | 1,288 | 2.48 | 31.17 | 44.65 |
Courses /wp-admin/edit.php?post_type=eb_course | 1,312 | 2.58 | 39.45 | 45.13 |
Settings /wp-admin/edit.php?post_type=eb_course&page=eb-settings | 2,276 | 5.92 | 63.48 | 71.28 |
Orders /wp-admin/edit.php?post_type=eb_order | 1,267 | 2.57 | 43.07 | 43.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_moodle_enrollment
- This plugin did not uninstall successfully, leaving 33 options in the database
- eb_emailtmpl_create_user_notify_allow
- eb_emailtmpl_refund_completion_notifier_to_admin_notify_allow
- widget_theysaidso_widget
- widget_recent-comments
- eb_emailtmpl_refund_completion_notifier_to_admin
- eb_renamed_lang_files
- eb_emailtmpl_mdl_un_enrollment_trigger_notify_allow
- eb_emailtmpl_order_completed
- can_compress_scripts
- eb_emailtmpl_refund_completion_notifier_to_user
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: moodle integration, woocommerce, moodle wordpress, moodle, moodle ecommerce...
edwiser-bridge/edwiser-bridge.php 92% from 13 tests
The main file in "Edwiser Bridge - WordPress Moodle LMS Integration" v. 3.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 302 characters long)
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 plugin53,650 lines of code in 163 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 103 | 3,894 | 8,306 | 21,424 |
JavaScript | 11 | 2,886 | 1,123 | 12,790 |
CSS | 9 | 792 | 349 | 8,523 |
PO File | 4 | 3,071 | 3,956 | 7,105 |
Sass | 13 | 28 | 24 | 1,520 |
LESS | 13 | 28 | 34 | 1,510 |
SVG | 10 | 0 | 0 | 778 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 30.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 79 | |
▷ Abstract classes | 1 | 1.27% |
▷ Concrete classes | 78 | 98.73% |
▷ Final classes | 0 | 0.00% |
Methods | 709 | |
▷ Static methods | 91 | 12.83% |
▷ Public methods | 573 | 80.82% |
▷ Protected methods | 18 | 2.54% |
▷ Private methods | 118 | 16.64% |
Functions | 65 | |
▷ Named functions | 63 | 96.92% |
▷ Anonymous functions | 2 | 3.08% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
50 PNG files occupy 2.06MB with 1.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/selective_sync.png | 89.91KB | 28.64KB | ▼ 68.14% |
admin/assets/images/icon-woo-int.png | 5.09KB | 3.41KB | ▼ 32.90% |
admin/assets/images/sso_social.png | 76.99KB | 23.29KB | ▼ 69.75% |
admin/assets/images/sso.png | 19.20KB | 5.60KB | ▼ 70.82% |
admin/assets/images/selective_users.png | 136.08KB | 42.73KB | ▼ 68.60% |