Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.66MB] [CPU: ▲5.34ms] 75% from 4 tests
Server-side resources used by Uncanny Toolkit for LearnDash
Please fix the following
- CPU: Total CPU usage must kept under 500.00ms (currently 2,131.42ms on /wp-admin/admin.php?page=uncanny-toolkit-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.15 ▲0.68 | 53.94 ▲13.32 |
Dashboard /wp-admin | 3.99 ▲0.68 | 51.18 ▲1.79 |
Posts /wp-admin/edit.php | 4.05 ▲0.68 | 48.75 ▲2.51 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.64 | 102.68 ▲10.98 |
Media Library /wp-admin/upload.php | 3.85 ▲0.62 | 38.63 ▲6.08 |
Modules /wp-admin/admin.php?page=uncanny-toolkit | 5.40 | 529.88 |
Automation /wp-admin/admin.php?page=install-automator | 4.59 | 1,385.44 |
Help /wp-admin/admin.php?page=uncanny-toolkit-kb | 4.08 | 1,689.60 |
LearnDash Plugins /wp-admin/admin.php?page=uncanny-toolkit-plugins | 3.96 | 2,131.42 |
Server storage [IO: ▲1.42MB] [DB: ▲0.16MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 124 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
_uncanny_toolkit_review_time |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Uncanny Toolkit for LearnDash
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲211 | 13.92 ▼0.32 | 11.21 ▲9.24 | 43.37 ▼1.00 |
Dashboard /wp-admin | 2,273 ▲99 | 5.67 ▲0.13 | 86.68 ▼14.80 | 36.17 ▼7.74 |
Posts /wp-admin/edit.php | 2,180 ▲80 | 2.04 ▲0.09 | 41.12 ▼1.28 | 37.11 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.20 ▲0.05 | 642.64 ▼28.80 | 53.83 ▼1.80 |
Media Library /wp-admin/upload.php | 1,466 ▲66 | 4.27 ▲0.10 | 99.27 ▼7.11 | 42.66 ▼1.99 |
Modules /wp-admin/admin.php?page=uncanny-toolkit | 5,742 | 9.58 | 217.43 | 101.75 |
Automation /wp-admin/admin.php?page=install-automator | 1,593 | 2.10 | 55.83 | 75.42 |
Help /wp-admin/admin.php?page=uncanny-toolkit-kb | 1,867 | 2.42 | 34.88 | 41.77 |
LearnDash Plugins /wp-admin/admin.php?page=uncanny-toolkit-plugins | 1,399 | 2.25 | 31.28 | 47.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.16MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- _uncanny_toolkit_review_time
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 42× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'uncanny_learndash_toolkit\\Config' not found in wp-content/plugins/uncanny-learndash-toolkit/src/templates/admin-kb.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/uncanny-learndash-toolkit/src/templates/admin-siteinfo.php:91
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/uncanny-learndash-toolkit/src/includes/custom-walker-nav-menu.php:13
- > PHP Fatal error
Uncaught Error: Class 'uncanny_learndash_toolkit\\FrontendLoginPlus' not found in wp-content/plugins/uncanny-learndash-toolkit/src/templates/frontend-login/layout_1-login.php:27
- > PHP Notice
Undefined variable: recaptcha_key in wp-content/plugins/uncanny-learndash-toolkit/src/templates/frontend-login/layout_1-lost-pwd.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uncanny-learndash-toolkit/uncanny-learndash-toolkit.php:61
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/uncanny-learndash-toolkit/src/uncanny-one-click-installer/includes/PluginSilentUpgraderSkin.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function uncanny_learndash_toolkit\\wp_login_url() in wp-content/plugins/uncanny-learndash-toolkit/src/templates/frontend-login/default-register.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function uncanny_learndash_toolkit\\get_option() in wp-content/plugins/uncanny-learndash-toolkit/src/templates/admin-help.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function uncanny_learndash_toolkit\\site_url() in wp-content/plugins/uncanny-learndash-toolkit/src/templates/frontend-login/default-lost-pwd.php:22
- > 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 Passed 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
6 plugin tags: elearning, lms, learning, learndash, education...
uncanny-learndash-toolkit/uncanny-learndash-toolkit.php Passed 13 tests
"Uncanny Toolkit for LearnDash" version 3.6.4.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
116 characters long description:
Extend LearnDash with a variety of complementary features to make building engaging learner experiences even easier.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin17,901 lines of code in 111 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 66 | 3,788 | 4,767 | 13,394 |
CSS | 9 | 532 | 103 | 2,067 |
JavaScript | 16 | 374 | 302 | 1,047 |
SVG | 17 | 0 | 2 | 863 |
PO File | 1 | 166 | 184 | 513 |
Sass | 1 | 3 | 0 | 11 |
Markdown | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
A short 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.44 |
Average class complexity | 49.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 383.00 |
Average method complexity | 4.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 35 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 435 | |
▷ Static methods | 230 | 52.87% |
▷ Public methods | 398 | 91.49% |
▷ Protected methods | 26 | 5.98% |
▷ Private methods | 11 | 2.53% |
Functions | 45 | |
▷ Named functions | 31 | 68.89% |
▷ Anonymous functions | 14 | 31.11% |
Constants | 18 | |
▷ Global constants | 12 | 66.67% |
▷ Class constants | 6 | 33.33% |
▷ Public constants | 6 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/assets/backend/img/Uncanny-Owl-logo.png | 2.45KB | 2.51KB | 0.00% |