Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼148.53ms] Passed 4 tests
Analyzing server-side resources used by MouseStats Tracking Script
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 38.85 ▲16.97 |
Dashboard /wp-admin | 3.07 ▲0.02 | 50.39 ▼6.19 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 47.61 ▼3.60 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 94.56 ▼580.45 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 30.45 ▼3.87 |
MouseStats Tracking Script /wp-admin/options-general.php?page=mousestats-tracking-script | 2.98 | 32.97 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ms_account_id |
Browser metrics Passed 4 tests
An overview of browser requirements for MouseStats Tracking Script
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 15.80 ▲0.24 | 9.78 ▲0.84 | 50.69 ▲4.04 |
Dashboard /wp-admin | 2,972 ▲41 | 5.87 ▼0.12 | 146.56 ▼9.48 | 114.55 ▼0.72 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▼0.01 | 71.84 ▲5.44 | 95.57 ▼6.73 |
Add New Post /wp-admin/post-new.php | 1,501 ▼182 | 19.03 ▲0.27 | 388.77 ▼19.37 | 115.44 ▲4.37 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.06 ▲0.06 | 153.95 ▼1.73 | 131.39 ▼3.84 |
MouseStats Tracking Script /wp-admin/options-general.php?page=mousestats-tracking-script | 1,073 | 2.21 | 57.73 | 66.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× 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/mousestats-tracking-script/mousestats-tracking-script.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: analytics, formanalytics, tracking, recording, mousestats...
mousestats-tracking-script/mousestats-tracking-script.php 92% from 13 tests
This is the main PHP file of "MouseStats Tracking Script" version 0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 161 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin66 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 6 | 9 | 66 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 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
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