Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼287.31ms] Passed 4 tests
Server-side resources used by WP Activity Log for Yoast SEO
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.47 | 53.85 ▲27.32 |
Dashboard /wp-admin | 3.52 ▲0.11 | 36.35 ▲2.59 |
Posts /wp-admin/edit.php | 3.74 ▲0.10 | 40.26 ▲3.86 |
Add New Post /wp-admin/post-new.php | 6.98 ▲0.01 | 96.47 ▼1,154.23 |
Media Library /wp-admin/upload.php | 3.39 ▲0.09 | 24.15 ▼1.47 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for WP Activity Log for Yoast SEO
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,818 ▲64 | 16.37 ▲0.43 | 6.12 ▲0.06 | 2.43 ▼0.17 |
Dashboard /wp-admin | 2,914 ▲53 | 6.06 ▼0.14 | 126.29 ▼6.36 | 167.81 ▲8.25 |
Posts /wp-admin/edit.php | 2,718 ▲33 | 3.24 ▲0.00 | 70.82 ▲5.43 | 144.58 ▲1.39 |
Add New Post /wp-admin/post-new.php | 1,685 ▼33 | 15.93 ▼6.49 | 446.51 ▲33.39 | 159.81 ▼2.38 |
Media Library /wp-admin/upload.php | 1,731 ▲36 | 5.56 ▲0.04 | 141.59 ▼4.88 | 183.29 ▼10.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
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)
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > 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:37
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/activity-log-wp-seo/wp-security-audit-log/custom-alerts.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for 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
Analyzing the main PHP file in "WP Activity Log for Yoast SEO" version 1.2.0
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
No dangerous file extensions were detected1,859 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 260 | 497 | 1,787 |
JavaScript | 1 | 3 | 2 | 72 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
Average class complexity | 101.33 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 242.00 |
Average method complexity | 8.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 53.85% |
▷ Protected methods | 11 | 28.21% |
▷ Private methods | 7 | 17.95% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin