Benchmarks
Plugin footprint 65% 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 gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▼4.14ms] Passed 4 tests
An overview of server-side resources used by Contact Form Query
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 42.48 ▲6.62 |
Dashboard /wp-admin | 3.58 ▲0.23 | 50.83 ▼8.37 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 47.99 ▼0.46 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 82.73 ▼14.34 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 43.33 ▲8.77 |
Settings /wp-admin/admin.php?page=stcfq_settings | 3.54 | 36.53 |
Messages /wp-admin/admin.php?page=stcfq_messages | 3.52 | 35.50 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 48 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_stcfq_queries |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Contact Form Query: 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,902 ▲116 | 14.73 ▲0.44 | 1.64 ▼0.13 | 42.30 ▲4.32 |
Dashboard /wp-admin | 2,275 ▲98 | 5.65 ▲0.04 | 97.35 ▲12.68 | 42.94 ▲1.32 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.13 ▲0.15 | 33.58 ▼8.19 | 33.41 ▼6.22 |
Add New Post /wp-admin/post-new.php | 1,723 ▲197 | 22.36 ▼0.75 | 683.53 ▲17.21 | 46.09 ▼11.11 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.18 ▼0.05 | 97.35 ▲5.54 | 39.52 ▼3.39 |
Settings /wp-admin/admin.php?page=stcfq_settings | 1,659 | 2.27 | 33.37 | 45.70 |
Messages /wp-admin/admin.php?page=stcfq_messages | 1,087 | 2.17 | 29.15 | 40.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_stcfq_queries
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: form, notification, message, entry, contact form...
contact-form-query/contact-form-query.php Passed 13 tests
The main file in "Contact Form Query" v. 1.7.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
136 characters long description:
Add a contact form and receive new message notifications directly to your WordPress admin and to your email. Search and filter messages.
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
Success! There were no dangerous files found in this plugin4,751 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 483 | 52 | 2,659 |
CSS | 11 | 237 | 6 | 1,179 |
JavaScript | 4 | 35 | 11 | 504 |
PO File | 1 | 171 | 215 | 395 |
JSON | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 32.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 5.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 64 | |
▷ Static methods | 61 | 95.31% |
▷ Public methods | 61 | 95.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.69% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin