Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.13ms] Passed 4 tests
Server-side resources used by Elearning Video Player
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.53 ▲5.00 |
Dashboard /wp-admin | 3.39 ▲0.08 | 51.06 ▲1.25 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 48.02 ▲0.08 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.82 ▼7.82 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.12 ▼2.04 |
E-Video Categories /wp-admin/edit-tags.php?taxonomy=evideolqh-categories&post_type=evideolqh | 3.30 | 33.92 |
Add Video /wp-admin/post-new.php?post_type=evideolqh | 3.35 | 48.66 |
Elearning Videos /wp-admin/edit.php?post_type=evideolqh | 3.35 | 38.24 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Elearning Video Player
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲63 | 13.67 ▼0.72 | 1.98 ▼0.12 | 43.96 ▲0.29 |
Dashboard /wp-admin | 2,237 ▲49 | 5.80 ▲0.93 | 115.50 ▲12.45 | 39.01 ▼5.06 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 1.98 ▼0.07 | 35.19 ▼3.76 | 33.21 ▲1.73 |
Add New Post /wp-admin/post-new.php | 1,563 ▲21 | 23.21 ▲4.89 | 611.96 ▼13.39 | 49.81 ▼6.84 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.20 ▲0.02 | 97.02 ▼18.83 | 44.48 ▼7.76 |
E-Video Categories /wp-admin/edit-tags.php?taxonomy=evideolqh-categories&post_type=evideolqh | 1,296 | 2.14 | 27.80 | 30.89 |
Add Video /wp-admin/post-new.php?post_type=evideolqh | 1,885 | 2.83 | 57.23 | 50.01 |
Elearning Videos /wp-admin/edit.php?post_type=evideolqh | 1,128 | 2.44 | 36.61 | 31.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/elearning-video-player/elearning-video-player.php:13
- > 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 Passed 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
4 plugin tags: player, quizz, elearning, video
elearning-video-player/elearning-video-player.php Passed 13 tests
The primary PHP file in "Elearning Video Player" version 1.0.2 is used by WordPress to initiate all plugin functionality
80 characters long description:
A wordpress plugin that helps your viewers interact with your videos via quizzes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,411 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 158 | 90 | 703 |
PHP | 5 | 47 | 38 | 331 |
CSS | 4 | 10 | 0 | 212 |
HTML | 6 | 9 | 0 | 158 |
Markdown | 1 | 1 | 0 | 7 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin