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.03MB] [CPU: ▼2.15ms] Passed 4 tests
This is a short check of server-side resources used by Aurora Heatmap
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.92 ▲1.82 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.06 ▼6.27 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.23 ▲0.09 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.75 ▼4.25 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 42.76 ▲7.65 |
Aurora Heatmap /wp-admin/options-general.php?page=aurora-heatmap | 3.38 | 32.19 |
Server storage [IO: ▲0.49MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 28 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_ahm_pages |
wp_ahm_events |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
Activated_Plugin |
widget_recent-posts |
aurora_heatmap_option |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Aurora Heatmap
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.48 ▲0.07 | 1.53 ▼0.13 | 37.14 ▼4.06 |
Dashboard /wp-admin | 2,222 ▲15 | 4.87 ▼1.03 | 111.86 ▲3.90 | 42.05 ▼2.04 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.97 ▼0.04 | 39.92 ▲3.90 | 33.41 ▼3.41 |
Add New Post /wp-admin/post-new.php | 1,548 ▲19 | 22.91 ▲5.28 | 594.71 ▼70.03 | 48.68 ▼4.31 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.28 ▼0.12 | 99.53 ▼2.33 | 45.90 ▲2.63 |
Aurora Heatmap /wp-admin/options-general.php?page=aurora-heatmap | 1,101 | 1.90 | 28.69 | 33.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- Activated_Plugin
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 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 Passed 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
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: heatmap, analytics, analyze, click, japanese...
aurora-heatmap/aurora-heatmap.php Passed 13 tests
"Aurora Heatmap" version 1.6.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
94 characters long description:
Beautiful like an aurora! A simple WordPress heatmap that can be completed with just a plugin.
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
Good job! No executable or dangerous file extensions detected7,202 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 4,139 |
PHP | 6 | 302 | 545 | 2,051 |
JavaScript | 10 | 90 | 228 | 580 |
CSS | 1 | 92 | 1 | 432 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 75.33 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 201.00 |
Average method complexity | 3.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 4 | 5.63% |
▷ Public methods | 35 | 49.30% |
▷ Protected methods | 34 | 47.89% |
▷ Private methods | 2 | 2.82% |
Functions | 18 | |
▷ Named functions | 2 | 11.11% |
▷ Anonymous functions | 16 | 88.89% |
Constants | 12 | |
▷ Global constants | 1 | 8.33% |
▷ Class constants | 11 | 91.67% |
▷ Public constants | 11 | 100.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
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/legend_breakaway@2x.png | 1.75KB | 2.39KB | 0.00% |
img/legend_attention@1x.png | 1.13KB | 1.81KB | 0.00% |
img/legend_breakaway@1x.png | 1.10KB | 1.80KB | 0.00% |
img/legend_attention@2x.png | 1.88KB | 2.45KB | 0.00% |
img/legend_click@1x.png | 1.17KB | 1.71KB | 0.00% |