Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure had errors
- > Error in wp-content/plugins/vestorly-contact-form-7-integration/service.php+80
Uncaught Error: Class 'WPCF7_Service' not found in wp-content/plugins/vestorly-contact-form-7-integration/service.php:80
Stack trace:
#0 wp-admin/includes/plugin.php(2318): include_once()
#1 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.03ms] Passed 4 tests
Server-side resources used by Vestorly Contact Form 7 Integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.09 ▼1.82 |
Dashboard /wp-admin | 3.31 ▼0.04 | 42.47 ▼13.31 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.52 ▼4.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.09 ▼16.49 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.75 ▲2.31 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Vestorly Contact Form 7 Integration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▼0.00 | 1.62 ▼0.07 | 42.90 ▲1.65 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▼0.01 | 83.47 ▼1.81 | 37.12 ▼2.65 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.00 ▲0.03 | 35.27 ▲0.01 | 35.31 ▲2.69 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.94 ▼0.23 | 669.12 ▲38.34 | 50.24 ▼1.27 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.20 ▼0.02 | 93.22 ▲0.08 | 43.34 ▼0.17 |
Uninstaller [IO: ▲0.02MB] [DB: ▲0.07MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Error in wp-content/plugins/vestorly-contact-form-7-integration/service.php+80
Uncaught Error: Class 'WPCF7_Service' not found in wp-content/plugins/vestorly-contact-form-7-integration/service.php:80
Stack trace:
#0 wp-admin/includes/plugin.php(1257): include_once()
#1 wp-admin/includes/plugin.php(960): uninstall_plugin() - Incomplete uninstall procedure, leaving 3 files (0.02MB) in the plugin directory
- (new file) README.md
- (new file) service.php
- (new file) readme.txt
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- recovery_mode_email_last_sent
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/vestorly-contact-form-7-integration/service.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Requires at least: The plugin version is formatted incorrectly
vestorly-contact-form-7-integration/service.php 85% from 13 tests
"Vestorly Contact Form 7 Integration" version 0.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("vestorly-contact-form-7-integration.php" instead of "service.php")
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
Success! There were no dangerous files found in this plugin379 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 65 | 12 | 377 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 11 | 61.11% |
▷ Protected methods | 5 | 27.78% |
▷ Private methods | 2 | 11.11% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin