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.14MB] [CPU: ▼11.93ms] Passed 4 tests
An overview of server-side resources used by Custom Inquiry Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 38.53 ▲0.32 |
Dashboard /wp-admin | 3.45 ▲0.10 | 48.35 ▼14.25 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 45.58 ▼8.45 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 81.32 ▼25.33 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 40.33 ▲5.05 |
Inquiry Listing /wp-admin/admin.php?page=wp-custom-inquiry-listing | 3.34 | 33.04 |
Inquiry Settings /wp-admin/admin.php?page=wp_inquiry_settings | 3.34 | 31.55 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 26 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_custom_inquiry_az |
New WordPress options |
---|
widget_az_custom_inquiry |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Inquiry Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲181 | 13.74 ▼0.66 | 7.51 ▲5.96 | 38.69 ▼4.44 |
Dashboard /wp-admin | 2,222 ▲41 | 5.65 ▼0.06 | 87.48 ▼7.76 | 38.10 ▼2.80 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 1.98 ▼0.04 | 32.59 ▼6.08 | 34.99 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 22.84 ▼0.56 | 670.60 ▲8.27 | 48.89 ▼5.13 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.21 ▲0.12 | 107.43 ▲0.61 | 47.48 ▲0.34 |
Inquiry Listing /wp-admin/admin.php?page=wp-custom-inquiry-listing | 998 | 2.03 | 24.28 | 27.96 |
Inquiry Settings /wp-admin/admin.php?page=wp_inquiry_settings | 863 | 2.00 | 22.26 | 29.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_custom_inquiry_az
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_az_custom_inquiry
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/custom-inquiry-form/includes/class-custom-inquiry-list-table.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/custom-inquiry-form/admin/partials/custom-inquiry-form-admin-display.php:193
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-inquiry-form/includes/class-ajax-callback.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-inquiry-form/includes/class-custom-inquiry-widget.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/custom-inquiry-form/includes/class-custom-inquiry-list-table.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/custom-inquiry-form/includes/class-custom-inquiry-list-table.php on line 4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: inquiry, form, contact
custom-inquiry-form/custom-inquiry-form.php Passed 13 tests
This is the main PHP file of "Custom Inquiry Form" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
77 characters long description:
Wordpress custom Inquiry for users inquiry with option page listed inquiries.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin754 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 178 | 610 | 583 |
CSS | 2 | 9 | 20 | 136 |
JavaScript | 2 | 4 | 54 | 35 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 2 | 3.92% |
▷ Public methods | 45 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 11.76% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin