Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.05ms] Passed 4 tests
An overview of server-side resources used by Contact Form vCard Generator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 34.63 ▼5.59 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.06 ▼0.56 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.25 ▼5.37 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.28 ▼12.66 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.61 ▲4.95 |
Server storage [IO: ▲0.15MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Contact Form vCard Generator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲47 | 14.25 ▼0.30 | 1.60 ▼0.14 | 39.47 ▼0.17 |
Dashboard /wp-admin | 2,211 ▲34 | 5.57 ▼0.00 | 89.57 ▲1.81 | 72.51 ▲27.32 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 1.96 ▲0.01 | 36.22 ▲0.31 | 31.77 ▼5.93 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 23.65 ▲0.42 | 749.98 ▲67.43 | 58.69 ▼1.40 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▼0.01 | 101.37 ▼3.51 | 81.80 ▲37.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/contact-form-vcard-generator/uninstall.php+7
Constant WP_GVCCF_CF_DETAILS_TABLE already defined
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: contact form vcard generator, vcard wordpress plugin, wordpress vcard generator, contact form vcard, wordpress contact form vcard generator
contact-form-vcard-generator/contact-form-vcard-generator.php Passed 13 tests
The entry point to "Contact Form vCard Generator" version 2.1 is a PHP file that has certain tags in its header comment area
65 characters long description:
WordPress plugin to generate vCard from Contact Form 7 inquiries.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,921 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 171 | 252 | 1,762 |
CSS | 1 | 8 | 1 | 83 |
JavaScript | 1 | 8 | 3 | 76 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 7.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.35% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/example-img.png | 24.97KB | 25.67KB | 0.00% |
assets/images/vcard-icon.png | 1.25KB | 0.63KB | ▼ 49.96% |