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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.56ms] Passed 4 tests
Analyzing server-side resources used by Advanced Comment Form
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 38.18 ▼6.71 |
Dashboard /wp-admin | 3.37 ▲0.02 | 46.93 ▼9.90 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.70 ▲0.43 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.01 ▼6.04 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.92 ▲2.68 |
Comment Form /wp-admin/edit-comments.php?page=comment-form-customizer | 3.31 | 31.91 |
All Comments /wp-admin/edit-comments.php | 3.36 | 38.70 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Comment Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.75 ▲0.38 | 1.60 ▼0.07 | 38.91 ▼2.69 |
Dashboard /wp-admin | 2,212 ▲34 | 5.64 ▼0.30 | 91.14 ▼14.75 | 39.98 ▼5.56 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.02 ▼0.00 | 38.71 ▼3.21 | 36.28 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.87 ▲0.67 | 691.65 ▼13.83 | 50.53 ▼9.05 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.29 ▲0.08 | 94.41 ▼11.33 | 41.89 ▼3.58 |
Comment Form /wp-admin/edit-comments.php?page=comment-form-customizer | 917 | 2.00 | 22.77 | 38.01 |
All Comments /wp-admin/edit-comments.php | 1,824 | 2.28 | 35.00 | 33.76 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Comment_Form_Main' not found in wp-content/plugins/comment-form/frontend/comment_form_frontend.php:3
- > PHP Fatal error
Uncaught Error: Class 'Comment_Form_Main' not found in wp-content/plugins/comment-form/admin/comment_form_admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
3 plugin tags: form, comments, comment form
comment-form/comment-form.php Passed 13 tests
"Advanced Comment Form" version 1.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
56 characters long description:
Easily customize and optimize the standard comment form.
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
Good job! No executable or dangerous file extensions detected246 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 77 | 200 | 246 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 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 | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected