Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.58ms] Passed 4 tests
Analyzing server-side resources used by Geoforms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.35 ▼2.35 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.02 ▼1.90 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.85 ▼3.79 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 83.84 ▼10.28 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.36 ▲0.86 |
Geolib /wp-admin/options-general.php?page=geolib-options | 3.25 | 31.36 |
Server storage [IO: ▲0.37MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 53 new files
Database: 9 new tables, 9 new options
New tables |
---|
wp_geo_field_categories |
wp_geo_field_elements |
wp_geo_elements |
wp_geo_fields |
wp_geo_forms |
wp_geo_values |
wp_geo_form_fields |
wp_geo_superforms |
wp_geo_superform_forms |
New WordPress options |
---|
geoform_page_id |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
geolib_dbout |
geolib_debugging |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Geoforms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲199 | 14.07 ▼0.51 | 5.90 ▲4.14 | 40.48 ▼5.03 |
Dashboard /wp-admin | 2,245 ▲71 | 5.22 ▲0.37 | 155.70 ▲37.69 | 75.98 ▲25.07 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.35 ▲0.35 | 41.83 ▲5.54 | 32.01 ▼5.47 |
Add New Post /wp-admin/post-new.php | 1,556 ▲20 | 22.23 ▼1.01 | 802.90 ▲120.41 | 39.29 ▼14.65 |
Media Library /wp-admin/upload.php | 1,485 ▲94 | 4.56 ▲0.37 | 108.84 ▲8.21 | 45.91 ▲1.50 |
Geolib /wp-admin/options-general.php?page=geolib-options | 858 | 2.17 | 33.93 | 29.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables were found after uninstall: 9 tables
- wp_geo_fields
- wp_geo_forms
- wp_geo_form_fields
- wp_geo_field_categories
- wp_geo_values
- wp_geo_superform_forms
- wp_geo_superforms
- wp_geo_elements
- wp_geo_field_elements
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_recent-comments
- widget_recent-posts
- geoform_page_id
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- geolib_debugging
- theysaidso_admin_options
- geolib_dbout
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/geoforms/geolib/index.php
- > /wp-content/plugins/geoforms/includedForm.php
- > /wp-content/plugins/geoforms/uninstall.php
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GeoTag' not found in wp-content/plugins/geoforms/geolib/classes/GeoImg.php:26
- > PHP Fatal error
Uncaught Error: Class 'GeoTag' not found in wp-content/plugins/geoforms/geolib/classes/GeoTable.php:26
- > PHP Fatal error
Uncaught Error: Class 'GeoForms' not found in wp-content/plugins/geoforms/classes/GeoFormsAdmin.php:3
- > PHP Fatal error
Uncaught Error: Class 'GeoTag' not found in wp-content/plugins/geoforms/geolib/classes/GeoCell.php:26
- > PHP Fatal error
Uncaught Error: Class 'GeoTag' not found in wp-content/plugins/geoforms/geolib/classes/GeoBody.php:25
- > PHP Fatal error
Uncaught Error: Class 'GeoTag' not found in wp-content/plugins/geoforms/geolib/classes/GeoList.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/geoforms/geoforms.php:41
- > PHP Fatal error
Uncaught Error: Class 'GeoTag' not found in wp-content/plugins/geoforms/geolib/classes/GeoSelect.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/geoforms/admin/geoforms-admin.php:10
- > PHP Fatal error
Uncaught Error: Class 'GeoTag' not found in wp-content/plugins/geoforms/geolib/classes/GeoHtml.php:25
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=geolib-options
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/geoforms/js/geoFormsAdmin.js?ver=1.0.0:240:23)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=geolib-options
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
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
1 plugin tags: forms
geoforms/geoforms.php Passed 13 tests
The entry point to "Geoforms" version 0.1 is a PHP file that has certain tags in its header comment area
40 characters long description:
Create easily adaptable fields and forms
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 plugin5,994 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 1,011 | 2,313 | 5,236 |
CSS | 4 | 104 | 9 | 399 |
JavaScript | 2 | 113 | 41 | 329 |
XML | 1 | 3 | 2 | 19 |
Markdown | 1 | 9 | 0 | 11 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 5.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 35 | 22.44% |
▷ Public methods | 147 | 94.23% |
▷ Protected methods | 1 | 0.64% |
▷ Private methods | 8 | 5.13% |
Functions | 69 | |
▷ Named functions | 69 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
15 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
css/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |