Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼4.21ms] Passed 4 tests
An overview of server-side resources used by Comments Engine AI
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 42.33 ▲2.54 |
Dashboard /wp-admin | 3.45 ▲0.11 | 50.29 ▼12.86 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 49.83 ▼2.49 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 93.27 ▼4.04 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 39.20 ▲4.99 |
All Comments /wp-admin/edit-comments.php | 3.44 | 44.23 |
Comments Engine AI /wp-admin/edit-comments.php?page=cea_comments | 3.39 | 34.70 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Comments Engine AI
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲78 | 14.35 ▼0.21 | 1.82 ▲0.04 | 43.34 ▲1.15 |
Dashboard /wp-admin | 2,233 ▲62 | 5.62 ▲0.04 | 92.78 ▼1.22 | 42.63 ▲2.68 |
Posts /wp-admin/edit.php | 2,135 ▲38 | 2.20 ▲0.25 | 36.93 ▲0.68 | 34.42 ▼0.44 |
Add New Post /wp-admin/post-new.php | 6,444 ▲4,913 | 26.34 ▲3.25 | 971.74 ▲300.16 | 42.78 ▼17.50 |
Media Library /wp-admin/upload.php | 1,438 ▲35 | 4.34 ▲0.16 | 99.05 ▲0.65 | 43.34 ▼2.30 |
All Comments /wp-admin/edit-comments.php | 1,842 | 2.39 | 37.71 | 38.55 |
Comments Engine AI /wp-admin/edit-comments.php?page=cea_comments | 1,251 | 1.83 | 27.33 | 28.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- 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 perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/comments-engine-ai/public/partials/comments-engine-ai-public-display.php
- > /wp-content/plugins/comments-engine-ai/admin/partials/comments-engine-ai-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Comments Engine AI : Plugin Setup), #2 (Comments Engine AI : MetaBox to generate comments), #3 (Comments Engine AI : Comments generated)
comments-engine-ai/comments-engine-ai.php 92% from 13 tests
The principal PHP file in "Comments Engine AI" v. 1.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 234 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,109 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 198 | 508 | 630 |
PO File | 1 | 124 | 131 | 277 |
JavaScript | 2 | 35 | 46 | 116 |
CSS | 3 | 26 | 13 | 86 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 7.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 26 | 74.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 25.71% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
5 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 5.78KB | 5.77KB | 0.10% |
screenshot-1.png | 19.85KB | 19.73KB | ▼ 0.62% |
admin/css/images/ui-icons_444444_256x240.png | 6.97KB | 4.18KB | ▼ 40.04% |
admin/img/generate.png | 0.46KB | 0.66KB | 0.00% |
screenshot-3.png | 20.24KB | 20.33KB | 0.00% |