Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.63ms] Passed 4 tests
Analyzing server-side resources used by Easy Dash for LearnDash
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.03 ▼0.78 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.87 ▼3.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.94 ▲0.81 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.00 ▼12.67 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.67 ▼1.64 |
Easy Dash /wp-admin/admin.php?page=learndash-easy-dash | 3.00 | 22.69 |
Server storage [IO: ▲12.99MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 348 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Dash for LearnDash
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.28 ▼0.31 | 1.62 ▼0.04 | 36.82 ▼4.95 |
Dashboard /wp-admin | 2,195 ▲15 | 5.59 ▼0.07 | 90.57 ▲2.96 | 38.86 ▼1.69 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.03 | 34.49 ▼1.23 | 30.59 ▼8.30 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.30 ▼0.43 | 630.91 ▼59.29 | 51.86 ▼3.07 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▼0.02 | 95.85 ▼13.49 | 43.69 ▼7.06 |
Easy Dash /wp-admin/admin.php?page=learndash-easy-dash | 28 | 0.42 | 0.09 | 3.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-dash-for-learndash/admin/shortcode-sections/global.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-dash-for-learndash/admin/shortcode-sections/course.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-dash-for-learndash/admin/shortcode-sections/user.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/easy-dash-for-learndash/admin/tred-settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-dash-for-learndash/admin/shortcode-sections/all.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function tred_display_content_area() in wp-content/plugins/easy-dash-for-learndash/admin/tred-dash.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-dash-for-learndash/admin/shortcode-sections/global.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function tred_display_filter_section() in wp-content/plugins/easy-dash-for-learndash/admin/tred-filter.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-dash-for-learndash/admin/tred-admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-dash-for-learndash/admin/shortcode-sections/group.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=learndash-easy-dash
- > Network (severe)
wp-admin/admin.php?page=learndash-easy-dash - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: learndash, elearning, learning, lms, education
easy-dash-for-learndash/learndash-easy-dash.php 85% from 13 tests
The entry point to "Easy Dash for LearnDash" version 2.4.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- 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 ("easy-dash-for-learndash.php" instead of "learndash-easy-dash.php")
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
Everything looks great! No dangerous files found in this plugin146,515 lines of code in 268 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 133 | 27,780 | 44,459 | 125,541 |
CSS | 107 | 796 | 574 | 13,374 |
PHP | 17 | 523 | 211 | 3,966 |
PO File | 5 | 1,070 | 1,435 | 2,745 |
JSON | 4 | 0 | 0 | 726 |
Sass | 2 | 36 | 3 | 163 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 18.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 93.75% |
▷ Protected methods | 1 | 3.12% |
▷ Private methods | 1 | 3.12% |
Functions | 93 | |
▷ Named functions | 69 | 74.19% |
▷ Anonymous functions | 24 | 25.81% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
10 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/DataTables/DataTables-1.10.25/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/DataTables/DataTables-1.11.3/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
assets/DataTables/DataTables-1.10.25/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/DataTables/DataTables-1.10.25/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
assets/DataTables/DataTables-1.11.3/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |