Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.92ms] Passed 4 tests
An overview of server-side resources used by Adaptive Learning With LearnDash
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.44 ▼5.67 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.57 ▼14.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.70 ▲2.46 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.80 ▼12.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.58 ▼3.39 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
al_version |
Browser metrics Passed 4 tests
A check of browser resources used by Adaptive Learning With LearnDash
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲119 | 13.34 ▼1.04 | 1.98 ▲0.01 | 43.38 ▲0.65 |
Dashboard /wp-admin | 2,206 ▲18 | 5.87 ▼0.04 | 113.59 ▼6.99 | 43.38 ▲0.44 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.00 | 35.93 ▼2.65 | 34.27 ▲1.13 |
Add New Post /wp-admin/post-new.php | 1,520 ▼2 | 23.21 ▼0.08 | 724.53 ▼5.92 | 54.48 ▼1.94 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.24 ▲0.06 | 96.21 ▼6.58 | 43.15 ▼4.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- db_upgraded
- al_version
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
- Screenshots: Add descriptions for screenshots #2, #3, #4 in adaptive-learning-with-learndash/assets to your readme.txt
adaptive-learning-with-learndash/adaptive-learning-with-learndash.php 92% from 13 tests
The primary PHP file in "Adaptive Learning With LearnDash" version 1.7 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,040 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 224 | 300 | 854 |
JavaScript | 2 | 16 | 44 | 109 |
CSS | 3 | 0 | 0 | 77 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 39 | |
▷ Static methods | 29 | 74.36% |
▷ Public methods | 38 | 97.44% |
▷ Protected methods | 1 | 2.56% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 10.10KB | 5.51KB | ▼ 45.43% |
assets/screenshot-3.png | 12.24KB | 7.07KB | ▼ 42.29% |
assets/screenshot-1.png | 49.41KB | 25.59KB | ▼ 48.21% |
assets/screenshot-4.png | 11.41KB | 6.34KB | ▼ 44.38% |