Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.88ms] Passed 4 tests
Analyzing server-side resources used by Responsive Mailform
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 36.58 ▼5.17 |
Dashboard /wp-admin | 3.39 ▲0.08 | 48.29 ▼7.03 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.78 ▼2.81 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 95.19 ▼4.51 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.96 ▲1.84 |
Responsive Mailform /wp-admin/options-general.php?page=responsive-mailform | 3.28 | 33.29 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 20 new options
New WordPress options |
---|
calendar_library |
spam_check |
thanks_body |
widget_recent-posts |
min-time |
widget_recent-comments |
db_upgraded |
reply_mail |
send_address |
domain_name |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Responsive Mailform
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲98 | 13.49 ▼0.73 | 8.73 ▲6.71 | 41.84 ▼3.19 |
Dashboard /wp-admin | 2,193 ▲16 | 5.51 ▼0.09 | 90.92 ▼8.79 | 37.76 ▼5.74 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.05 | 40.47 ▲4.88 | 36.11 ▲0.84 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 18.31 ▼5.13 | 620.95 ▼79.66 | 77.75 ▲25.58 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.14 ▼0.03 | 100.48 ▼2.57 | 45.47 ▼1.48 |
Responsive Mailform /wp-admin/options-general.php?page=responsive-mailform | 2,064 | 2.23 | 48.22 | 142.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/responsive-mailform/mailform.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-mailform/responsive-mailform.php:41
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Contributors: The plugin contributors field is not present
responsive-mailform/responsive-mailform.php Passed 13 tests
The primary PHP file in "Responsive Mailform" version 1.4 is used by WordPress to initiate all plugin functionality
64 characters long description:
WordPress用のレスポンシブ メールフォームです。
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin3,574 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 298 | 92 | 2,240 |
PHP | 3 | 250 | 25 | 678 |
CSS | 2 | 135 | 24 | 656 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin