87% accessally-lms-migration-from-wp-courseware

Code Review | AccessAlly™ LMS Migration from WP Courseware®

WordPress plugin AccessAlly™ LMS Migration from WP Courseware® scored 87% from 54 tests.

About plugin

  • Plugin page: accessally-lms-mi...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7.0-5.5.3
  • WordPress version: 5.9.2
  • First release: Nov 21, 2020
  • Latest release: Nov 22, 2020
  • Number of updates: 3
  • Update frequency: every 0.7 days
  • Top authors: accessally (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 330 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼295.14ms] Passed 4 tests

A check of server-side resources used by AccessAlly™ LMS Migration from WP Courseware®
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.67 ▲0.1659.40 ▲8.43
Dashboard /wp-admin3.50 ▲0.1033.81 ▼1.27
Posts /wp-admin/edit.php3.73 ▲0.0944.76 ▲6.28
Add New Post /wp-admin/post-new.php6.97 ▼0.0090.87 ▼1,188.33
Media Library /wp-admin/upload.php3.38 ▲0.0926.20 ▲2.75

Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for AccessAlly™ LMS Migration from WP Courseware®
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,782 ▲3816.00 ▼0.086.12 ▲0.282.62 ▲0.47
Dashboard /wp-admin2,911 ▲536.21 ▲0.03113.89 ▼18.65177.07 ▲9.68
Posts /wp-admin/edit.php2,708 ▲173.12 ▼0.1163.73 ▲0.98137.03 ▼2.11
Add New Post /wp-admin/post-new.php1,767 ▲10621.05 ▲5.37412.71 ▲7.16193.29 ▲36.63
Media Library /wp-admin/upload.php1,718 ▲235.56 ▲0.06127.74 ▼17.70197.00 ▲1.93

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Almost there! Just fix the following items
  • 3× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/accessally-lms-migration-from-wp-courseware/backend/settings-template.php
    • > /wp-content/plugins/accessally-lms-migration-from-wp-courseware/backend/convert-template.php
    • > /wp-content/plugins/accessally-lms-migration-from-wp-courseware/backend/existing-template.php
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/accessally-lms-migration-from-wp-courseware/backend/settings-display.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/accessally-lms-migration-from-wp-courseware/accessally-lms-migrate-wp-courseware.php:25

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


Plugin configuration 83% from 29 tests

readme.txt 81% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Screenshots: These screenshots lack descriptions #0, #0, #0, #0, #0, #0 in accessally-lms-migration-from-wp-courseware/assets to your readme.txt
  • Screenshots: These screenshots require images: #1 (See existing WP Courseware courses), #2 (Decide what type of conversion you want to perform.), #3 (Simple LMS migration with the click of the convert button.), #4 (Once the conversion is complete, you can revert or click to edit the course directly in AccessAlly's course wizard.), #5 (Just follow the steps through the AccessAlly Course Wizard to finish setting up your course, and make any updates to your course organization.), #6 (You'll be able to edit and save your new posts and make changes from there.)
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can take inspiration from this readme.txt

accessally-lms-migration-from-wp-courseware/accessally-lms-migrate-wp-courseware.php 85% from 13 tests

"AccessAlly™ LMS Migration from WP Courseware®" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 201 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("accessally-lms-migration-from-wp-courseware.php" instead of "accessally-lms-migrate-wp-courseware.php")

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
Success! There were no dangerous files found in this plugin844 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity73.00
▷ Minimum class complexity73.00
▷ Maximum class complexity73.00
Average method complexity4.27
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods22100.00%
▷ Public methods1150.00%
▷ Protected methods00.00%
▷ Private methods1150.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
backend/completed.png1.43KB0.69KB▼ 51.40%
backend/pencil.png15.01KB0.21KB▼ 98.63%