Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼0.96ms] Passed 4 tests
An overview of server-side resources used by Open edX LMS and WordPress integrator (LITE)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.65 ▼0.27 |
Dashboard /wp-admin | 3.43 ▲0.13 | 50.96 ▼4.33 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 52.11 ▲0.06 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 95.06 ▲0.71 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 42.43 ▲4.50 |
Course buttons /wp-admin/admin.php?page=wp-edunext-marketing-site_settings&tab=enrollment | 3.44 | 50.86 |
All Open edX Enrollment Requests /wp-admin/edit.php?post_type=openedx_enrollment | 3.42 | 39.89 |
EOX API /wp-admin/admin.php?page=wp-edunext-marketing-site_settings&tab=eoxapi | 3.38 | 40.87 |
General settings /wp-admin/admin.php?page=wp-edunext-marketing-site_settings&tab=general | 3.40 | 41.48 |
Navigation Settings /wp-admin/admin.php?page=wp-edunext-marketing-site_settings&tab=navigation | 3.41 | 41.17 |
Woocommerce Integration /wp-admin/admin.php?page=wp-edunext-marketing-site_settings&tab=woocommerce | 3.41 | 45.83 |
Server storage [IO: ▲1.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 51 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
wp-edunext-marketing-site_version |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Open edX LMS and WordPress integrator (LITE): an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲139 | 14.23 ▼0.04 | 1.83 ▲0.05 | 42.63 ▼0.62 |
Dashboard /wp-admin | 2,305 ▲131 | 5.67 ▲0.09 | 92.65 ▼9.04 | 37.52 ▼4.66 |
Posts /wp-admin/edit.php | 2,210 ▲107 | 2.02 ▼0.00 | 44.93 ▲3.46 | 36.22 ▼2.49 |
Add New Post /wp-admin/post-new.php | 6,478 ▲4,950 | 18.67 ▼4.34 | 919.02 ▲243.85 | 63.47 ▲13.97 |
Media Library /wp-admin/upload.php | 1,507 ▲110 | 4.24 ▲0.05 | 98.10 ▲3.39 | 45.07 ▲0.44 |
Course buttons /wp-admin/admin.php?page=wp-edunext-marketing-site_settings&tab=enrollment | 1,586 | 3.30 | 51.06 | 69.42 |
All Open edX Enrollment Requests /wp-admin/edit.php?post_type=openedx_enrollment | 1,175 | 1.93 | 33.21 | 33.50 |
EOX API /wp-admin/admin.php?page=wp-edunext-marketing-site_settings&tab=eoxapi | 1,155 | 3.17 | 55.03 | 51.40 |
General settings /wp-admin/admin.php?page=wp-edunext-marketing-site_settings&tab=general | 1,252 | 3.18 | 40.83 | 55.12 |
Navigation Settings /wp-admin/admin.php?page=wp-edunext-marketing-site_settings&tab=navigation | 1,269 | 3.11 | 39.49 | 68.97 |
Woocommerce Integration /wp-admin/admin.php?page=wp-edunext-marketing-site_settings&tab=woocommerce | 1,404 | 3.17 | 40.02 | 63.28 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- wp-edunext-marketing-site_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/edunext-openedx-integrator/includes/templates/shortcode_help_meta_box.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/edunext-openedx-integrator/includes/templates/enrollment_settings_custom_header_html.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/edunext-openedx-integrator/includes/templates/general_settings_custom_header_html.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/edunext-openedx-integrator/includes/templates/eoxapi_settings_custom_header_html.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/edunext-openedx-integrator/includes/templates/woocommerce_settings_custom_header_html.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/edunext-openedx-integrator/includes/templates/overlay_html.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/edunext-openedx-integrator/includes/templates/exoapi_settings_custom_html.php:102
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/edunext-openedx-integrator/includes/templates/navigation_settings_custom_header_html.php:1
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (General Settings), #2 (Configuration of the User Menu), #3 (Addition of the User Menu), #4 (Configuration of the course buttons), #5 (Addition of course buttons), #6 (Woocommerce integration), #7 (EOX - API backend)
edunext-openedx-integrator/wp-edunext-marketing-site.php 85% from 13 tests
The primary PHP file in "Open edX LMS and WordPress integrator (LITE)" version 2.6.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("edunext-openedx-integrator.php" instead of "wp-edunext-marketing-site.php")
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
Good job! No executable or dangerous file extensions detected3,091 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 488 | 1,081 | 2,636 |
JavaScript | 9 | 68 | 17 | 385 |
CSS | 2 | 12 | 1 | 70 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 20.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.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 | 109 | |
▷ Static methods | 13 | 11.93% |
▷ Public methods | 101 | 92.66% |
▷ Protected methods | 6 | 5.50% |
▷ Private methods | 2 | 1.83% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 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