Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.25ms] Passed 4 tests
This is a short check of server-side resources used by Web cam Addon for Contact form 7
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.81 ▲1.69 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.37 ▼1.97 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.24 ▼2.72 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 95.81 ▲9.62 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.34 ▲2.01 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Web cam Addon for Contact form 7
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲177 | 13.56 ▼1.03 | 8.86 ▲7.00 | 41.47 ▼4.33 |
Dashboard /wp-admin | 2,221 ▲30 | 5.04 ▼0.05 | 108.31 ▲5.30 | 40.59 ▼0.61 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 2.14 ▲0.10 | 39.66 ▼0.84 | 35.92 ▼0.84 |
Add New Post /wp-admin/post-new.php | 1,551 ▲37 | 23.48 ▲6.00 | 657.47 ▲36.25 | 50.54 ▲0.01 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.27 ▲0.04 | 102.03 ▼5.62 | 42.34 ▼6.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/webcam-addon-for-contact-form-7/webcam-addon-for-contact-form-7.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
Please fix the following attributes:
- Contributors: Plugin contributors field is missing
webcam-addon-for-contact-form-7/webcam-addon-for-contact-form-7.php Passed 13 tests
The primary PHP file in "Web cam Addon for Contact form 7" version 1.0 is used by WordPress to initiate all plugin functionality
81 characters long description:
This plugin use for capture picture and send in mail with help of Contact form 7.
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 plugin155 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 14 | 132 |
JavaScript | 2 | 8 | 1 | 21 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin