Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.05MB] [CPU: ▲22.41ms] Passed 4 tests
A check of server-side resources used by LogDash Activity Log
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.51 ▲1.05 | 68.78 ▲28.22 |
Dashboard /wp-admin | 4.36 ▲1.05 | 81.04 ▲25.65 |
Posts /wp-admin/edit.php | 4.47 ▲1.11 | 79.27 ▲34.40 |
Add New Post /wp-admin/post-new.php | 6.97 ▲1.08 | 117.08 ▲23.14 |
Media Library /wp-admin/upload.php | 4.26 ▲1.03 | 44.30 ▲12.62 |
Settings /wp-admin/admin.php?page=logdash_settings | 4.25 | 65.01 |
Activity Log /wp-admin/admin.php?page=logdash_activity_log | 4.49 | 71.04 |
Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 64 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_logdash_activity_log |
wp_logdash_ip_info |
wp_logdash_activity_meta |
New WordPress options |
---|
widget_recent-posts |
logdash_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for LogDash Activity Log
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲85 | 14.44 ▲0.09 | 2.29 ▲0.59 | 40.96 ▼2.48 |
Dashboard /wp-admin | 2,249 ▲71 | 5.95 ▲0.37 | 119.37 ▲6.82 | 89.57 ▲45.53 |
Posts /wp-admin/edit.php | 2,167 ▲67 | 3.08 ▲1.04 | 47.32 ▲7.34 | 55.49 ▲18.31 |
Add New Post /wp-admin/post-new.php | 1,573 ▲38 | 23.32 ▲5.15 | 712.95 ▲71.28 | 34.89 ▼29.23 |
Media Library /wp-admin/upload.php | 1,446 ▲46 | 5.31 ▲1.10 | 110.99 ▲6.62 | 81.31 ▲37.10 |
Settings /wp-admin/admin.php?page=logdash_settings | 887 | 2.68 | 40.05 | 28.05 |
Activity Log /wp-admin/admin.php?page=logdash_activity_log | 1,333 | 2.66 | 39.32 | 32.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables were found after uninstall: 3 tables
- wp_logdash_ip_info
- wp_logdash_activity_log
- wp_logdash_activity_meta
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- logdash_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'LogDash\\Hooks\\HooksBase' not found in wp-content/plugins/logdash-activity-log/src/Hooks/Meta.php:14
- > PHP Fatal error
Uncaught Error: Class 'LogDash\\Hooks\\HooksBase' not found in wp-content/plugins/logdash-activity-log/src/Hooks/Users.php:16
- > PHP Fatal error
Uncaught Error: Class 'LogDash\\Hooks\\HooksBase' not found in wp-content/plugins/logdash-activity-log/src/Hooks/Themes.php:14
- > PHP Fatal error
Uncaught Error: Class 'LogDash\\Hooks\\HooksBase' not found in wp-content/plugins/logdash-activity-log/src/Hooks/Taxonomies.php:14
- > PHP Fatal error
Uncaught Error: Class 'LogDash\\Template\\Meta\\Label' not found in wp-content/plugins/logdash-activity-log/src/Template/Meta/Before.php:5
- > PHP Fatal error
Uncaught Error: Interface 'LogDash\\Template\\Meta\\LabelInterface' not found in wp-content/plugins/logdash-activity-log/src/Template/Meta/Label.php:5
- > PHP Fatal error
Uncaught Error: Interface 'LogDash\\Template\\Meta\\SpecificationInterface' not found in wp-content/plugins/logdash-activity-log/src/Template/Meta/Specification.php:5
- > PHP Fatal error
Uncaught Error: Class 'LogDash\\Hooks\\HooksBase' not found in wp-content/plugins/logdash-activity-log/src/Hooks/Files.php:12
- > PHP Fatal error
Uncaught Error: Class 'LogDash\\Template\\Meta\\Label' not found in wp-content/plugins/logdash-activity-log/src/Template/Meta/After.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/logdash-activity-log/views/admin/settings.template.php:2
- > 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 Passed 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
9 plugin tags: user log, bbpress, audit log, user activity, activity log...
logdash-activity-log/logdash-activity-log.php Passed 13 tests
The primary PHP file in "LogDash Activity Log" version 1.1.3 is used by WordPress to initiate all plugin functionality
89 characters long description:
The ultimate solution for tracking activities and security issues on your WordPress site.
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 detected21,515 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 16,201 |
PHP | 44 | 1,239 | 468 | 4,338 |
PO File | 1 | 240 | 267 | 601 |
Sass | 1 | 51 | 2 | 199 |
JavaScript | 3 | 36 | 1 | 95 |
JSX | 1 | 12 | 0 | 74 |
SVG | 1 | 0 | 0 | 6 |
CSS | 1 | 1 | 1 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 14.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 33 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 222 | |
▷ Static methods | 34 | 15.32% |
▷ Public methods | 194 | 87.39% |
▷ Protected methods | 3 | 1.35% |
▷ Private methods | 25 | 11.26% |
Functions | 11 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 11 | 100.00% |
Constants | 114 | |
▷ Global constants | 10 | 8.77% |
▷ Class constants | 104 | 91.23% |
▷ Public constants | 104 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin