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
Install script ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼3.60ms] Passed 4 tests
Analyzing server-side resources used by Ajaxed Comments
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 40.63 ▲0.86 |
Dashboard /wp-admin | 3.60 ▲0.30 | 46.21 ▼2.61 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 50.24 ▲3.67 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 93.85 ▼16.32 |
Media Library /wp-admin/upload.php | 3.52 ▲0.30 | 39.87 ▲5.72 |
Ajaxed Comments /wp-admin/options-general.php?page=ajaxed-comments-options | 3.47 | 35.71 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ajaxed Comments
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲162 | 14.00 ▼0.39 | 11.86 ▲10.22 | 47.06 ▲8.36 |
Dashboard /wp-admin | 2,207 ▲22 | 4.88 ▼0.03 | 109.87 ▼6.23 | 40.65 ▼2.87 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.02 | 40.03 ▼1.43 | 33.87 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.19 ▲0.13 | 658.50 ▼35.04 | 52.93 ▼2.13 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.29 ▲0.05 | 93.11 ▼8.61 | 43.17 ▼2.60 |
Ajaxed Comments /wp-admin/options-general.php?page=ajaxed-comments-options | 1,865 | 4.26 | 104.41 | 43.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=ajaxed-comments-options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=ajaxed-comments-options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ajaxed-comments/ajaxed-comments.php:68
- > PHP Fatal error
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
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
ajaxed-comments/ajaxed-comments.php 92% from 13 tests
"Ajaxed Comments" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin3,085 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 240 | 151 | 911 |
PO File | 4 | 381 | 351 | 803 |
CSS | 4 | 37 | 159 | 789 |
JavaScript | 3 | 137 | 20 | 582 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 181.00 |
▷ Minimum class complexity | 181.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 5.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
7 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/icon_sprite.png | 3.14KB | 2.30KB | ▼ 26.70% |
css/images/slider_handles.png | 1.90KB | 1.31KB | ▼ 30.90% |
images/logo-dfactory.png | 2.92KB | 1.92KB | ▼ 34.20% |
css/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/bg_fallback.png | 3.63KB | 0.30KB | ▼ 91.72% |