Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/address-autocomplete-contact-form-7/WMAMC-cf7-address-autocomplete.php+565
Non-static method WMAMC_cf7_address_autocomplete::WMAMC_cf7_address_autocomplete_instance() should not be called statically
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.93ms] Passed 4 tests
Server-side resources used by Address autocomplete Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.81 ▼5.35 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.16 ▼4.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.43 ▼1.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.28 ▼7.68 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.95 ▼0.98 |
Google Place API /wp-admin/admin.php?page=google-place-api | 3.00 | 23.55 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
WMAMC_cf7_address_autocomplete_version |
Browser metrics Passed 4 tests
Address autocomplete Contact Form 7: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.18 ▼1.57 | 1.81 ▼0.28 | 42.10 ▼4.25 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.09 | 98.22 ▼17.49 | 40.53 ▼3.40 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▼0.06 | 38.05 ▼5.02 | 33.78 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.44 ▲5.96 | 655.27 ▼63.49 | 52.39 ▲0.70 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.22 ▲0.02 | 101.83 ▲0.18 | 45.21 ▼1.05 |
Google Place API /wp-admin/admin.php?page=google-place-api | 28 | 0.44 | 0.09 | 3.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- WMAMC_cf7_address_autocomplete_version
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=google-place-api
- > Network (severe)
wp-admin/admin.php?page=google-place-api - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #1, #2 in address-autocomplete-contact-form-7/assets to your readme.txt
address-autocomplete-contact-form-7/WMAMC-cf7-address-autocomplete.php 77% from 13 tests
The entry point to "Address autocomplete Contact Form 7" version 1.1.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.8" instead of "4.4")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("address-autocomplete-contact-form-7.php" instead of "WMAMC-cf7-address-autocomplete.php")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin305 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 166 | 98 | 305 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected