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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.57MB] [CPU: ▼0.96ms] Passed 4 tests
A check of server-side resources used by SimpleForm Contact Form Submissions
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.56 | 38.92 ▲1.07 |
Dashboard /wp-admin | 3.92 ▲0.61 | 45.07 ▼1.73 |
Posts /wp-admin/edit.php | 3.97 ▲0.61 | 51.05 ▲3.62 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.55 | 90.97 ▼6.51 |
Media Library /wp-admin/upload.php | 3.78 ▲0.55 | 36.14 ▲3.33 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_sform_submissions |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
sform_sub_db_version |
can_compress_scripts |
Browser metrics Passed 4 tests
SimpleForm Contact Form Submissions: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.24 ▼0.29 | 1.88 ▲0.32 | 38.26 ▲1.06 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.04 | 81.94 ▼8.88 | 38.47 ▲1.71 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.08 | 39.92 ▲5.97 | 36.21 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.21 ▲0.24 | 632.75 ▼23.40 | 47.95 ▼6.60 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.18 ▼0.00 | 93.14 ▼3.08 | 40.97 ▼1.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
simpleform-contact-form-submissions/simpleform-submissions.php 77% from 13 tests
The primary PHP file in "SimpleForm Contact Form Submissions" version 2.0.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("simpleform-contact-form-submissions.php" instead of "simpleform-submissions.php")
- Description: Keep the plugin description shorter than 140 characters (currently 175 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("5.6" instead of "5.2")
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
Everything looks great! No dangerous files found in this plugin3,117 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 619 | 615 | 2,486 |
CSS | 1 | 35 | 21 | 367 |
JavaScript | 1 | 15 | 1 | 264 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 99.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 313.00 |
Average method complexity | 10.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 93.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 80 | |
▷ Static methods | 7 | 8.75% |
▷ Public methods | 73 | 91.25% |
▷ Protected methods | 2 | 2.50% |
▷ Private methods | 5 | 6.25% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin