Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.23ms] Passed 4 tests
A check of server-side resources used by AccessAlly™ LMS Migration from LearnDash®
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.84 ▼3.78 |
Dashboard /wp-admin | 3.40 ▲0.10 | 46.98 ▼3.48 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 55.53 ▲9.65 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 96.90 ▼5.13 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 37.80 ▲3.49 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by AccessAlly™ LMS Migration from LearnDash®
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.60 ▼0.99 | 1.62 ▼0.14 | 42.27 ▼2.04 |
Dashboard /wp-admin | 2,224 ▲39 | 5.80 ▼0.06 | 101.01 ▼18.26 | 74.15 ▲26.62 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 1.97 ▼0.08 | 40.52 ▼0.64 | 35.65 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 23.11 ▲5.58 | 762.74 ▲102.23 | 71.04 ▲23.02 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.17 ▼0.09 | 100.87 ▼1.25 | 69.82 ▲25.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/accessally-lms-migrate-learndash/backend/convert-template.php
- > /wp-content/plugins/accessally-lms-migrate-learndash/backend/existing-template.php
- > /wp-content/plugins/accessally-lms-migrate-learndash/backend/settings-template.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/accessally-lms-migrate-learndash/backend/settings-display.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/accessally-lms-migrate-learndash/accessally-lms-migrate-learndash.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
accessally-lms-migrate-learndash/accessally-lms-migrate-learndash.php 92% from 13 tests
The principal PHP file in "AccessAlly™ LMS Migration from LearnDash®" v. 1.0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 185 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin898 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 53 | 24 | 519 |
CSS | 1 | 0 | 2 | 249 |
JavaScript | 1 | 5 | 7 | 130 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 88.00 |
▷ Minimum class complexity | 88.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 4.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 22 | 100.00% |
▷ Public methods | 11 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 50.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
backend/revert.png | 0.38KB | 0.48KB | 0.00% |
backend/icon.png | 0.70KB | 0.75KB | 0.00% |
backend/completed.png | 1.43KB | 0.69KB | ▼ 51.40% |
backend/error.png | 2.42KB | 2.56KB | 0.00% |
backend/pencil.png | 15.01KB | 0.21KB | ▼ 98.63% |