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.07MB] [CPU: ▼7.97ms] Passed 4 tests
A check of server-side resources used by Ajaxify Comments - Lazy Load and No Reload Comments
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.17 ▼1.63 |
Dashboard /wp-admin | 3.41 ▲0.06 | 47.67 ▼16.62 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.10 ▼2.73 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 92.58 ▼10.89 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.41 ▲0.27 |
Ajaxify Comments /wp-admin/options-general.php?page=ajaxify-comments | 3.31 | 32.40 |
Server storage [IO: ▲5.59MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 132 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Ajaxify Comments - Lazy Load and No Reload Comments
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.03 ▼0.33 | 1.65 ▼0.09 | 35.67 ▼9.08 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▼0.02 | 96.33 ▼1.33 | 42.54 ▼5.32 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▲0.05 | 41.05 ▲1.27 | 37.09 ▲4.74 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.15 ▼0.03 | 696.49 ▲94.79 | 65.48 ▲15.14 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▲0.03 | 96.28 ▼3.39 | 41.15 ▼3.06 |
Ajaxify Comments /wp-admin/options-general.php?page=ajaxify-comments | 1,118 | 4.01 | 146.99 | 40.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 16× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wp-ajaxify-comments/php/Admin/Tabs/Main.php
- > /wp-content/plugins/wp-ajaxify-comments/php/Admin/Tabs/Selectors.php
- > /wp-content/plugins/wp-ajaxify-comments/php/Admin/Tabs/Lazy_Load.php
- > /wp-content/plugins/wp-ajaxify-comments/php/Admin/Tabs/Labels.php
- > /wp-content/plugins/wp-ajaxify-comments/php/Options.php
- > /wp-content/plugins/wp-ajaxify-comments/functions.php
- > /wp-content/plugins/wp-ajaxify-comments/php/Lazy_Load.php
- > /wp-content/plugins/wp-ajaxify-comments/php/Admin/Tabs/Support.php
- > /wp-content/plugins/wp-ajaxify-comments/php/Menu_Helper.php
- > /wp-content/plugins/wp-ajaxify-comments/php/Admin/Tabs/Appearance.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function DLXPlugins\\WPAC\\plugin_dir_path() in wp-content/plugins/wp-ajaxify-comments/php/Functions.php:517
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: comments, lazy load, ajax, errors, refresh
wp-ajaxify-comments/wp-ajaxify-comments.php Passed 13 tests
Analyzing the main PHP file in "Ajaxify Comments - Lazy Load and No Reload Comments" version 2.1.1
95 characters long description:
Ajaxify Comments hooks into your current theme and adds AJAX functionality to the comment form.
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
No dangerous file extensions were detected10,910 lines of code in 94 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 209 | 157 | 4,240 |
PHP | 27 | 611 | 1,538 | 3,640 |
JavaScript | 18 | 403 | 467 | 1,904 |
PO File | 18 | 393 | 405 | 1,069 |
JSON | 2 | 0 | 0 | 31 |
SVG | 26 | 0 | 0 | 26 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 21.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 161 | |
▷ Static methods | 48 | 29.81% |
▷ Public methods | 159 | 98.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.24% |
Functions | 40 | |
▷ Named functions | 38 | 95.00% |
▷ Anonymous functions | 2 | 5.00% |
Constants | 15 | |
▷ Global constants | 15 | 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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/ajaxify-logo-horizontal.png | 25.41KB | 13.80KB | ▼ 45.70% |