Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.63ms] Passed 4 tests
Server-side resources used by Obi LearnDash Redirect
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.79 ▼6.61 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.03 ▼14.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.39 ▲1.53 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.31 ▼16.52 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.14 ▼4.38 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Obi LearnDash Redirect: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.35 ▼0.00 | 1.51 ▼0.36 | 37.32 ▼7.03 |
Dashboard /wp-admin | 2,195 ▲18 | 5.58 ▼0.02 | 87.09 ▼4.59 | 37.28 ▼2.57 |
Posts /wp-admin/edit.php | 2,079 ▼24 | 1.99 ▼0.03 | 34.67 ▼5.40 | 32.56 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.24 ▲0.26 | 600.87 ▼15.37 | 65.53 ▲10.53 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.20 ▲0.04 | 101.40 ▼7.61 | 42.56 ▼1.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: woocommerce, redirection, learndash
obi-learndash-redirect/obi-learndash-redirect.php Passed 13 tests
The main file in "Obi LearnDash Redirect" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
54 characters long description:
Redirect users to your course/group custom sales page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin664 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 215 | 440 | 659 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of 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.47 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 24 | 46.15% |
▷ Public methods | 44 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 15.38% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
No PNG images were found in this plugin