Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼143.99ms] Passed 4 tests
A check of server-side resources used by AccessAlly™ LMS Migration from LearnDash®
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.09 | 23.86 ▲1.77 |
Dashboard /wp-admin | 3.15 ▲0.09 | 36.53 ▼5.79 |
Posts /wp-admin/edit.php | 3.24 ▲0.13 | 39.02 ▲5.17 |
Add New Post /wp-admin/post-new.php | 5.52 ▲0.08 | 74.92 ▼572.69 |
Media Library /wp-admin/upload.php | 3.10 ▲0.09 | 27.90 ▲0.74 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for AccessAlly™ LMS Migration from LearnDash®
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,687 ▲86 | 15.61 ▼0.04 | 9.19 ▲3.96 | 75.42 ▲3.81 |
Dashboard /wp-admin | 2,949 ▲50 | 6.14 ▲0.09 | 125.81 ▼1.55 | 194.96 ▲21.85 |
Posts /wp-admin/edit.php | 2,727 ▼13 | 3.14 ▼0.10 | 63.25 ▼2.16 | 140.69 ▼5.92 |
Add New Post /wp-admin/post-new.php | 3,820 ▲13 | 17.94 ▼0.00 | 427.23 ▼28.16 | 164.68 ▼8.58 |
Media Library /wp-admin/upload.php | 1,766 ▲14 | 5.68 ▲0.18 | 124.52 ▼26.49 | 198.44 ▲4.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/accessally-lms-migrate-learndash/backend/existing-template.php
- > /wp-content/plugins/accessally-lms-migrate-learndash/backend/settings-template.php
- > /wp-content/plugins/accessally-lms-migrate-learndash/backend/convert-template.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > 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
Uncaught Error: Call to undefined function _e() in wp-content/plugins/accessally-lms-migrate-learndash/backend/settings-display.php:2
- > 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)
No browser issues were 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
accessally-lms-migrate-learndash/accessally-lms-migrate-learndash.php 92% from 13 tests
The main file in "AccessAlly™ LMS Migration from LearnDash®" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 185 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! 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
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
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/completed.png | 1.43KB | 0.69KB | ▼ 51.40% |
backend/error.png | 2.42KB | 2.56KB | 0.00% |
backend/icon.png | 0.70KB | 0.75KB | 0.00% |
backend/revert.png | 0.38KB | 0.48KB | 0.00% |
backend/pencil.png | 15.01KB | 0.21KB | ▼ 98.63% |