Benchmarks
Plugin footprint 82% 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: ▲1.40MB] [CPU: ▼284.83ms] 75% from 4 tests
A check of server-side resources used by Video Lessons Manager - Best Video Course LMS
The following require your attention
- CPU: You should keep total CPU usage under 500.00ms (currently 1,410.47ms on /wp-admin/admin.php?page=cmvl-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.92 ▲1.41 | 74.32 ▲23.88 |
Dashboard /wp-admin | 4.77 ▲1.37 | 43.24 ▲8.69 |
Posts /wp-admin/edit.php | 5.06 ▲1.43 | 47.57 ▲3.87 |
Add New Post /wp-admin/post-new.php | 8.39 ▲1.43 | 103.46 ▼1,154.17 |
Media Library /wp-admin/upload.php | 4.72 ▲1.42 | 32.45 ▲2.28 |
User Guide /wp-admin/admin.php?page=CMVL_about | 4.82 | 31.65 |
Channels /wp-admin/edit.php?post_type=cmvl_channel | 4.77 | 37.23 |
Upgrade ➤ /wp-admin/admin.php?page=CMVL_pro | 4.71 | 32.66 |
Settings /wp-admin/admin.php?page=cmvl-settings | 5.00 | 1,410.47 |
Server storage [IO: ▲1.08MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 129 new files
Database: no new tables, 6 new options
New WordPress options |
---|
cmvl_update_methods |
cmvl_vimeo_privacy_cache_sec |
CMVL_trigger_flush_rewrite |
cmvl_category_children |
CMVLplugin_error |
cmvl_vimeo_cache_sec |
Browser metrics Passed 4 tests
An overview of browser requirements for Video Lessons Manager - Best Video Course LMS
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,877 ▲133 | 16.29 ▲0.33 | 6.99 ▲1.20 | 2.73 ▲0.54 |
Dashboard /wp-admin | 2,972 ▲111 | 6.29 ▲0.22 | 115.73 ▼17.54 | 184.80 ▲26.53 |
Posts /wp-admin/edit.php | 2,767 ▲73 | 3.30 ▲0.07 | 66.41 ▲1.98 | 160.87 ▲16.77 |
Add New Post /wp-admin/post-new.php | 1,712 ▼40 | 15.69 ▼5.63 | 445.02 ▼12.39 | 157.41 ▲1.83 |
Media Library /wp-admin/upload.php | 1,772 ▲74 | 5.60 ▲0.09 | 140.66 ▼2.39 | 202.74 ▲11.93 |
User Guide /wp-admin/admin.php?page=CMVL_about | 5,590 | 13.67 | 361.58 | 317.76 |
Channels /wp-admin/edit.php?post_type=cmvl_channel | 1,461 | 3.21 | 61.99 | 138.00 |
Upgrade ➤ /wp-admin/admin.php?page=CMVL_pro | 1,758 | 3.40 | 65.66 | 132.29 |
Settings /wp-admin/admin.php?page=cmvl-settings | 3,487 | 6.26 | 133.68 | 208.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- cmvl_update_methods
- cmvl_vimeo_privacy_cache_sec
- CMVLplugin_error
- cmvl_category_children
- CMVL_trigger_flush_rewrite
- cmvl_vimeo_cache_sec
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=CMVL_about
- > Warning in wp-content/plugins/cm-video-lesson-manager/package/cminds-free.php+3001
mysqli_get_server_info() expects exactly 1 parameter, 0 given
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
The following issues need your attention
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cm-video-lesson-manager/view/frontend/dashboard/dashboard.php
- > /wp-content/plugins/cm-video-lesson-manager/view/frontend/playlist/navbar.php
- > /wp-content/plugins/cm-video-lesson-manager/view/backend/channelreports/report-index.php
- > /wp-content/plugins/cm-video-lesson-manager/view/backend/settings/test-configuration.php
- > /wp-content/plugins/cm-video-lesson-manager/view/backend/settings/test-configuration-error.php
- > /wp-content/plugins/cm-video-lesson-manager/view/frontend/channel/single_content.php
- 77× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'com\\cminds\\videolesson\\controller\\Controller' not found in wp-content/plugins/cm-video-lesson-manager/controller/AddSettingsTabsController.php:8
- > PHP Notice
Undefined variable: albums in wp-content/plugins/cm-video-lesson-manager/view/backend/settings/test-configuration.php on line 32
- > PHP Fatal error
Uncaught Error: Class 'com\\cminds\\videolesson\\model\\Labels' not found in wp-content/plugins/cm-video-lesson-manager/view/backend/settings/experts.php:6
- > PHP Notice
Undefined variable: tabs in wp-content/plugins/cm-video-lesson-manager/view/frontend/dashboard/dashboard.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'com\\cminds\\videolesson\\model\\Labels' not found in wp-content/plugins/cm-video-lesson-manager/view/frontend/channel/channels-list.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/cm-video-lesson-manager/view/backend/channel/choose-channel-meta-box.php:66
- > PHP Notice
Undefined variable: content in wp-content/plugins/cm-video-lesson-manager/view/frontend/channel/single_content.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'com\\cminds\\videolesson\\model\\Labels' not found in wp-content/plugins/cm-video-lesson-manager/view/frontend/instantpayments/paybox-form.php:16
- > PHP Fatal error
Uncaught Error: Class 'com\\cminds\\videolesson\\controller\\Controller' not found in wp-content/plugins/cm-video-lesson-manager/controller/SettingsController.php:15
- > PHP Notice
Undefined variable: total_pages in wp-content/plugins/cm-video-lesson-manager/view/frontend/playlist/pagination.php on line 5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=CMVL_about
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yY/r/aI1eXhTqbs-.js?_nc_x=Ij3Wp8lg5Kz 57:562 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."
- > GET request to /wp-admin/admin.php?page=cmvl-settings
- > Other (warning) in unknown
/wp-admin/admin.php?page=cmvl-settings 864 Allow attribute will take precedence over 'allowfullscreen'.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
5 plugin tags: elearning, video, video lessons, video gallery, tutorials
cm-video-lesson-manager/cm-video-lesson-manager.php 92% from 13 tests
The entry point to "Video Lessons Manager - Best Video Course LMS" version 1.7.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 163 characters long)
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
Everything looks great! No dangerous files found in this plugin9,525 lines of code in 84 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 72 | 1,811 | 744 | 8,003 |
CSS | 5 | 129 | 3 | 867 |
JavaScript | 7 | 101 | 36 | 655 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 20.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 251.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 7 | 19.44% |
▷ Concrete classes | 29 | 80.56% |
▷ Final classes | 0 | 0.00% |
Methods | 423 | |
▷ Static methods | 189 | 44.68% |
▷ Public methods | 374 | 88.42% |
▷ Protected methods | 46 | 10.87% |
▷ Private methods | 3 | 0.71% |
Functions | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.00% |
Constants | 145 | |
▷ Global constants | 1 | 0.69% |
▷ Class constants | 144 | 99.31% |
▷ Public constants | 144 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
36 PNG files occupy 0.50MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
package/css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.26KB | 0.15KB | ▼ 42.37% |
package/views/img/v2.png | 0.38KB | 0.37KB | ▼ 1.79% |
package/css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
package/views/img/circle.png | 10.91KB | 4.69KB | ▼ 57.01% |
package/views/downloads.png | 34.70KB | 9.25KB | ▼ 73.35% |