Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.80MB] [CPU: ▲0.48ms] 75% from 4 tests
A check of server-side resources used by User Activity Tracking and Log
It is recommended to improve the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 528.10ms on /wp-admin/admin.php?page=moove-activity-log)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.82 | 42.15 ▲5.85 |
Dashboard /wp-admin | 4.11 ▲0.77 | 52.48 ▼10.92 |
Posts /wp-admin/edit.php | 4.16 ▲0.81 | 54.44 ▲4.20 |
Add New Post /wp-admin/post-new.php | 6.72 ▲0.83 | 102.89 ▲2.81 |
Media Library /wp-admin/upload.php | 4.04 ▲0.81 | 42.86 ▲10.36 |
User Activity Tracking /wp-admin/admin.php?page=moove-activity-log | 4.23 | 528.10 |
Server storage [IO: ▲1.96MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 60 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_moove_activity_log |
New WordPress options |
---|
can_compress_scripts |
moove_importer_has_extras |
widget_theysaidso_widget |
db_upgraded |
moove_importer_has_database |
uat_db_support_request_url |
widget_recent-posts |
moove_post_act |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for User Activity Tracking and Log
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲183 | 13.44 ▼1.16 | 10.04 ▲8.48 | 38.35 ▲2.41 |
Dashboard /wp-admin | 2,250 ▲70 | 5.63 ▼0.02 | 96.48 ▼3.61 | 41.98 ▼4.06 |
Posts /wp-admin/edit.php | 2,155 ▲52 | 2.03 ▲0.07 | 40.47 ▲1.42 | 39.31 ▲4.27 |
Add New Post /wp-admin/post-new.php | 6,331 ▲4,805 | 25.91 ▲2.89 | 824.51 ▲233.60 | 53.93 ▲4.52 |
Media Library /wp-admin/upload.php | 1,458 ▲55 | 4.25 ▲0.06 | 97.14 ▼4.89 | 42.03 ▼1.20 |
User Activity Tracking /wp-admin/admin.php?page=moove-activity-log | 5,804 | 4.98 | 171.61 | 140.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_moove_activity_log
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- moove_post_act
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=moove-activity-log
- > Console-api (warning) in wp-content/plugins/user-activity-tracking-and-log/assets/js/moove_activity_backend.js?ver=4.1.3+425:15
no-filters
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: activity log, statistics, analytics, stats, time tracking
user-activity-tracking-and-log/moove-activity.php 92% from 13 tests
"User Activity Tracking and Log" version 4.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("user-activity-tracking-and-log.php" instead of "moove-activity.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin35,892 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 4,555 | 9,395 | 22,715 |
PHP | 36 | 590 | 1,223 | 5,524 |
CSS | 3 | 130 | 64 | 4,219 |
LESS | 1 | 73 | 6 | 3,197 |
PO File | 1 | 84 | 148 | 237 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 56.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 202.00 |
Average method complexity | 5.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 122 | |
▷ Static methods | 72 | 59.02% |
▷ Public methods | 122 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 65 | |
▷ Named functions | 24 | 36.92% |
▷ Anonymous functions | 41 | 63.08% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
10 PNG files occupy 0.31MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
assets/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
assets/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/images/icon.png | 1.45KB | 1.33KB | ▼ 7.95% |
assets/images/gdpr-promo-wp.png | 302.79KB | 67.10KB | ▼ 77.84% |