Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.92ms] Passed 4 tests
A check of server-side resources used by Videomail for Ninja Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.90 ▲5.95 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.52 ▼4.96 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.38 ▼4.03 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.08 ▲2.05 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.87 ▲3.28 |
Server storage [IO: ▲1.44MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Videomail for Ninja Forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.25 ▼0.10 | 1.74 ▲0.02 | 44.95 ▲8.66 |
Dashboard /wp-admin | 2,198 ▲18 | 5.57 ▼0.10 | 91.89 ▼12.18 | 41.86 ▼3.69 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▲0.05 | 40.36 ▼7.66 | 37.27 ▼3.20 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.10 ▲0.00 | 657.32 ▼1.07 | 64.72 ▲16.46 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.20 ▼0.00 | 95.98 ▼4.75 | 41.59 ▲0.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- 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
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/videomail-for-ninja-forms/target/php/templates/admin-form-element.html.php
- > /wp-content/plugins/videomail-for-ninja-forms/target/php/templates/admin-metabox-submission.html.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/videomail-for-ninja-forms/target/php/templates/admin-metabox-submission.html.php on line 2
- > PHP Notice
Undefined variable: poster in wp-content/plugins/videomail-for-ninja-forms/target/php/templates/admin-metabox-submission.html.php on line 1
- > PHP Notice
Undefined variable: source in wp-content/plugins/videomail-for-ninja-forms/target/php/templates/admin-metabox-submission.html.php on line 9
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/videomail-for-ninja-forms/target/php/templates/admin-metabox-submission.html.php on line 9
- > PHP Notice
Undefined variable: value in wp-content/plugins/videomail-for-ninja-forms/target/php/templates/admin-form-element.html.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/videomail-for-ninja-forms/target/php/config/videomail-field-settings.php:3
- > PHP Notice
Undefined variable: source in wp-content/plugins/videomail-for-ninja-forms/target/php/templates/admin-metabox-submission.html.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/videomail-for-ninja-forms/videomail-for-ninja-forms.php:15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: webcam, recorder, form, email, video...
videomail-for-ninja-forms/videomail-for-ninja-forms.php Passed 13 tests
"Videomail for Ninja Forms" version 5.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
89 characters long description:
Express yourself in more than just words. Record and send a short video from your webcam.
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
Good job! No executable or dangerous file extensions detected26,292 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 3,634 | 4,068 | 25,809 |
PHP | 11 | 98 | 78 | 400 |
HTML | 4 | 0 | 0 | 82 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 2 | 50.00% |
Methods | 25 | |
▷ Static methods | 3 | 12.00% |
▷ Public methods | 25 | 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 | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.30MB with 0.14MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 56.89KB | 15.06KB | ▼ 73.52% |
assets/banner-772x250.png | 6.41KB | 5.47KB | ▼ 14.74% |
assets/screenshot-1.png | 230.46KB | 66.47KB | ▼ 71.16% |
assets/icon-256x256.png | 13.46KB | 10.44KB | ▼ 22.41% |