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.21MB] [CPU: ▼2.20ms] Passed 4 tests
Server-side resources used by Webcam Microphone Screen Recorder HTML5
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 49.94 ▲3.23 |
Dashboard /wp-admin | 3.52 ▲0.22 | 46.01 ▲3.53 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 48.15 ▲2.68 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 84.55 ▼8.44 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 35.53 ▼6.28 |
Settings /wp-admin/admin.php?page=recorder-settings | 3.42 | 37.97 |
HTML5 Recorder /wp-admin/admin.php?page=recorder | 3.42 | 32.34 |
New Recording /wp-admin/admin.php?page=recorder-new | 3.41 | 33.16 |
Server storage [IO: ▲9.44MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 48 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
VWvideoRecorderOptions |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Webcam Microphone Screen Recorder HTML5
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲176 | 13.19 ▼1.13 | 2.20 ▲0.22 | 44.73 ▲5.37 |
Dashboard /wp-admin | 2,268 ▲83 | 4.88 ▼0.95 | 110.42 ▲5.40 | 43.22 ▲1.84 |
Posts /wp-admin/edit.php | 2,151 ▲59 | 2.03 ▼0.02 | 41.01 ▲4.21 | 39.88 ▲4.20 |
Add New Post /wp-admin/post-new.php | 1,589 ▲55 | 23.20 ▲0.22 | 680.37 ▲89.38 | 59.05 ▲9.29 |
Media Library /wp-admin/upload.php | 1,450 ▲62 | 4.19 ▲0.02 | 99.59 ▼16.05 | 44.88 ▲3.08 |
Settings /wp-admin/admin.php?page=recorder-settings | 1,027 | 2.15 | 22.76 | 32.45 |
HTML5 Recorder /wp-admin/admin.php?page=recorder | 1,010 | 2.19 | 23.86 | 33.43 |
New Recording /wp-admin/admin.php?page=recorder-new | 1,915 | 9.76 | 149.08 | 127.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- VWvideoRecorderOptions
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/video-posts-webcam-recorder/videoposts.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=recorder-new
- > Console-api (severe) in unknown
/wp-content/plugins/video-posts-webcam-recorder/static/js/2.e4e0cf2f.chunk.js?ver=6.3.1 0:1103068 TypeError: Cannot read properties of undefined (reading 'getUserMedia')at a.value (/wp-content/plugins/video-posts-webcam-recorder/static/js/main.925ead6d.chunk.js?ver=6.3.1:1:58208)at a.value (/wp-content/plugins/video-posts-webcam-recorder/static/js/main.925ead6d.chunk.js?ver=6.3.1:1:55522)at a.value (/wp-content/plugins/video-posts-webcam-recorder/static/js/main.925ead6d.chunk.js?ver=6.3.1:1:54837)at gu (/wp-content/plugins/video-posts-webcam-recorder/static/js/2.e4e0cf2f.chunk.js?ver=6.3.1:1:1104049)at Ss (/wp-content/plugins/video-posts-webcam-recorder/static/js/2.e4e0cf2f.chunk.js?ver=6.3.1:1:1121837)at t.unstable_runWithPriority (/wp-content/plugins/video-posts-webcam-recorder/static/js/2.e4e0cf2f.chunk.js?ver=6.3.1:1:1141154)at $a (/wp-content/plugins/video-posts-webcam-recorder/static/js/2.e4e0cf2f.chunk.js?ver=6.3.1:1:1065506)at xs (/wp-content/plugins/video-posts-webcam-recorder/static/js/2.e4e0cf2f.chunk.js?ver=6.3.1:1:1118494)at ms (/wp-content/plugins/video-posts-webcam-recorder/static/js/2.e4e0cf2f.chunk.js?ver=6.3.1:1:1114618)at /wp-content/plugins/video-posts-webcam-recorder/static/js/2.e4e0cf2f.chunk.js?ver=6.3.1:1:1065797
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (24 tag instead of maximum 10)
- Screenshots: These screenshots require images: #1 (HTML5 recorder : video recording), #2 (HTML5 recorder : audio recording), #3 (Legacy Record Button (when writing a post)), #4 (Legacy Recorder Application)
video-posts-webcam-recorder/videoposts.php 85% from 13 tests
This is the main PHP file of "Webcam Microphone Screen Recorder HTML5" version 3.3.10, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("video-posts-webcam-recorder.php" instead of "videoposts.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 299 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin19,205 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 6 | 0 | 24 | 18,181 |
PHP | 3 | 315 | 90 | 964 |
CSS | 3 | 1 | 395 | 52 |
JavaScript | 4 | 0 | 10 | 4 |
Markdown | 1 | 3 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 50.33 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 5.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 29 | 85.29% |
▷ Public methods | 34 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/media/flags.99f63ae7.png | 27.46KB | 29.21KB | 0.00% |
scripts/semantic/themes/default/assets/images/flags.png | 27.46KB | 29.21KB | 0.00% |
screenshot-2.png | 15.42KB | 4.66KB | ▼ 69.81% |