Benchmarks
Plugin footprint 83% 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.09MB] [CPU: ▼7.75ms] Passed 4 tests
An overview of server-side resources used by WP Activity Log for bbPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.96 ▼11.55 |
Dashboard /wp-admin | 3.41 ▲0.06 | 46.35 ▼9.41 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 47.84 ▲0.96 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 93.96 ▼11.01 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.23 ▲2.88 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Activity Log for bbPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 13.25 ▼1.04 | 1.53 ▼0.43 | 43.16 ▲1.65 |
Dashboard /wp-admin | 2,228 ▲46 | 5.88 ▲0.02 | 105.82 ▲1.67 | 42.76 ▲4.27 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.09 ▲0.09 | 42.67 ▲0.61 | 36.19 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 23.42 ▲5.19 | 751.92 ▲109.28 | 64.52 ▲2.32 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.25 ▲0.02 | 93.48 ▼10.60 | 40.99 ▼1.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-security-audit-log-add-on-for-bbpress/includes/wsal-functions.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-security-audit-log-add-on-for-bbpress/wsal-bbpress.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-security-audit-log-add-on-for-bbpress/wp-security-audit-log/custom-alerts.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (Forms, entries, notifications and other bbPress plugin changes reported in the WordPress activity log.) image missing
wp-security-audit-log-add-on-for-bbpress/wsal-bbpress.php 85% from 13 tests
This is the main PHP file of "WP Activity Log for bbPress" version 1.0.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-security-audit-log-add-on-for-bbpress.php" instead of "wsal-bbpress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin2,857 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 330 | 1,020 | 2,785 |
JavaScript | 1 | 3 | 2 | 72 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
Average class complexity | 48.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 149.00 |
Average method complexity | 6.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 91 | |
▷ Static methods | 35 | 38.46% |
▷ Public methods | 69 | 75.82% |
▷ Protected methods | 1 | 1.10% |
▷ Private methods | 21 | 23.08% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin