Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.26ms] Passed 4 tests
Analyzing server-side resources used by WP Blame
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.74 ▲0.41 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.45 ▼8.79 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.10 ▲6.49 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.19 ▼15.03 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 36.35 ▲2.38 |
Logs /wp-admin/tools.php?page=wpb_logs | 3.39 | 33.97 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_logs |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
wpb_user_whitelist |
widget_recent-posts |
wpb_logs_per_page |
Browser metrics Passed 4 tests
Checking browser requirements for WP Blame
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.27 ▼0.30 | 1.64 ▼0.25 | 38.74 ▼5.14 |
Dashboard /wp-admin | 2,202 ▲22 | 5.58 ▼0.10 | 88.75 ▲0.75 | 40.22 ▼3.36 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.05 | 39.56 ▼0.22 | 33.60 ▼0.31 |
Add New Post /wp-admin/post-new.php | 1,538 ▲9 | 18.53 ▼4.68 | 650.81 ▲3.02 | 66.52 ▲14.24 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.22 ▼0.04 | 96.93 ▼3.79 | 45.06 ▼0.25 |
Logs /wp-admin/tools.php?page=wpb_logs | 991 | 2.01 | 26.94 | 31.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/tools.php?page=wpb_logs
- > Warning in wp-content/plugins/wp-blame/class-log-list.php+371
Division by zero
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: history, audit, logs, security
wp-blame/wp-blame.php Passed 13 tests
"WP Blame" version 2.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
46 characters long description:
Keep a record of the activity on your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin739 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 356 | 449 | 596 |
Markdown | 2 | 90 | 0 | 143 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 26.67 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 24 | 57.14% |
▷ Public methods | 42 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected