Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-includes/class-wp-hook.php+307
Non-static method arete_buddypress_smileys_setting::arete_create_table() should not be called statically
Server metrics [RAM: ▲0.28MB] [CPU: ▼293.41ms] Passed 4 tests
A check of server-side resources used by Activity Reactions For Buddypress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.35 | 50.42 ▼7.06 |
Dashboard /wp-admin | 3.72 ▲0.31 | 34.70 ▲0.38 |
Posts /wp-admin/edit.php | 3.95 ▲0.30 | 37.98 ▼2.85 |
Add New Post /wp-admin/post-new.php | 7.19 ▲0.21 | 94.51 ▼1,164.10 |
Media Library /wp-admin/upload.php | 3.60 ▲0.30 | 26.71 ▲1.11 |
Reactions /wp-admin/admin.php?page=activity-reactions-for-buddypress/activity-reactions-for-buddypress.php/settings | 3.58 | 23.65 |
Settings /wp-admin/admin.php?page=activity-reactions-for-buddypress/activity-reactions-for-buddypress.php/ai_bp_settings | 3.57 | 25.85 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: 3 new tables, 1 new option
New tables |
---|
wp_arete_buddypress_smileys |
wp_arete_buddypress_smileys_manage |
wp_arete_buddypress_smiley_settings |
New WordPress options |
---|
version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Activity Reactions For Buddypress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,236 ▼522 | 16.01 ▼0.04 | 0.32 ▼5.47 | 10.23 ▲7.69 |
Dashboard /wp-admin | 2,930 ▲72 | 6.18 ▲0.01 | 120.17 ▼20.59 | 172.61 ▲3.35 |
Posts /wp-admin/edit.php | 2,730 ▲61 | 3.02 ▼0.21 | 66.66 ▲2.73 | 146.41 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,687 ▲26 | 15.68 ▲0.11 | 403.76 ▼9.86 | 164.24 ▲0.59 |
Media Library /wp-admin/upload.php | 1,719 ▲21 | 5.83 ▲0.29 | 129.71 ▼16.09 | 222.27 ▲33.43 |
Reactions /wp-admin/admin.php?page=activity-reactions-for-buddypress/activity-reactions-for-buddypress.php/settings | 1,017 | 2.42 | 59.68 | 93.85 |
Settings /wp-admin/admin.php?page=activity-reactions-for-buddypress/activity-reactions-for-buddypress.php/ai_bp_settings | 1,015 | 2.44 | 54.72 | 91.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_arete_buddypress_smileys_manage
- Zombie WordPress options detected upon uninstall: 1 option
- version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/activity-reactions-for-buddypress/css/ai_bp_reactions_dynamic_css.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/activity-reactions-for-buddypress/class/class.php:159
- > 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 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
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== Activity Reactions For Buddypress===
)
activity-reactions-for-buddypress/activity-reactions-for-buddypress.php Passed 13 tests
This is the main PHP file of "Activity Reactions For Buddypress" version 1.0.22, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
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 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were 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
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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
Often times overlooked, PNG files can occupy unnecessary space in 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/unlike.png | 0.72KB | 0.65KB | ▼ 10.53% |
img/haha.png | 1.53KB | 1.63KB | 0.00% |
img/thankful.png | 1.49KB | 1.57KB | 0.00% |
img/sad.png | 1.88KB | 2.00KB | 0.00% |
img/cry.png | 2.55KB | 1.75KB | ▼ 31.12% |