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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼3.07ms] Passed 4 tests
Server-side resources used by WP Activity Log for Yoast SEO
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.06 ▼5.45 |
Dashboard /wp-admin | 3.41 ▲0.11 | 46.84 ▼1.93 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 50.24 ▼0.55 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 88.02 ▼4.35 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.16 ▲3.71 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP Activity Log for Yoast SEO
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.22 ▼1.15 | 4.22 ▲2.12 | 42.10 ▼3.86 |
Dashboard /wp-admin | 2,225 ▲34 | 5.83 ▲0.94 | 104.99 ▼0.41 | 41.91 ▼0.98 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 2.04 ▲0.06 | 42.81 ▲1.53 | 37.34 ▲1.32 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 23.27 ▲0.09 | 675.39 ▲29.40 | 65.59 ▲2.12 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.27 ▲0.06 | 99.90 ▼1.44 | 43.68 ▼1.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/activity-log-wp-seo/activity-log-wp-seo.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/activity-log-wp-seo/wp-security-audit-log/custom-alerts.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #2, #3 in activity-log-wp-seo/assets to your readme.txt
activity-log-wp-seo/activity-log-wp-seo.php Passed 13 tests
This is the main PHP file of "WP Activity Log for Yoast SEO" version 1.3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
48 characters long description:
A WP Activity Log plugin extension for Yoast SEO
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
Good job! No executable or dangerous file extensions detected4,008 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 519 | 933 | 3,936 |
JavaScript | 1 | 3 | 2 | 72 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
Average class complexity | 130.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 296.00 |
Average method complexity | 10.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 28 | 39.44% |
▷ Public methods | 27 | 38.03% |
▷ Protected methods | 13 | 18.31% |
▷ Private methods | 31 | 43.66% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin