Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.59ms] Passed 4 tests
Server-side resources used by Ajaxify WP Post Comment Form
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.20 ▼1.28 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.47 ▲0.80 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.40 ▼1.17 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 85.26 ▼17.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.69 ▼2.46 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 17 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_ajaxify_wp_post_comments_form |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Ajaxify WP Post Comment Form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲134 | 13.47 ▼0.88 | 11.94 ▲10.11 | 40.82 ▼2.45 |
Dashboard /wp-admin | 2,214 ▲37 | 5.57 ▼0.01 | 95.87 ▲10.00 | 40.66 ▲0.06 |
Posts /wp-admin/edit.php | 2,119 ▲16 | 2.02 ▲0.01 | 40.04 ▲0.45 | 35.56 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.73 ▲0.65 | 665.92 ▲57.34 | 77.85 ▲24.05 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.18 ▼0.04 | 97.18 ▼5.07 | 43.58 ▼2.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: post comment form
ajaxify-wp-post-comment-form/ajaxify-wp-post-comment-form.php Passed 13 tests
The primary PHP file in "Ajaxify WP Post Comment Form" version 1.8 is used by WordPress to initiate all plugin functionality
50 characters long description:
Submit Post comment form using Ajax functionality.
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
Success! There were no dangerous files found in this plugin487 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 32 | 105 | 214 |
CSS | 2 | 4 | 9 | 157 |
JavaScript | 2 | 7 | 34 | 116 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 1.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 7 | |
▷ Static methods | 2 | 28.57% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/common-post-form.png | 9.80KB | 5.61KB | ▼ 42.71% |