Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▲2.33ms] 50% from 4 tests
Analyzing server-side resources used by Dozent LMS - Powerful WordPress LMS plugin
Please take the time to fix the following items
- RAM: You should keep total memory usage under 10MB (currently 256.81MB on /wp-admin/edit.php?post_type=dozentlms_course)
- CPU: You should keep total CPU usage under 500.00ms (currently 1,012.28ms on /wp-admin/edit.php?post_type=dozentlms_course)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 41.78 ▼2.75 |
Dashboard /wp-admin | 3.55 ▲0.25 | 55.77 ▲12.14 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 55.52 ▲5.36 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 97.46 ▲0.68 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 40.03 ▲6.01 |
Instructors /wp-admin/admin.php?page=dozentlms-instructors | 3.44 | 39.10 |
Frontend Dashboard /wp-admin/admin.php?page=dozentlms-frontend-dashboard | 3.24 | 24.11 |
All Courses /wp-admin/edit.php?post_type=dozentlms_course | 256.81 | 1,012.28 |
Add-Ons /wp-admin/admin.php?page=dozentlms-addons | 3.43 | 42.05 |
Categories /wp-admin/edit-tags.php?taxonomy=course_category&post_type=dozentlms_course | 3.42 | 40.58 |
Settings /wp-admin/admin.php?page=dozentlms-settings | 3.46 | 48.88 |
Server storage [IO: ▲1.77MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 130 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
dozentlms_activation_time |
dozentlms_settings |
widget_theysaidso_widget |
can_compress_scripts |
dozentlms_version |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dozent LMS - Powerful WordPress LMS plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,101 ▲344 | 15.34 ▲0.69 | 6.58 ▲4.69 | 42.28 ▼8.28 |
Dashboard /wp-admin | 2,396 ▲208 | 6.52 ▲0.63 | 141.07 ▲36.31 | 41.79 ▼5.42 |
Posts /wp-admin/edit.php | 2,300 ▲211 | 3.45 ▲1.47 | 50.33 ▲3.79 | 30.16 ▼9.38 |
Add New Post /wp-admin/post-new.php | 1,558 ▲16 | 23.33 ▲5.08 | 676.64 ▲86.17 | 35.93 ▼28.83 |
Media Library /wp-admin/upload.php | 1,436 ▲54 | 4.23 ▲0.04 | 80.73 ▼15.47 | 41.70 ▼0.71 |
Instructors /wp-admin/admin.php?page=dozentlms-instructors | 1,135 | 3.26 | 39.66 | 24.87 |
Frontend Dashboard /wp-admin/admin.php?page=dozentlms-frontend-dashboard | 555 | 1.69 | 12.37 | 23.53 |
All Courses /wp-admin/edit.php?post_type=dozentlms_course | 45 | 0.44 | 0.07 | 8.75 |
Add-Ons /wp-admin/admin.php?page=dozentlms-addons | 1,277 | 3.15 | 39.71 | 72.42 |
Categories /wp-admin/edit-tags.php?taxonomy=course_category&post_type=dozentlms_course | 1,473 | 3.31 | 43.98 | 26.88 |
Settings /wp-admin/admin.php?page=dozentlms-settings | 1,542 | 3.43 | 47.56 | 64.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 9 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- dozentlms_settings
- theysaidso_admin_options
- dozentlms_version
- dozentlms_activation_time
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/edit.php?post_type=dozentlms_course
- > Error in wp-includes/class-wp-query.php+602
Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes)
SRP 50% 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
Please fix the following items
- 15× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
require(): Failed opening required 'DOZENTLMS_ABSPATH/core/course/card-hooks.php' (include_path='.:/usr/share/php') in wp-content/plugins/dozent-lms/core/course/course-functions.php on line 2
- > PHP Warning
require(DOZENTLMS_ABSPATH/core/course/card-hooks.php): failed to open stream: No such file or directory in wp-content/plugins/dozent-lms/core/course/course-functions.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function dozentlms_get_setting() in wp-content/plugins/dozent-lms/core/course/coursebuilder_header.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function dozentlms_course_data_field_attrs() in wp-content/plugins/dozent-lms/core/course/data.php:2
- > PHP Warning
Use of undefined constant DOZENTLMS_ABSPATH - assumed 'DOZENTLMS_ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/dozent-lms/core/course/course-functions.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function dozentlms_the_video() in wp-content/plugins/dozent-lms/templates/single/lecture/content.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/dozent-lms/core/user/instructors-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function dozentlms_get_var() in wp-content/plugins/dozent-lms/core/settings/panel.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dozent-lms/core/settings/functions-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/dozent-lms/core/course/coursebuilder.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=dozentlms_course
- > Network (severe)
wp-admin/edit.php?post_type=dozentlms_course - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
dozent-lms/dozent-lms.php Passed 13 tests
The entry point to "Dozent LMS - Powerful WordPress LMS plugin" version 1.2.4 is a PHP file that has certain tags in its header comment area
55 characters long description:
Easily create Learning Management System with WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin18,050 lines of code in 116 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 720 | 180 | 8,112 |
PHP | 97 | 2,334 | 1,334 | 7,002 |
JavaScript | 7 | 337 | 518 | 2,815 |
SVG | 2 | 0 | 0 | 121 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 12.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 1 | 3.33% |
▷ Concrete classes | 29 | 96.67% |
▷ Final classes | 0 | 0.00% |
Methods | 163 | |
▷ Static methods | 17 | 10.43% |
▷ Public methods | 157 | 96.32% |
▷ Protected methods | 1 | 0.61% |
▷ Private methods | 5 | 3.07% |
Functions | 162 | |
▷ Named functions | 158 | 97.53% |
▷ Anonymous functions | 4 | 2.47% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
addons/ratings-reviews/thumbnail.png | 11.26KB | 5.35KB | ▼ 52.52% |
addons/frontend-course-builder/thumbnail.png | 11.24KB | 5.66KB | ▼ 49.60% |
addons/social-login/thumbnail.png | 31.30KB | 14.18KB | ▼ 54.70% |
addons/edd/thumbnail.png | 4.35KB | 4.73KB | 0.00% |
resources/images/placeholder-plugin.png | 2.89KB | 2.80KB | ▼ 3.21% |