Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼8.28ms] Passed 4 tests
Server-side resources used by Amuga Ajax Log
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 37.01 ▼4.45 |
Dashboard /wp-admin | 3.43 ▲0.09 | 49.26 ▼14.32 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 51.32 ▲4.37 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 83.58 ▼18.72 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 38.18 ▲5.87 |
Settings /wp-admin/admin.php?page=amuga_ajax_log_settings | 3.30 | 31.52 |
Amuga Ajax Log /wp-admin/admin.php?page=amuga_ajax_log | 3.32 | 33.52 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_amuga_ajax_log |
New WordPress options |
---|
widget_recent-comments |
amuga_al_db_version |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Amuga Ajax Log: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.20 ▼1.11 | 1.62 ▼0.13 | 40.06 ▼5.19 |
Dashboard /wp-admin | 2,228 ▲40 | 5.76 ▼0.13 | 99.99 ▼8.79 | 40.13 ▼2.65 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.04 ▲0.05 | 39.00 ▼4.26 | 34.54 ▼2.82 |
Add New Post /wp-admin/post-new.php | 1,549 ▲3 | 23.20 ▲5.05 | 692.77 ▲78.91 | 52.78 ▲2.09 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.21 ▼0.04 | 94.17 ▼5.66 | 42.57 ▼2.37 |
Settings /wp-admin/admin.php?page=amuga_ajax_log_settings | 887 | 2.22 | 24.09 | 28.24 |
Amuga Ajax Log /wp-admin/admin.php?page=amuga_ajax_log | 1,039 | 2.02 | 24.18 | 29.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_amuga_ajax_log
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- amuga_al_db_version
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=amuga_ajax_log_settings
- > Notice in wp-content/plugins/amuga-ajax-log/classes/Amuga_AL_Settings.php+260
Trying to access array offset on value of type bool
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: "paypal.me/davepinson"
- Screenshots: These screenshots lack descriptions #1, #2, #3 in amuga-ajax-log/assets to your readme.txt
amuga-ajax-log/amuga-ajax-log.php Passed 13 tests
The principal PHP file in "Amuga Ajax Log" v. 1.0 is loaded by WordPress automatically on each request
48 characters long description:
Log admin-ajax hits for troubleshooting purposes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin729 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 192 | 472 | 661 |
CSS | 1 | 14 | 6 | 68 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 9 | 34.62% |
▷ Public methods | 25 | 96.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.85% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 5 | |
▷ Global constants | 5 | 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
There are no PNG files in this plugin