90% tutor-lms-author

Code Review | Tutor LMS Author Ownership Changer - Migrate your Course Author Ownership

WordPress plugin Tutor LMS Author Ownership Changer - Migrate your Course Author Ownership scored90%from 54 tests.

About plugin

  • Plugin page: tutor-lms-author
  • Plugin version: 1.0.3
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.5
  • WordPress version: 6.3.1
  • First release: Nov 28, 2019
  • Latest release: Jun 28, 2020
  • Number of updates: 6
  • Update frequency: every 35.7 days
  • Top authors: fahimmurshed (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

300+ active /4,114 total downloads

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.00MB] [CPU: ▼5.93ms] Passed 4 tests

This is a short check of server-side resources used by Tutor LMS Author Ownership Changer - Migrate your Course Author Ownership
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0037.16 ▼4.14
Dashboard /wp-admin3.31 ▲0.0144.55 ▼2.23
Posts /wp-admin/edit.php3.36 ▲0.0043.71 ▼0.55
Add New Post /wp-admin/post-new.php5.89 ▲0.0079.64 ▼16.81
Media Library /wp-admin/upload.php3.23 ▲0.0037.26 ▲4.09

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Tutor LMS Author Ownership Changer - Migrate your Course Author Ownership
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.26 ▼0.301.62 ▲0.0845.52 ▲4.41
Dashboard /wp-admin2,195 ▲185.53 ▼0.1585.40 ▲1.1934.99 ▼8.78
Posts /wp-admin/edit.php2,100 ▼01.98 ▼0.0135.04 ▼3.1231.61 ▼0.91
Add New Post /wp-admin/post-new.php1,531 ▲523.38 ▲0.26670.95 ▼11.5451.51 ▼10.48
Media Library /wp-admin/upload.php1,400 ▲34.23 ▲0.0198.83 ▼2.3742.64 ▼4.76

Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
The SRP test was a success

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 Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: change course author ownership, tutor lms, tutor lms author, tutor, change courses author

tutor-lms-author/tutor-lms-author.php Passed 13 tests

Analyzing the main PHP file in "Tutor LMS Author Ownership Changer - Migrate your Course Author Ownership" version 1.0.3
52 characters long description:
Easily change the Tutor LMS course author ownership.

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

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin