Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.87ms] Passed 4 tests
Analyzing server-side resources used by Comments Evolved for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 38.13 ▼2.84 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.03 ▼5.01 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.32 ▲6.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 97.30 ▲4.06 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.47 ▲0.31 |
Comments Evolved /wp-admin/options-general.php?page=comments-evolved | 3.23 | 31.83 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
comments-evolved |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Comments Evolved for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,952 ▲217 | 13.77 ▼0.83 | 5.90 ▲4.02 | 71.55 ▲26.56 |
Dashboard /wp-admin | 2,210 ▲22 | 6.04 ▲0.97 | 107.47 ▼11.70 | 50.87 ▲7.34 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.04 | 39.00 ▲2.35 | 41.27 ▲7.24 |
Add New Post /wp-admin/post-new.php | 1,517 ▲106 | 23.39 ▲5.45 | 620.37 ▼1.45 | 61.80 ▲5.14 |
Media Library /wp-admin/upload.php | 1,389 ▲7 | 4.19 ▼0.04 | 102.56 ▲0.93 | 38.29 ▼4.47 |
Comments Evolved /wp-admin/options-general.php?page=comments-evolved | 1,025 | 1.81 | 26.03 | 34.15 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- comments-evolved
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: There are too many tags (17 tag instead of maximum 10)
gplus-comments/comments-evolved.php 85% from 13 tests
"Comments Evolved for WordPress" version 1.6.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 146 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("gplus-comments.php" instead of "comments-evolved.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin2,123 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 238 | 328 | 1,794 |
LESS | 1 | 29 | 1 | 180 |
CSS | 2 | 27 | 11 | 149 |
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.48 |
Average class complexity | 164.50 |
▷ Minimum class complexity | 131.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 4.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.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 | 85 | |
▷ Static methods | 1 | 1.18% |
▷ Public methods | 69 | 81.18% |
▷ Protected methods | 16 | 18.82% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 20 | 86.96% |
▷ Anonymous functions | 3 | 13.04% |
Constants | 30 | |
▷ Global constants | 30 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
15 PNG files occupy 0.08MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icons/monotone/gplus.png | 0.25KB | 0.47KB | 0.00% |
assets/images/icons/monotone/facebook.png | 0.63KB | 0.72KB | 0.00% |
assets/images/ui_tab_arrow_h.png | 0.11KB | 0.13KB | 0.00% |
assets/images/icons/default/livefyre.png | 6.80KB | 0.78KB | ▼ 88.54% |
assets/images/icons/monotone/wordpress.png | 2.08KB | 2.47KB | 0.00% |