Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.00ms] Passed 4 tests
Analyzing server-side resources used by Heatclix Analytics
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.95 ▼4.60 |
Dashboard /wp-admin | 3.32 ▲0.01 | 54.89 ▼0.23 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.00 ▼1.79 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 104.85 ▲11.15 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 40.65 ▲6.64 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Heatclix Analytics
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.24 ▼0.49 | 2.31 ▲0.62 | 43.85 ▼4.06 |
Dashboard /wp-admin | 2,206 ▲29 | 5.58 ▼0.07 | 87.53 ▼16.82 | 93.37 ▲50.74 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.98 ▼0.01 | 35.06 ▼3.08 | 34.78 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,552 ▲23 | 22.98 ▼0.34 | 775.85 ▲123.41 | 58.81 ▲3.21 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.21 ▲0.10 | 98.57 ▼2.68 | 74.69 ▲31.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/heatclix-analytics/heatclix-analytics.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/heatclix-analytics/inc/heatclix_plugin_frontend.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/heatclix-analytics/inc/heatclix_plugin_option.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/heatclix-analytics/inc/heatclix_plugin_info.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/heatclix-analytics/inc/heatclix_plugin_menu.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
No tags were detected
heatclix-analytics/heatclix-analytics.php 92% from 13 tests
The primary PHP file in "Heatclix Analytics" version 1.0.8 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 465 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected462 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 57 | 0 | 282 |
PHP | 6 | 29 | 63 | 130 |
PO File | 2 | 4 | 16 | 49 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
8 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/instaicon-grau.png | 2.13KB | 0.95KB | ▼ 55.62% |
assets/img/instaicon.png | 2.18KB | 0.95KB | ▼ 56.57% |
assets/img/fbicon.png | 1.76KB | 0.83KB | ▼ 52.94% |
assets/img/icon.png | 1.51KB | 0.53KB | ▼ 65.29% |
assets/img/twittericon-grau.png | 2.28KB | 1.00KB | ▼ 56.00% |