Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▼1.48ms] Passed 4 tests
An overview of server-side resources used by Contact Form Clean and Simple
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 42.69 ▼5.23 |
Dashboard /wp-admin | 3.81 ▲0.50 | 49.02 ▲0.37 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 50.12 ▲1.02 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 88.25 ▼2.08 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 41.22 ▲4.63 |
Contact Form /wp-admin/options-general.php?page=contact-form-settings | 3.64 | 46.74 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 165 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
clean-and-simple-contact-form-by-meg-nicholas_review |
widget_recent-posts |
widget_theysaidso_widget |
cscf_version |
cscf_options |
clean-and-simple-contact-form-by-meg-nicholas_donate |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form Clean and Simple
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.62 ▼0.96 | 1.70 ▼0.12 | 42.50 ▼6.24 |
Dashboard /wp-admin | 2,212 ▲21 | 4.85 ▼1.08 | 96.17 ▼8.33 | 39.18 ▼5.38 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.06 ▲0.06 | 35.36 ▲1.51 | 34.77 ▼1.36 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 23.29 ▲5.78 | 663.97 ▼33.23 | 57.78 ▼3.77 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.11 ▼0.12 | 101.26 ▲5.85 | 42.00 ▼3.19 |
Contact Form /wp-admin/options-general.php?page=contact-form-settings | 1,202 | 1.94 | 57.76 | 46.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- clean-and-simple-contact-form-by-meg-nicholas_donate
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- clean-and-simple-contact-form-by-meg-nicholas_review
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
Please take a closer look at the following
- 45× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clean-and-simple-contact-form-by-meg-nicholas/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clean-and-simple-contact-form-by-meg-nicholas/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clean-and-simple-contact-form-by-meg-nicholas/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clean-and-simple-contact-form-by-meg-nicholas/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clean-and-simple-contact-form-by-meg-nicholas/vendor/composer/installers/src/Composer/Installers/AglInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clean-and-simple-contact-form-by-meg-nicholas/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clean-and-simple-contact-form-by-meg-nicholas/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clean-and-simple-contact-form-by-meg-nicholas/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/clean-and-simple-contact-form-by-meg-nicholas/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\Test\\TestCase' not found in wp-content/plugins/clean-and-simple-contact-form-by-meg-nicholas/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: You are using too many tags: 17 tag instead of maximum 10
clean-and-simple-contact-form-by-meg-nicholas/clean-and-simple-contact-form-by-meg-nicholas.php Passed 13 tests
Analyzing the main PHP file in "Contact Form Clean and Simple" version 4.8.0
83 characters long description:
A clean and simple contact form with Google reCAPTCHA and Twitter Bootstrap markup.
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
Good job! No executable or dangerous file extensions detected9,904 lines of code in 107 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 30 | 1,788 | 2,158 | 4,554 |
PHP | 67 | 615 | 979 | 3,410 |
JavaScript | 5 | 294 | 205 | 1,402 |
SVG | 2 | 1 | 1 | 264 |
JSON | 1 | 0 | 0 | 250 |
XML | 1 | 2 | 0 | 23 |
CSS | 1 | 0 | 7 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 6.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 2 | 3.77% |
▷ Concrete classes | 51 | 96.23% |
▷ Final classes | 0 | 0.00% |
Methods | 159 | |
▷ Static methods | 45 | 28.30% |
▷ Public methods | 142 | 89.31% |
▷ Protected methods | 9 | 5.66% |
▷ Private methods | 8 | 5.03% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.00% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 PNG files occupy 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/alanef/plugindonation_lib/images/logos/github.png | 12.70KB | 7.33KB | ▼ 42.30% |
vendor/alanef/plugindonation_lib/images/logos/BCH.png | 12.37KB | 6.01KB | ▼ 51.39% |
vendor/alanef/plugindonation_lib/images/logos/translate.png | 32.90KB | 12.18KB | ▼ 62.98% |
vendor/alanef/plugindonation_lib/images/logos/DOGE.png | 35.94KB | 14.35KB | ▼ 60.06% |
vendor/alanef/plugindonation_lib/images/QRcodes/BMAC.png | 22.62KB | 2.44KB | ▼ 89.23% |