Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.32ms] Passed 4 tests
An overview of server-side resources used by Comment Form WP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.60 ▲1.25 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.51 ▼5.45 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.43 ▼0.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.29 ▼0.30 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.88 ▲2.50 |
Comment Form WP /wp-admin/tools.php?page=comment-form-wp | 3.21 | 36.32 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Comment Form WP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲78 | 13.26 ▼1.32 | 1.69 ▼0.10 | 33.62 ▼13.76 |
Dashboard /wp-admin | 2,217 ▲26 | 4.89 ▼1.01 | 97.15 ▼4.12 | 40.37 ▼1.00 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.05 ▲0.05 | 34.88 ▼4.49 | 32.86 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,524 ▼24 | 23.33 ▲5.30 | 596.34 ▼21.87 | 53.08 ▼0.34 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.24 ▲0.06 | 92.97 ▼13.68 | 44.05 ▼4.04 |
Comment Form WP /wp-admin/tools.php?page=comment-form-wp | 1,397 | 1.99 | 31.88 | 87.68 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/comment-form-wp/form-backend/commentformwp-backend.php
- > /wp-content/plugins/comment-form-wp/comment-form-wp.php
- > /wp-content/plugins/comment-form-wp/form-frontend/commentformwp-frontend.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Screenshot-1.png), #2 (Screenshot-2.png), #3 (Screenshot-3.png), #4 (Screenshot-4.png), #5 (Screenshot-5.png), #6 (Screenshot-6.png), #7 (Screenshot-7.png), #8 (Screenshot-8.png), #9 (Screenshot-9.png), #10 (Screenshot-10.png)
comment-form-wp/comment-form-wp.php 92% from 13 tests
The principal PHP file in "Comment Form WP" v. 1.0.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 164 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected898 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 10 | 8 | 456 |
PHP | 5 | 77 | 85 | 442 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
5 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/website.png | 1.93KB | 1.80KB | ▼ 7.07% |
img/commentformwp-linkedin.png | 0.83KB | 0.78KB | ▼ 5.80% |
img/commentformwp.png | 0.35KB | 0.32KB | ▼ 7.56% |
img/commentformwp-instagram.png | 3.41KB | 1.95KB | ▼ 42.91% |
img/commentformwp-facebook.png | 0.87KB | 0.84KB | ▼ 3.60% |