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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.23ms] Passed 4 tests
This is a short check of server-side resources used by Mouseflow for Wordpress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 45.32 ▼0.86 |
Dashboard /wp-admin | 3.34 ▼0.01 | 57.04 ▼4.95 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.79 ▼13.43 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.92 ▼9.66 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 43.02 ▲4.08 |
Dashboard /wp-admin/admin.php?page=mouseflow-dashboard | 3.23 | 33.60 |
Tracking code /wp-admin/admin.php?page=mouseflow-for-wordpress | 3.23 | 31.20 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
mouseflow_script |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Mouseflow for Wordpress: 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,817 ▲56 | 14.75 ▲0.37 | 1.86 ▲0.18 | 41.89 ▼1.73 |
Dashboard /wp-admin | 2,208 ▲31 | 5.55 ▼0.12 | 97.99 ▲7.73 | 86.58 ▲44.48 |
Posts /wp-admin/edit.php | 2,128 ▲31 | 2.13 ▲0.11 | 34.33 ▼5.92 | 33.52 ▼5.94 |
Add New Post /wp-admin/post-new.php | 1,704 ▲178 | 22.43 ▼0.61 | 708.80 ▲83.67 | 50.94 ▼0.09 |
Media Library /wp-admin/upload.php | 1,425 ▲28 | 4.24 ▼0.05 | 112.73 ▲4.27 | 74.47 ▲27.54 |
Dashboard /wp-admin/admin.php?page=mouseflow-dashboard | 907 | 2.12 | 25.88 | 50.29 |
Tracking code /wp-admin/admin.php?page=mouseflow-for-wordpress | 858 | 2.00 | 24.92 | 40.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- mouseflow_script
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_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
Good news, no errors were detected
SRP 50% 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/mouseflow-for-wordpress/mouseflow-for-wordpress.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in mouseflow-for-wordpress/assets to your readme.txt
mouseflow-for-wordpress/mouseflow-for-wordpress.php 92% from 13 tests
The main file in "Mouseflow for Wordpress" v. 5.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 310 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected269 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 10 | 160 |
CSS | 1 | 1 | 0 | 109 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
mf_logo_black_wp.png | 0.45KB | 0.70KB | 0.00% |
gear_bad.png | 3.62KB | 2.36KB | ▼ 34.75% |
mouseflow_logo.png | 6.92KB | 4.13KB | ▼ 40.28% |
account.png | 5.39KB | 2.76KB | ▼ 48.84% |
support.png | 7.71KB | 2.89KB | ▼ 62.48% |