Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.41ms] 75% from 4 tests
Server-side resources used by Autocomplete LearnDash Lessons and Topics
Please have a look at the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 3,721.82ms on /wp-admin/admin.php?page=grassblade-addons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 41.48 ▲0.65 |
Dashboard /wp-admin | 3.42 ▲0.11 | 47.37 ▼1.70 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 44.16 ▼1.66 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 82.29 ▼14.93 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.28 ▲2.51 |
Add-ons /wp-admin/admin.php?page=grassblade-addons | 3.53 | 3,721.82 |
Autocomplete LearnDash Lessons & Topics /wp-admin/admin.php?page=grassblade-autocomplete_learndash | 3.33 | 32.57 |
GrassBlade /wp-admin/admin.php?page=grassblade-lrs-settings | 3.34 | 30.86 |
Server storage [IO: ▲0.06MB] [DB: ▲0.03MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
grassblade_free_addons |
grassblade_addons |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
autocomplete_learndash |
Browser metrics Passed 4 tests
Checking browser requirements for Autocomplete LearnDash Lessons and Topics
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲73 | 14.73 ▲0.15 | 1.87 ▼0.09 | 44.66 ▼2.42 |
Dashboard /wp-admin | 2,239 ▲48 | 4.90 ▼1.01 | 110.32 ▲7.64 | 79.69 ▲32.56 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 1.98 ▼0.15 | 34.55 ▼1.25 | 33.63 ▼2.15 |
Add New Post /wp-admin/post-new.php | 1,692 ▲159 | 21.26 ▼2.15 | 771.69 ▲79.26 | 55.56 ▼3.46 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.22 ▲0.05 | 95.41 ▲0.34 | 43.45 ▲1.04 |
Add-ons /wp-admin/admin.php?page=grassblade-addons | 2,813 | 2.19 | 29.06 | 72.27 |
Autocomplete LearnDash Lessons & Topics /wp-admin/admin.php?page=grassblade-autocomplete_learndash | 806 | 2.02 | 26.95 | 25.84 |
GrassBlade /wp-admin/admin.php?page=grassblade-lrs-settings | 824 | 2.02 | 25.31 | 23.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- theysaidso_admin_options
- grassblade_free_addons
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- grassblade_addons
- autocomplete_learndash
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autocomplete-learndash/autocomplete-learndash.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: ""
autocomplete-learndash/autocomplete-learndash.php 92% from 13 tests
The entry point to "Autocomplete LearnDash Lessons and Topics" version 1.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 220 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin558 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 114 | 23 | 558 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.71 |
Average class complexity | 66.50 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 6.95 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
5 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon_128x128.png | 22.67KB | 6.87KB | ▼ 69.71% |
img/no.png | 1.01KB | 0.62KB | ▼ 39.05% |
img/icon-gb.png | 3.43KB | 0.84KB | ▼ 75.48% |
img/check.png | 0.98KB | 0.47KB | ▼ 52.44% |
img/icon_30x30.png | 4.58KB | 1.60KB | ▼ 65.15% |