Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼5.49ms] Passed 4 tests
Server-side resources used by Simple Address Autocomplete
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 41.24 ▲3.45 |
Dashboard /wp-admin | 3.42 ▲0.07 | 45.01 ▼14.56 |
Posts /wp-admin/edit.php | 3.54 ▲0.17 | 47.60 ▼1.06 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 89.84 ▼9.78 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 37.74 ▲4.78 |
Simple Autocomplete /wp-admin/options-general.php?page=simple_autocomplete | 3.32 | 33.08 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 22 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
This is an overview of browser requirements for Simple Address Autocomplete
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲73 | 14.17 ▼0.38 | 25.55 ▲23.84 | 37.87 ▼3.15 |
Dashboard /wp-admin | 2,203 ▲23 | 5.60 ▼0.07 | 92.59 ▲7.08 | 39.47 ▼4.00 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.97 ▼0.03 | 42.48 ▲5.53 | 38.13 ▲4.10 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 18.46 ▼4.88 | 624.50 ▼63.14 | 80.18 ▲29.24 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.22 ▼0.01 | 92.52 ▼10.17 | 43.94 ▼1.33 |
Simple Autocomplete /wp-admin/options-general.php?page=simple_autocomplete | 1,866 | 2.12 | 25.01 | 34.87 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/simple-address-autocomplete/admin/partials/simple-address-autocomplete-admin-display.php
- > /wp-content/plugins/simple-address-autocomplete/public/partials/simple-address-autocomplete-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: address, google maps, autocomplete, google maps autocomplete, google address autocomplete
simple-address-autocomplete/simple-address-autocomplete.php Passed 13 tests
The principal PHP file in "Simple Address Autocomplete" v. 1.2.1 is loaded by WordPress automatically on each request
80 characters long description:
A simple way to add Google address autocomplete functionality to any form field.
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 detected656 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 111 | 248 | 596 |
JavaScript | 1 | 5 | 2 | 53 |
CSS | 2 | 1 | 4 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin