Benchmarks
Plugin footprint 65% 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.72MB] [CPU: ▼5.71ms] Passed 4 tests
A check of server-side resources used by WP User Activity
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.19 ▲0.72 | 46.98 ▲10.54 |
Dashboard /wp-admin | 4.04 ▲0.69 | 52.36 ▼7.47 |
Posts /wp-admin/edit.php | 4.09 ▲0.73 | 48.94 ▲1.49 |
Add New Post /wp-admin/post-new.php | 6.62 ▲0.73 | 84.56 ▼23.49 |
Media Library /wp-admin/upload.php | 3.96 ▲0.73 | 42.34 ▲6.63 |
Server storage [IO: ▲0.13MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP User Activity
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲57 | 14.35 ▼0.03 | 1.81 ▲0.18 | 49.51 ▲9.75 |
Dashboard /wp-admin | 2,206 ▲26 | 5.59 ▼0.06 | 91.91 ▲8.07 | 43.27 ▲0.69 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.00 ▼0.01 | 35.32 ▼0.52 | 32.89 ▲1.06 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.00 ▼0.57 | 654.42 ▼4.28 | 53.01 ▼1.01 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.19 ▲0.05 | 95.17 ▲0.70 | 43.26 ▲2.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/wp-user-activity/wp-user-activity/includes/common.php+469
Trying to access array offset on value of type null
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: users, log, activity
wp-user-activity/wp-user-activity.php 92% from 13 tests
The main PHP script in "WP User Activity" version 2.2.0 is automatically included on every request by WordPress
The following require your attention:
- Domain Path: The domain path is invalid: folder "/assets/lang/" does not exist
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
There were no executable files found in this plugin2,629 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 811 | 2,300 | 2,596 |
CSS | 1 | 4 | 0 | 33 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 8.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 1 | 6.67% |
▷ Concrete classes | 14 | 93.33% |
▷ Final classes | 0 | 0.00% |
Methods | 125 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 109 | 87.20% |
▷ Protected methods | 16 | 12.80% |
▷ Private methods | 0 | 0.00% |
Functions | 48 | |
▷ Named functions | 48 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected