Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.50ms] Passed 4 tests
This is a short check of server-side resources used by Oxygen Tutor LMS
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.05 ▼6.13 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.36 ▼1.96 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.61 ▼2.42 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.12 ▼23.49 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.14 ▼0.11 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 130 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Oxygen Tutor LMS
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 14.47 ▼0.28 | 1.58 ▼0.59 | 40.34 ▼3.90 |
Dashboard /wp-admin | 2,210 ▲22 | 5.80 ▲0.90 | 105.36 ▲0.26 | 41.06 ▲1.47 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 1.98 ▼0.02 | 41.10 ▲5.03 | 37.65 ▲1.42 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 23.18 ▲5.61 | 631.84 ▼57.40 | 50.85 ▼6.32 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.21 ▼0.03 | 97.34 ▼2.79 | 43.00 ▼4.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/oxygen-tutor-lms/templates/course/status.php
- 58× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'OxygenTutorElements' not found in wp-content/plugins/oxygen-tutor-lms/elements/CourseCurriculum.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/oxygen-tutor-lms/templates/course/content.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/oxygen-tutor-lms/templates/shortcode/instructor-filter.php:30
- > PHP Fatal error
Uncaught Error: Class 'OxygenTutorElements' not found in wp-content/plugins/oxygen-tutor-lms/elements/CourseMaterial.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function tutor_load_template_from_custom_path() in wp-content/plugins/oxygen-tutor-lms/templates/single-preview-lesson.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/oxygen-tutor-lms/templates/single-course.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/oxygen-tutor-lms/templates/global/alert.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function get_tutor_option() in wp-content/plugins/oxygen-tutor-lms/templates/course/level.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function tutor_utils() in wp-content/plugins/oxygen-tutor-lms/templates/single-content-loader.php:20
- > PHP Fatal error
Uncaught Error: Class 'OxygenTutorElements' not found in wp-content/plugins/oxygen-tutor-lms/elements/CourseEnrolmentBox.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #1 (How to build)
oxygen-tutor-lms/oxygen-tutor-lms.php Passed 13 tests
The main file in "Oxygen Tutor LMS" v. 2.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
110 characters long description:
Oxygen Builder Integration - Tutor LMS plugin let's you to design your courses, lesson page by Oxygen Builder.
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 plugin5,323 lines of code in 95 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 62 | 744 | 533 | 4,972 |
SVG | 32 | 0 | 32 | 337 |
CSS | 1 | 1 | 0 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 1 | 3.57% |
Methods | 155 | |
▷ Static methods | 1 | 0.65% |
▷ Public methods | 155 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 4 | |
▷ Global constants | 4 | 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 files were detected