Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼6.30ms] Passed 4 tests
An overview of server-side resources used by heatmap for Wordpress - Realtime analytics
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.45 ▼5.51 |
Dashboard /wp-admin | 3.40 ▲0.09 | 48.01 ▼4.09 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 47.83 ▼2.22 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 86.08 ▼13.38 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.29 ▲1.41 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
heatmapWP_options |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for heatmap for Wordpress - Realtime analytics
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 14.47 ▲0.18 | 1.76 ▼0.33 | 41.06 ▼0.99 |
Dashboard /wp-admin | 2,221 ▲33 | 4.89 ▼1.00 | 109.73 ▼1.22 | 72.13 ▲28.93 |
Posts /wp-admin/edit.php | 2,110 ▲18 | 2.01 ▼0.04 | 39.05 ▼1.70 | 35.52 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,531 ▼11 | 23.11 ▲5.22 | 668.10 ▲61.19 | 49.89 ▼15.59 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.24 ▲0.04 | 96.88 ▼5.04 | 74.45 ▲29.66 |
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 were found after uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- heatmapWP_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 get_option() in wp-content/plugins/heatmap-for-wp/heatmap-for-wp.php:267
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
heatmap-for-wp/heatmap-for-wp.php Passed 13 tests
The primary PHP file in "heatmap for Wordpress - Realtime analytics" version 0.5.2 is used by WordPress to initiate all plugin functionality
88 characters long description:
Real-time analytics and event tracking for your WordPress site (see https://heatmap.com)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected665 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 49 | 418 |
CSS | 2 | 30 | 21 | 243 |
JavaScript | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 47.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 26 | |
▷ Static methods | 1 | 3.85% |
▷ Public methods | 12 | 46.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 53.85% |
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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-16.png | 0.44KB | 0.56KB | 0.00% |
assets/icon-32.png | 0.80KB | 0.98KB | 0.00% |