Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.65ms] Passed 4 tests
Server-side resources used by cf7geogle
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.77 ▼2.60 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.49 ▼6.52 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 46.35 ▲0.42 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 87.42 ▼1.90 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.09 ▲0.89 |
CF7Geogle Config /wp-admin/options-general.php?page=cf7geogle | 3.25 | 30.42 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
cf7geogle_option_google_api_key |
widget_recent-posts |
cf7geogle_option_is_include_api |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
cf7geogle: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.24 ▼1.06 | 1.69 ▼0.23 | 41.16 ▼2.73 |
Dashboard /wp-admin | 2,210 ▲19 | 4.84 ▼1.04 | 101.81 ▲1.29 | 38.37 ▼6.17 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.00 | 40.19 ▲0.24 | 35.55 ▼3.89 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.10 ▲4.89 | 599.09 ▼12.73 | 48.50 ▼6.44 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.21 ▲0.09 | 97.28 ▼5.75 | 43.29 ▲0.32 |
CF7Geogle Config /wp-admin/options-general.php?page=cf7geogle | 847 | 2.02 | 22.29 | 28.31 |
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
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- widget_theysaidso_widget
- cf7geogle_option_is_include_api
- can_compress_scripts
- cf7geogle_option_google_api_key
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=cf7geogle
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=cf7geogle
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
The following issues need your attention
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/cf7geogle/views/admin/map.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/cf7geogle/views/admin/geocoding.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/cf7geogle/cf7geogle.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/cf7geogle/views/admin/option.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/cf7geogle/views/admin/addresssrc.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: google map, contact form 7
cf7geogle/cf7geogle.php Passed 13 tests
"cf7geogle" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
36 characters long description:
Google Map plugin for Contact Form 7
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected838 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 107 | 94 | 553 |
JavaScript | 5 | 37 | 0 | 223 |
PO File | 1 | 30 | 3 | 62 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 1 | 7.69% |
▷ 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected