Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method arete_buddypress_smileys_setting::arete_create_table() should not be called statically
Server metrics [RAM: ▲0.32MB] [CPU: ▼9.32ms] Passed 4 tests
A check of server-side resources used by Activity Reactions For Buddypress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 27.83 ▼14.67 |
Dashboard /wp-admin | 3.60 ▲0.30 | 46.34 ▼4.72 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 47.49 ▲2.26 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.32 | 80.76 ▼20.13 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 38.57 ▲4.86 |
Settings /wp-admin/admin.php?page=activity-reactions-for-buddypress/activity-reactions-for-buddypress.php/ai_bp_settings | 3.50 | 33.09 |
Reactions /wp-admin/admin.php?page=activity-reactions-for-buddypress/activity-reactions-for-buddypress.php/settings | 3.51 | 31.11 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 27 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_arete_buddypress_smileys_manage |
wp_arete_buddypress_smileys |
wp_arete_buddypress_smiley_settings |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
version |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Activity Reactions For Buddypress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,495 ▼276 | 13.55 ▼0.83 | 0.50 ▼1.38 | 17.23 ▼28.40 |
Dashboard /wp-admin | 2,239 ▲51 | 4.94 ▼0.94 | 100.40 ▼14.02 | 81.06 ▲35.94 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 2.07 ▲0.07 | 38.79 ▼5.06 | 31.57 ▲0.85 |
Add New Post /wp-admin/post-new.php | 1,694 ▲161 | 22.53 ▲4.49 | 705.64 ▲82.25 | 72.39 ▲22.74 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.26 ▲0.07 | 102.07 ▲2.93 | 106.10 ▲62.52 |
Settings /wp-admin/admin.php?page=activity-reactions-for-buddypress/activity-reactions-for-buddypress.php/ai_bp_settings | 807 | 1.76 | 24.90 | 22.95 |
Reactions /wp-admin/admin.php?page=activity-reactions-for-buddypress/activity-reactions-for-buddypress.php/settings | 807 | 1.73 | 26.18 | 24.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_arete_buddypress_smileys_manage
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- version
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/activity-reactions-for-buddypress/css/ai_bp_reactions_dynamic_css.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/activity-reactions-for-buddypress/core.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/activity-reactions-for-buddypress/core.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/activity-reactions-for-buddypress/core.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/activity-reactions-for-buddypress/class/class.php:159
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== Activity Reactions For Buddypress===
) - Tags: Please delete some tags, you are using 12 tag instead of maximum 10
activity-reactions-for-buddypress/activity-reactions-for-buddypress.php Passed 13 tests
The main file in "Activity Reactions For Buddypress" v. 1.0.22 serves as a complement to information provided in readme.txt and as the entry point to the plugin
91 characters long description:
A plugin for providing registered users option to show their reactions on activity updates.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected3,969 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 165 | 304 | 3,727 |
JavaScript | 4 | 29 | 12 | 223 |
CSS | 4 | 5 | 4 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 13.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 44 | |
▷ Named functions | 44 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/sad.png | 1.88KB | 2.00KB | 0.00% |
img/unlike.png | 0.72KB | 0.65KB | ▼ 10.53% |
img/like.png | 1.24KB | 1.33KB | 0.00% |
img/love.png | 0.91KB | 1.01KB | 0.00% |
img/haha.png | 1.53KB | 1.63KB | 0.00% |